Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001264/0.001264, allocations: 109.4 kB / 19.8 MB, free: 2.516 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001427/0.001427, allocations: 219 kB / 23 MB, free: 5.609 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.388/1.388, allocations: 230.2 MB / 256.2 MB, free: 8.688 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2241/0.2241, allocations: 46.9 MB / 359.4 MB, free: 4.895 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Damper2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_Damper2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Damper2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_Damper2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002238/0.002238, allocations: 87.86 kB / 0.4942 GB, free: 8.965 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3143/0.3166, allocations: 65.99 MB / 0.5586 GB, free: 5.102 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper2): time 0.01809/0.3346, allocations: 16.25 MB / 0.5745 GB, free: 4.781 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01124/0.3459, allocations: 5.063 MB / 0.5794 GB, free: 15.68 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002828/0.3487, allocations: 99.75 kB / 0.5795 GB, free: 15.59 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0103/0.359, allocations: 5.249 MB / 0.5847 GB, free: 10.32 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007314/0.3663, allocations: 2.544 MB / 0.5871 GB, free: 7.766 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003291/0.3696, allocations: 1.189 MB / 0.5883 GB, free: 6.574 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01158/0.3812, allocations: 6.723 MB / 0.5949 GB, free: 15.84 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0101/0.3913, allocations: 4.7 MB / 0.5995 GB, free: 11.06 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005163/0.3965, allocations: 2.605 MB / 0.602 GB, free: 8.445 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006503/0.403, allocations: 3.961 MB / 0.6059 GB, free: 4.473 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002273/0.4052, allocations: 0.5781 MB / 0.6064 GB, free: 3.895 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004012/0.4093, allocations: 1.299 MB / 0.6077 GB, free: 2.594 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005147/0.4144, allocations: 3.3 MB / 0.6109 GB, free: 15.29 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00745/0.4219, allocations: 3.682 MB / 0.6145 GB, free: 11.58 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01572/0.4376, allocations: 11.19 MB / 0.6255 GB, free: 348 kB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.201e-06/0.4376, allocations: 0 / 0.6255 GB, free: 348 kB / 462.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.4376, allocations: 0 / 0.6255 GB, free: 348 kB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0004391/0.438, allocations: 0 / 0.6255 GB, free: 348 kB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2522 * Number of variables: 2522 Notification: Performance of Generate backend data structure: time 0.01874/0.4568, allocations: 7.897 MB / 0.6332 GB, free: 8.344 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.794e-05/0.4568, allocations: 19.95 kB / 0.6332 GB, free: 8.324 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002822/0.4596, allocations: 1.183 MB / 0.6343 GB, free: 7.133 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01071/0.4703, allocations: 2.664 MB / 0.6369 GB, free: 4.461 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008737/0.4791, allocations: 4.276 MB / 0.6411 GB, free: 128 kB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004313/0.4795, allocations: 439 kB / 0.6415 GB, free: 15.7 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001845/0.4814, allocations: 0.5544 MB / 0.6421 GB, free: 15.14 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0419/0.5233, allocations: 19.78 MB / 0.6614 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002419/0.5235, allocations: 79.38 kB / 0.6615 GB, free: 10.15 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001137/0.5246, allocations: 267.8 kB / 0.6617 GB, free: 9.887 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005293/0.5299, allocations: 3.157 MB / 0.6648 GB, free: 6.727 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03903/0.569, allocations: 15.91 MB / 0.6803 GB, free: 6.785 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3389/0.9078, allocations: 63.93 MB / 0.7428 GB, free: 112.9 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01548/0.9233, allocations: 6.208 MB / 0.7488 GB, free: 112.2 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002725/0.926, allocations: 1.927 MB / 0.7507 GB, free: 112.1 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0122/0.9382, allocations: 9.228 MB / 0.7597 GB, free: 108.6 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01228/0.9505, allocations: 4.191 MB / 0.7638 GB, free: 107.1 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=260): time 5.701e-06/0.9505, allocations: 0 / 0.7638 GB, free: 107.1 MB / 0.5606 GB Notification: Performance of matching and sorting (n=294): time 0.04949/1, allocations: 21.97 MB / 0.7853 GB, free: 87.63 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.335e-05/1, allocations: 170 kB / 0.7854 GB, free: 87.44 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005926/1.006, allocations: 5.805 MB / 0.7911 GB, free: 81.66 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0004523/1.006, allocations: 69.69 kB / 0.7912 GB, free: 81.59 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0025/1.009, allocations: 5.13 MB / 0.7962 GB, free: 76.48 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009027/1.01, allocations: 1.18 MB / 0.7973 GB, free: 75.31 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00159/1.011, allocations: 1.818 MB / 0.7991 GB, free: 73.48 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.068e-05/1.011, allocations: 305.1 kB / 0.7994 GB, free: 73.18 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003349/1.015, allocations: 2.646 MB / 0.802 GB, free: 70.53 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005229/1.02, allocations: 8.211 MB / 0.81 GB, free: 59.72 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01015/1.03, allocations: 11.81 MB / 0.8215 GB, free: 45.45 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001281/1.03, allocations: 59.94 kB / 0.8216 GB, free: 45.39 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1200) (initialization): time 0.01634/1.047, allocations: 10.61 MB / 0.832 GB, free: 34.77 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001205/1.047, allocations: 121.7 kB / 0.8321 GB, free: 34.64 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001594/1.047, allocations: 196 kB / 0.8323 GB, free: 34.45 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001744/1.047, allocations: 260 kB / 0.8325 GB, free: 34.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006143/1.053, allocations: 2.206 MB / 0.8347 GB, free: 31.99 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002126/1.053, allocations: 390.5 kB / 0.835 GB, free: 31.61 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005741/1.059, allocations: 475.5 kB / 0.8355 GB, free: 31.14 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009579/1.06, allocations: 0.543 MB / 0.836 GB, free: 30.6 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 895 * Number of states: 0 () * Number of discrete variables: 83 (trapezoid.count,$PRE.trapezoid.count,trapezoid.T_start,$PRE.trapezoid.T_start,$whenCondition1,force2.forceArrow.twoHeadedArrow,force2.forceArrow.headAtOrigin,force1.forceArrow.twoHeadedArrow,force1.forceArrow.headAtOrigin,force.forceArrow.twoHeadedArrow,force.forceArrow.headAtOrigin,fixedTranslation1.color[3],fixedTranslation1.color[2],fixedTranslation1.color[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],force2.connectionLineColor[3],force2.connectionLineColor[2],force2.connectionLineColor[1],force2.forceColor[3],force2.forceColor[2],force2.forceColor[1],prismatic2.boxColor[3],prismatic2.boxColor[2],prismatic2.boxColor[1],damper2.color_b[3],damper2.color_b[2],damper2.color_b[1],damper2.color_a[3],damper2.color_a[2],damper2.color_a[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],force1.connectionLineColor[3],force1.connectionLineColor[2],force1.connectionLineColor[1],force1.forceColor[3],force1.forceColor[2],force1.forceColor[1],prismatic1.boxColor[3],prismatic1.boxColor[2],prismatic1.boxColor[1],damper1.color_b[3],damper1.color_b[2],damper1.color_b[1],damper1.color_a[3],damper1.color_a[2],damper1.color_a[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],force.connectionLineColor[3],force.connectionLineColor[2],force.connectionLineColor[1],force.forceColor[3],force.forceColor[2],force.forceColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],damper.color_b[3],damper.color_b[2],damper.color_b[1],damper.color_a[3],damper.color_a[2],damper.color_a[1],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 (1175): * Single equations (assignments): 1171 * Array equations: 3 * Algorithm blocks: 1 * 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.003939/1.064, allocations: 3.147 MB / 0.8391 GB, free: 27.45 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007088/1.065, allocations: 0.5472 MB / 0.8396 GB, free: 26.89 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004417/1.069, allocations: 3.066 MB / 0.8426 GB, free: 23.81 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.863e-05/1.069, allocations: 31.94 kB / 0.8427 GB, free: 23.78 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.027e-05/1.069, allocations: 4 kB / 0.8427 GB, free: 23.77 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.982e-05/1.069, allocations: 11.95 kB / 0.8427 GB, free: 23.76 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01588/1.085, allocations: 12.27 MB / 0.8546 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.085e-05/1.085, allocations: 28 kB / 0.8547 GB, free: 10.99 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001956/1.087, allocations: 0.5935 MB / 0.8553 GB, free: 10.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.08e-05/1.087, allocations: 44 kB / 0.8553 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001369/1.087, allocations: 88.86 kB / 0.8554 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.127e-05/1.087, allocations: 59.8 kB / 0.8554 GB, free: 10.21 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.905e-05/1.087, allocations: 55.73 kB / 0.8555 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005672/1.093, allocations: 5.54 MB / 0.8609 GB, free: 4.074 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001186/1.094, allocations: 0.6066 MB / 0.8615 GB, free: 3.445 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000492/1.095, allocations: 95.97 kB / 0.8616 GB, free: 3.352 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001869/1.097, allocations: 155.8 kB / 0.8617 GB, free: 3.199 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002979/1.097, allocations: 282.1 kB / 0.862 GB, free: 2.926 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000141/1.097, allocations: 124 kB / 0.8621 GB, free: 2.805 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004916/1.102, allocations: 3.594 MB / 0.8656 GB, free: 15.24 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2e-07/1.102, allocations: 0 / 0.8656 GB, free: 15.24 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.007221/1.109, allocations: 1.418 MB / 0.867 GB, free: 13.82 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 142 * Number of states: 7 (prismatic.s,prismatic.v,prismatic1.s,prismatic1.v,heatCapacitor.T,prismatic2.s,prismatic2.v) * Number of discrete variables: 3 ($whenCondition1,trapezoid.T_start,trapezoid.count) * Number of discrete states: 1 (trapezoid.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (278): * Single equations (assignments): 273 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.008977/1.118, allocations: 6.255 MB / 0.8731 GB, free: 7.02 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01114/1.129, allocations: 5.916 MB / 0.8789 GB, free: 1.125 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.929e-05/1.129, allocations: 4 kB / 0.8789 GB, free: 1.121 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.003335/1.133, allocations: 1.563 MB / 0.8804 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004309/1.137, allocations: 0.7552 MB / 0.8812 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1093/1.246, allocations: 67.88 MB / 0.9475 GB, free: 0.9023 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007465/1.254, allocations: 4.757 MB / 0.9521 GB, free: 12.12 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.006456/1.26, allocations: 2.575 MB / 0.9546 GB, free: 9.535 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004976/1.265, allocations: 3.151 MB / 0.9577 GB, free: 6.383 MB / 0.67 GB Notification: Performance of SimCode: time 8.82e-07/1.265, allocations: 0 / 0.9577 GB, free: 6.383 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3923/1.657, allocations: 91.06 MB / 1.047 GB, free: 249.7 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.93/24.59, allocations: 11.56 kB / 1.047 GB, free: 249.7 MB / 0.7012 GB " [Timeout remaining time 635] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper2.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper2_res.csv --start-time 0 --stop-time 7 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00137336 ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_Damper2.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper2.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 27.310727889998816] Failed to read output from testmodel.py, exit status != 0: ['time', 'heatCapacitor.T', 'prismatic.s', 'prismatic.v', 'prismatic1.s', 'prismatic1.v', 'prismatic2.s', 'prismatic2.v'] 24.72484371199971 24.741688577 24.300620358 Calling exit ...