Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00105/0.00105, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001062/0.001062, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9633/0.9633, allocations: 177.1 MB / 202.8 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.2/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.2/package.mo): time 0.03102/0.03102, allocations: 6.191 MB / 265.4 MB, free: 7.289 MB / 250.7 MB " [Timeout remaining time 180] Using package VehicleInterfaces with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.2/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads,fileNamePrefix="VehicleInterfaces_VehicleInterfaces_Roads_Examples_CheckFunctionDifferentiation_FlatRoads",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads,fileNamePrefix="VehicleInterfaces_VehicleInterfaces_Roads_Examples_CheckFunctionDifferentiation_FlatRoads",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.432e-06/1.432e-06, allocations: 3.938 kB / 391 MB, free: 5.617 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.891e-05/2.034e-05, allocations: 2.281 kB / 391 MB, free: 5.613 MB / 314.7 MB Notification: Performance of NFInst.instantiate(VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads): time 0.005232/0.005252, allocations: 4.987 MB / 396 MB, free: 0.5938 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.00272/0.007972, allocations: 1.873 MB / 397.9 MB, free: 14.71 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002364/0.008208, allocations: 19.94 kB / 397.9 MB, free: 14.7 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001089/0.009297, allocations: 430 kB / 398.3 MB, free: 14.27 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009442/0.01024, allocations: 0.7348 MB / 399.1 MB, free: 13.54 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001558/0.0104, allocations: 99.62 kB / 399.2 MB, free: 13.44 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001087/0.01148, allocations: 1.544 MB / 400.7 MB, free: 11.89 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002983/0.01178, allocations: 369.4 kB / 401.1 MB, free: 11.52 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005079/0.01229, allocations: 0.7207 MB / 401.8 MB, free: 10.8 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007867/0.01308, allocations: 0.7596 MB / 402.5 MB, free: 10.04 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001171/0.01319, allocations: 80 kB / 402.6 MB, free: 9.957 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004328/0.01363, allocations: 335.4 kB / 402.9 MB, free: 9.629 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005219/0.01415, allocations: 0.7398 MB / 403.7 MB, free: 8.887 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006848/0.01483, allocations: 422.2 kB / 404.1 MB, free: 8.473 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001664/0.0165, allocations: 2.662 MB / 406.8 MB, free: 5.801 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.0165, allocations: 0 / 406.8 MB, free: 5.801 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.655e-06/0.01651, allocations: 0 / 406.8 MB, free: 5.801 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.585e-05/0.01655, allocations: 0 / 406.8 MB, free: 5.801 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 763 * Number of variables: 763 Notification: Performance of Generate backend data structure: time 0.00234/0.01889, allocations: 2.092 MB / 408.9 MB, free: 3.664 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.523e-05/0.01894, allocations: 8.031 kB / 408.9 MB, free: 3.656 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003739/0.01931, allocations: 373.5 kB / 409.2 MB, free: 3.281 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004055/0.02337, allocations: 1.513 MB / 410.7 MB, free: 1.766 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001757/0.02512, allocations: 0.8058 MB / 411.5 MB, free: 0.9297 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.365e-05/0.02521, allocations: 90.09 kB / 411.6 MB, free: 0.8398 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006694/0.02588, allocations: 255.7 kB / 411.9 MB, free: 0.5898 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.206/0.2319, allocations: 5.034 MB / 416.9 MB, free: 28.51 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.229e-05/0.232, allocations: 32.11 kB / 416.9 MB, free: 28.49 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001334/0.2321, allocations: 60.17 kB / 417 MB, free: 28.48 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00161/0.2337, allocations: 1.154 MB / 418.2 MB, free: 28.28 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005779/0.2395, allocations: 4.297 MB / 422.5 MB, free: 26.96 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01166/0.2511, allocations: 19.93 MB / 442.4 MB, free: 11.4 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009234/0.2521, allocations: 0.8244 MB / 443.2 MB, free: 10.99 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003084/0.2524, allocations: 405.8 kB / 443.6 MB, free: 10.79 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.859e-05/0.2524, allocations: 8.438 kB / 443.6 MB, free: 10.79 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.538e-05/0.2524, allocations: 46.84 kB / 443.7 MB, free: 10.74 MB / 330.7 MB Notification: Performance of pre-optimization done (n=85): time 2.896e-06/0.2524, allocations: 0 / 443.7 MB, free: 10.74 MB / 330.7 MB Notification: Performance of matching and sorting (n=114): time 0.003294/0.2557, allocations: 3.998 MB / 447.7 MB, free: 6.875 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.185e-05/0.2557, allocations: 140.5 kB / 447.8 MB, free: 6.707 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001623/0.2574, allocations: 2.561 MB / 450.4 MB, free: 4.168 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.981e-05/0.2574, allocations: 41.14 kB / 450.4 MB, free: 4.125 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000486/0.2579, allocations: 1.811 MB / 452.2 MB, free: 2.328 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002252/0.2581, allocations: 465.1 kB / 452.7 MB, free: 1.883 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000495/0.2586, allocations: 0.8103 MB / 453.5 MB, free: 1.066 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.811e-05/0.2587, allocations: 357.9 kB / 453.8 MB, free: 0.7109 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001116/0.2598, allocations: 1.278 MB / 455.1 MB, free: 15.43 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002673/0.2624, allocations: 3.9 MB / 459 MB, free: 10.21 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004516/0.267, allocations: 5.665 MB / 464.7 MB, free: 3.254 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.453e-05/0.267, allocations: 24 kB / 464.7 MB, free: 3.23 MB / 346.7 MB Notification: Performance of matching and sorting (n=539) (initialization): time 0.004812/0.2718, allocations: 4.972 MB / 469.7 MB, free: 14.26 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.108e-05/0.2718, allocations: 51.94 kB / 469.7 MB, free: 14.21 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006458/0.2725, allocations: 0.7634 MB / 470.5 MB, free: 13.44 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001604/0.2726, allocations: 124 kB / 470.6 MB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001489/0.2741, allocations: 0.9395 MB / 471.5 MB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.546e-05/0.2742, allocations: 183.9 kB / 471.7 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001262/0.2755, allocations: 223.6 kB / 471.9 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001976/0.2757, allocations: 252 kB / 472.2 MB, free: 11.73 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 425 * Number of states: 0 () * Number of discrete variables: 12 (world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (509): * Single equations (assignments): 503 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00154/0.2772, allocations: 1.206 MB / 473.4 MB, free: 10.52 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001677/0.2774, allocations: 206.6 kB / 473.6 MB, free: 10.31 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002343/0.2776, allocations: 259 kB / 473.8 MB, free: 10.06 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0006641/0.2783, allocations: 0.7208 MB / 474.6 MB, free: 9.332 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.168e-05/0.2783, allocations: 7.938 kB / 474.6 MB, free: 9.324 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.036e-06/0.2783, allocations: 3.984 kB / 474.6 MB, free: 9.32 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003279/0.2816, allocations: 3.082 MB / 477.7 MB, free: 6.07 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.798e-06/0.2816, allocations: 8 kB / 477.7 MB, free: 6.062 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002947/0.2819, allocations: 155.7 kB / 477.8 MB, free: 5.91 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.122e-05/0.2819, allocations: 12 kB / 477.8 MB, free: 5.898 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.623e-05/0.2819, allocations: 27.98 kB / 477.9 MB, free: 5.871 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-05/0.2819, allocations: 20.44 kB / 477.9 MB, free: 5.852 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.923e-06/0.282, allocations: 11.94 kB / 477.9 MB, free: 5.84 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001242/0.2832, allocations: 1.708 MB / 479.6 MB, free: 4 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001946/0.2834, allocations: 210.4 kB / 479.8 MB, free: 3.793 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001092/0.2835, allocations: 32.84 kB / 479.8 MB, free: 3.762 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003514/0.2839, allocations: 43.95 kB / 479.9 MB, free: 3.719 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.618e-05/0.2839, allocations: 83.66 kB / 480 MB, free: 3.637 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004266/0.2844, allocations: 47.98 kB / 480 MB, free: 3.59 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001417/0.2858, allocations: 1.474 MB / 481.5 MB, free: 2.098 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.2858, allocations: 3.938 kB / 481.5 MB, free: 2.094 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001843/0.2876, allocations: 0.5077 MB / 482 MB, free: 1.586 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 78 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001766/0.2894, allocations: 2.357 MB / 484.4 MB, free: 15.08 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00281/0.2922, allocations: 2.685 MB / 487 MB, free: 12.42 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.2922, allocations: 0.8125 kB / 487 MB, free: 12.42 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007028/0.2929, allocations: 0.4974 MB / 487.5 MB, free: 11.92 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001053/0.294, allocations: 208.5 kB / 487.7 MB, free: 11.72 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02244/0.3164, allocations: 25.5 MB / 0.5012 GB, free: 14.61 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001205/0.3176, allocations: 1.353 MB / 0.5025 GB, free: 13.22 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001833/0.3194, allocations: 1.408 MB / 0.5039 GB, free: 11.81 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006917/0.3201, allocations: 0.8401 MB / 0.5047 GB, free: 10.97 MB / 410.7 MB Notification: Performance of SimCode: time 1.012e-06/0.3201, allocations: 4 kB / 0.5047 GB, free: 10.96 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04775/0.3679, allocations: 31.69 MB / 0.5357 GB, free: 11.72 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.788/9.156, allocations: 22.19 kB / 0.5357 GB, free: 11.71 MB / 442.7 MB " [Timeout remaining time 651] (rm -f VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads.pipe ; mkfifo VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads.pipe ; head -c 1048576 < VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads.pipe >> ../files/VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads.sim & python3 -m fmpy simulate --output-file VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 VehicleInterfaces_VehicleInterfaces_Roads_Examples_CheckFunctionDifferentiation_FlatRoads.fmu > VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.157527823932469] Failed to read output from testmodel.py, exit status != 0: 9.255218788981438 9.264233298 9.245896034 Calling exit ...