Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.Damper.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.001385/0.001385, allocations: 116.8 kB / 18.5 MB, free: 4.52 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.001422/0.001422, allocations: 212.9 kB / 21.46 MB, free: 1.566 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.458/1.458, allocations: 230.4 MB / 254.7 MB, free: 15.2 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2197/0.2197, allocations: 46.92 MB / 357.7 MB, free: 10.22 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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.Damper,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Forces_Damper",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Damper,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Forces_Damper",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002409/0.002409, allocations: 87.86 kB / 0.4917 GB, free: 7.723 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1206/0.123, allocations: 66.04 MB / 0.5562 GB, free: 5.555 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper): time 0.01852/0.1416, allocations: 16.16 MB / 0.572 GB, free: 5.32 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0111/0.1527, allocations: 5.009 MB / 0.5768 GB, free: 300 kB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002369/0.155, allocations: 115.5 kB / 0.577 GB, free: 184 kB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009833/0.1649, allocations: 5.221 MB / 0.5821 GB, free: 10.94 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00671/0.1716, allocations: 2.54 MB / 0.5845 GB, free: 8.391 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00287/0.1744, allocations: 1.182 MB / 0.5857 GB, free: 7.207 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.009801/0.1842, allocations: 6.662 MB / 0.5922 GB, free: 0.5273 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2435/0.4277, allocations: 5.385 MB / 0.5975 GB, free: 5.719 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005072/0.4328, allocations: 2.626 MB / 0.6 GB, free: 5.582 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006882/0.4396, allocations: 3.942 MB / 0.6039 GB, free: 5.211 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002732/0.4424, allocations: 0.5715 MB / 0.6044 GB, free: 5.211 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004288/0.4467, allocations: 1.302 MB / 0.6057 GB, free: 5.207 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005738/0.4524, allocations: 3.297 MB / 0.6089 GB, free: 4.824 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008013/0.4604, allocations: 3.669 MB / 0.6125 GB, free: 3.441 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01577/0.4762, allocations: 11.16 MB / 0.6234 GB, free: 14.87 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/0.4762, allocations: 3.469 kB / 0.6234 GB, free: 14.87 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.4762, allocations: 0 / 0.6234 GB, free: 14.87 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0004899/0.4767, allocations: 1.219 kB / 0.6234 GB, free: 14.87 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2520 * Number of variables: 2520 Notification: Performance of Generate backend data structure: time 0.02402/0.5007, allocations: 7.81 MB / 0.631 GB, free: 9.688 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.787e-05/0.5008, allocations: 9.094 kB / 0.631 GB, free: 9.688 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004279/0.505, allocations: 1.192 MB / 0.6322 GB, free: 8.922 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01207/0.5171, allocations: 2.668 MB / 0.6348 GB, free: 7.508 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009389/0.5265, allocations: 4.259 MB / 0.639 GB, free: 5.223 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003932/0.5269, allocations: 435.7 kB / 0.6394 GB, free: 5.078 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002197/0.5291, allocations: 0.5536 MB / 0.6399 GB, free: 4.934 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04489/0.574, allocations: 19.74 MB / 0.6592 GB, free: 1.215 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000263/0.5742, allocations: 71.02 kB / 0.6593 GB, free: 1.18 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001713/0.5759, allocations: 276 kB / 0.6595 GB, free: 0.9727 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005584/0.5815, allocations: 3.147 MB / 0.6626 GB, free: 13.87 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03985/0.6214, allocations: 15.86 MB / 0.6781 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08913/0.7105, allocations: 63.85 MB / 0.7405 GB, free: 13.69 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01901/0.7295, allocations: 6.139 MB / 0.7464 GB, free: 7.422 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003631/0.7332, allocations: 1.901 MB / 0.7483 GB, free: 5.523 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01685/0.75, allocations: 9.196 MB / 0.7573 GB, free: 12.08 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.268e-05/0.7501, allocations: 56.56 kB / 0.7573 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=257): time 4.578e-06/0.7501, allocations: 0 / 0.7573 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of matching and sorting (n=291): time 0.06482/0.8149, allocations: 21.76 MB / 0.7786 GB, free: 6.254 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001085/0.815, allocations: 160.9 kB / 0.7787 GB, free: 6.07 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009934/0.8249, allocations: 5.786 MB / 0.7844 GB, free: 316 kB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0005423/0.8255, allocations: 69.7 kB / 0.7845 GB, free: 240 kB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.005121/0.8306, allocations: 5.035 MB / 0.7894 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.001589/0.8322, allocations: 1.166 MB / 0.7905 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003315/0.8355, allocations: 1.811 MB / 0.7923 GB, free: 8.246 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001358/0.8356, allocations: 301.1 kB / 0.7926 GB, free: 7.949 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005122/0.8407, allocations: 2.614 MB / 0.7951 GB, free: 5.328 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01053/0.8513, allocations: 8.169 MB / 0.8031 GB, free: 10.5 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01642/0.8677, allocations: 11.72 MB / 0.8145 GB, free: 12.46 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001522/0.8678, allocations: 63.88 kB / 0.8146 GB, free: 12.4 MB / 0.6387 GB Notification: Performance of matching and sorting (n=1195) (initialization): time 0.02212/0.89, allocations: 10.5 MB / 0.8249 GB, free: 1.898 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001388/0.8901, allocations: 88 kB / 0.8249 GB, free: 1.812 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002488/0.8904, allocations: 196 kB / 0.8251 GB, free: 1.621 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002714/0.8906, allocations: 271.7 kB / 0.8254 GB, free: 1.359 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007666/0.8983, allocations: 2.188 MB / 0.8275 GB, free: 15.17 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004195/0.8987, allocations: 394.5 kB / 0.8279 GB, free: 14.78 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006769/0.9055, allocations: 455.5 kB / 0.8283 GB, free: 14.34 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001674/0.9072, allocations: 0.539 MB / 0.8289 GB, free: 13.8 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 895 * Number of states: 0 () * Number of discrete variables: 78 (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 (1171): * Single equations (assignments): 1168 * Array equations: 3 * 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.006616/0.9138, allocations: 3.14 MB / 0.8319 GB, free: 10.64 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001078/0.9148, allocations: 0.5355 MB / 0.8325 GB, free: 10.11 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006451/0.9213, allocations: 2.999 MB / 0.8354 GB, free: 7.09 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.535e-05/0.9214, allocations: 28 kB / 0.8354 GB, free: 7.062 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.597e-05/0.9214, allocations: 7.938 kB / 0.8354 GB, free: 7.055 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-05/0.9214, allocations: 11.95 kB / 0.8354 GB, free: 7.043 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2622/1.184, allocations: 12.26 MB / 0.8474 GB, free: 221.2 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.488e-05/1.184, allocations: 36.05 kB / 0.8474 GB, free: 221.2 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002096/1.186, allocations: 0.5457 MB / 0.848 GB, free: 221.2 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.84e-05/1.186, allocations: 44.41 kB / 0.848 GB, free: 221.2 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002128/1.186, allocations: 90.02 kB / 0.8481 GB, free: 221.2 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.877e-05/1.186, allocations: 66.14 kB / 0.8482 GB, free: 221.2 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-05/1.186, allocations: 52.84 kB / 0.8482 GB, free: 221.2 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007686/1.194, allocations: 5.637 MB / 0.8537 GB, free: 218.9 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001651/1.195, allocations: 0.6074 MB / 0.8543 GB, free: 218.8 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009089/1.196, allocations: 92.56 kB / 0.8544 GB, free: 218.8 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002232/1.199, allocations: 144.5 kB / 0.8545 GB, free: 218.7 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003937/1.199, allocations: 267 kB / 0.8548 GB, free: 218.7 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001723/1.199, allocations: 115.9 kB / 0.8549 GB, free: 218.6 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.006578/1.206, allocations: 3.592 MB / 0.8584 GB, free: 217.5 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1e-07/1.206, allocations: 3.938 kB / 0.8584 GB, free: 217.5 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.007829/1.214, allocations: 1.399 MB / 0.8598 GB, free: 217.3 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 142 * Number of states: 7 (body.frame_a.r_0[1],body.v_0[1],prismatic1.s,prismatic1.v,heatCapacitor.T,prismatic2.s,prismatic2.v) * 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 (275): * Single equations (assignments): 272 * Array equations: 3 * 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.007479/1.221, allocations: 6.361 MB / 0.866 GB, free: 213.6 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.008996/1.23, allocations: 5.778 MB / 0.8716 GB, free: 211.7 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.193e-05/1.23, allocations: 5.969 kB / 0.8716 GB, free: 211.7 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001941/1.232, allocations: 1.308 MB / 0.8729 GB, free: 211.3 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004744/1.237, allocations: 0.7572 MB / 0.8737 GB, free: 211 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07891/1.316, allocations: 67.65 MB / 0.9397 GB, free: 145.7 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005396/1.321, allocations: 4.755 MB / 0.9444 GB, free: 141.7 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.004939/1.326, allocations: 2.579 MB / 0.9469 GB, free: 139.1 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003715/1.33, allocations: 3.194 MB / 0.95 GB, free: 135.9 MB / 0.6544 GB Notification: Performance of SimCode: time 1.393e-06/1.33, allocations: 1.859 kB / 0.95 GB, free: 135.9 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1257/1.455, allocations: 93.35 MB / 1.041 GB, free: 42.95 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.44/25.9, allocations: 4 kB / 1.041 GB, free: 42.95 MB / 0.6544 GB " [Timeout remaining time 634] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.Damper.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.Damper.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.Damper.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.Damper.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.Damper_res.csv --start-time 0 --stop-time 7 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00139944 ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Forces_Damper.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.Damper.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 28.87442118488252] Failed to read output from testmodel.py, exit status != 0: ['time', 'body.frame_a.r_0[1]', 'body.v_0[1]', 'heatCapacitor.T', 'prismatic1.s', 'prismatic1.v', 'prismatic2.s', 'prismatic2.v'] 26.03427372314036 26.045786097 25.566895593 Calling exit ...