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.001422/0.001422, allocations: 105 kB / 19.74 MB, free: 2.566 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.001564/0.001564, allocations: 217 kB / 22.92 MB, free: 5.539 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.284/1.284, allocations: 230.2 MB / 256.1 MB, free: 8.762 MB / 206.1 MB " [Timeout remaining time 179] 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.2002/0.2002, allocations: 46.89 MB / 359.3 MB, free: 4.98 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.002294/0.002294, allocations: 75.88 kB / 0.494 GB, free: 9.086 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2568/0.2591, allocations: 65.97 MB / 0.5584 GB, free: 5.191 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper): time 0.01696/0.2761, allocations: 16.2 MB / 0.5742 GB, free: 4.926 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009333/0.2854, allocations: 5.028 MB / 0.5791 GB, free: 15.88 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001815/0.2872, allocations: 99.75 kB / 0.5792 GB, free: 15.78 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008851/0.2961, allocations: 5.237 MB / 0.5844 GB, free: 10.53 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005627/0.3017, allocations: 2.54 MB / 0.5868 GB, free: 7.977 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00243/0.3041, allocations: 1.182 MB / 0.588 GB, free: 6.793 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.008544/0.3127, allocations: 6.662 MB / 0.5945 GB, free: 120 kB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00619/0.3189, allocations: 4.692 MB / 0.5991 GB, free: 11.35 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003717/0.3226, allocations: 2.59 MB / 0.6016 GB, free: 8.75 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005151/0.3277, allocations: 3.941 MB / 0.6055 GB, free: 4.797 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009765/0.3287, allocations: 0.5742 MB / 0.606 GB, free: 4.223 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002108/0.3308, allocations: 1.303 MB / 0.6073 GB, free: 2.918 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002726/0.3335, allocations: 3.284 MB / 0.6105 GB, free: 15.62 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003529/0.3371, allocations: 3.667 MB / 0.6141 GB, free: 11.93 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01068/0.3477, allocations: 11.17 MB / 0.625 GB, free: 0.7148 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.3477, allocations: 0 / 0.625 GB, free: 0.7148 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.3478, allocations: 0 / 0.625 GB, free: 0.7148 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0002248/0.348, allocations: 0 / 0.625 GB, free: 0.7148 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.01291/0.3609, allocations: 7.808 MB / 0.6326 GB, free: 8.812 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.84e-05/0.3609, allocations: 8.031 kB / 0.6326 GB, free: 8.805 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001369/0.3623, allocations: 1.194 MB / 0.6338 GB, free: 7.602 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009332/0.3716, allocations: 2.664 MB / 0.6364 GB, free: 4.93 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006576/0.3782, allocations: 4.264 MB / 0.6406 GB, free: 0.6055 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003071/0.3785, allocations: 435 kB / 0.641 GB, free: 184 kB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008669/0.3794, allocations: 0.5583 MB / 0.6415 GB, free: 15.62 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03474/0.4141, allocations: 19.74 MB / 0.6608 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001555/0.4143, allocations: 75.38 kB / 0.6609 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000599/0.4149, allocations: 271.8 kB / 0.6611 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004443/0.4193, allocations: 3.153 MB / 0.6642 GB, free: 7.254 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03359/0.4529, allocations: 15.85 MB / 0.6797 GB, free: 7.363 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4796/0.9325, allocations: 63.85 MB / 0.742 GB, free: 111.5 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01419/0.9467, allocations: 6.132 MB / 0.748 GB, free: 110.8 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002215/0.9489, allocations: 1.9 MB / 0.7499 GB, free: 110.7 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0103/0.9592, allocations: 9.199 MB / 0.7589 GB, free: 107.5 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.795e-05/0.9593, allocations: 59.34 kB / 0.7589 GB, free: 107.4 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=257): time 4.388e-06/0.9593, allocations: 3.938 kB / 0.7589 GB, free: 107.4 MB / 0.5607 GB Notification: Performance of matching and sorting (n=291): time 0.04505/1.004, allocations: 21.74 MB / 0.7802 GB, free: 91.15 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.678e-05/1.004, allocations: 158.5 kB / 0.7803 GB, free: 90.96 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005231/1.01, allocations: 5.795 MB / 0.786 GB, free: 85.31 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.0002283/1.01, allocations: 71.3 kB / 0.786 GB, free: 85.24 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.001639/1.011, allocations: 5.031 MB / 0.791 GB, free: 80.48 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005813/1.012, allocations: 1.164 MB / 0.7921 GB, free: 79.33 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001403/1.013, allocations: 1.813 MB / 0.7939 GB, free: 77.5 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 3.296e-05/1.013, allocations: 309 kB / 0.7942 GB, free: 77.2 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00298/1.016, allocations: 2.613 MB / 0.7967 GB, free: 74.58 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004496/1.021, allocations: 8.165 MB / 0.8047 GB, free: 63.86 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008653/1.03, allocations: 11.72 MB / 0.8161 GB, free: 49.69 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001119/1.03, allocations: 56 kB / 0.8162 GB, free: 49.63 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1195) (initialization): time 0.01352/1.043, allocations: 10.5 MB / 0.8264 GB, free: 39.12 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001803/1.043, allocations: 88 kB / 0.8265 GB, free: 39.04 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002745/1.044, allocations: 196 kB / 0.8267 GB, free: 38.85 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002622/1.044, allocations: 264.8 kB / 0.827 GB, free: 38.59 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005806/1.05, allocations: 2.196 MB / 0.8291 GB, free: 36.39 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001926/1.05, allocations: 382.5 kB / 0.8295 GB, free: 36.02 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00492/1.055, allocations: 463.9 kB / 0.8299 GB, free: 35.56 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007124/1.056, allocations: 0.543 MB / 0.8304 GB, free: 35.02 MB / 0.5607 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.003389/1.059, allocations: 3.151 MB / 0.8335 GB, free: 31.86 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006991/1.06, allocations: 0.5394 MB / 0.834 GB, free: 31.32 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004095/1.064, allocations: 2.98 MB / 0.837 GB, free: 28.32 MB / 0.5607 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.617e-05/1.064, allocations: 35.94 kB / 0.837 GB, free: 28.28 MB / 0.5607 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.122e-05/1.064, allocations: 7.812 kB / 0.837 GB, free: 28.28 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.007e-05/1.064, allocations: 19.88 kB / 0.837 GB, free: 28.26 MB / 0.5607 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0155/1.079, allocations: 12.27 MB / 0.849 GB, free: 15.52 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.051e-05/1.079, allocations: 32 kB / 0.849 GB, free: 15.48 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001709/1.081, allocations: 0.542 MB / 0.8496 GB, free: 14.94 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.538e-05/1.081, allocations: 47.94 kB / 0.8496 GB, free: 14.89 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001406/1.081, allocations: 95.98 kB / 0.8497 GB, free: 14.8 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.799e-05/1.081, allocations: 63.98 kB / 0.8498 GB, free: 14.74 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.646e-05/1.081, allocations: 51.81 kB / 0.8498 GB, free: 14.69 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005041/1.086, allocations: 5.636 MB / 0.8553 GB, free: 8.52 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008826/1.087, allocations: 0.6066 MB / 0.8559 GB, free: 7.891 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006181/1.088, allocations: 95.97 kB / 0.856 GB, free: 7.797 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001865/1.09, allocations: 135.9 kB / 0.8561 GB, free: 7.664 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002428/1.09, allocations: 268 kB / 0.8564 GB, free: 7.402 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001318/1.09, allocations: 120 kB / 0.8565 GB, free: 7.285 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.004077/1.094, allocations: 3.594 MB / 0.86 GB, free: 3.723 MB / 0.5607 GB Notification: Performance of sort global known variables: time 1.4e-07/1.094, allocations: 4 kB / 0.86 GB, free: 3.719 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.005612/1.1, allocations: 1.398 MB / 0.8614 GB, free: 2.32 MB / 0.5607 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.007305/1.107, allocations: 6.362 MB / 0.8676 GB, free: 11.43 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.00972/1.117, allocations: 5.784 MB / 0.8732 GB, free: 5.676 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 1.951e-05/1.117, allocations: 8 kB / 0.8732 GB, free: 5.668 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.0021/1.119, allocations: 1.297 MB / 0.8745 GB, free: 4.383 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004382/1.123, allocations: 0.7619 MB / 0.8752 GB, free: 3.641 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1031/1.226, allocations: 67.65 MB / 0.9413 GB, free: 5.977 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007194/1.234, allocations: 4.76 MB / 0.946 GB, free: 1.188 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.006166/1.24, allocations: 2.571 MB / 0.9485 GB, free: 14.61 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004484/1.244, allocations: 3.194 MB / 0.9516 GB, free: 11.41 MB / 0.67 GB Notification: Performance of SimCode: time 1.232e-06/1.244, allocations: 7.938 kB / 0.9516 GB, free: 11.41 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3447/1.589, allocations: 90.09 MB / 1.04 GB, free: 248.6 MB / 0.7013 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.42/20.01, allocations: 11.05 kB / 1.04 GB, free: 248.6 MB / 0.7013 GB " [Timeout remaining time 640] (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: 22.608302274005837]