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.001412/0.001412, allocations: 109 kB / 19.74 MB, free: 2.582 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.00158/0.00158, allocations: 217.6 kB / 22.92 MB, free: 5.562 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.27/1.27, allocations: 230.2 MB / 256.2 MB, free: 8.602 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.1926/0.1926, allocations: 46.89 MB / 359.3 MB, free: 4.945 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.002153/0.002153, allocations: 87.84 kB / 0.494 GB, free: 9.066 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2588/0.2609, allocations: 65.97 MB / 0.5584 GB, free: 5.195 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper): time 0.01725/0.2782, allocations: 16.2 MB / 0.5742 GB, free: 4.926 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009839/0.288, allocations: 5.024 MB / 0.5791 GB, free: 15.88 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001773/0.2898, allocations: 95.75 kB / 0.5792 GB, free: 15.79 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009005/0.2988, allocations: 5.241 MB / 0.5844 GB, free: 10.53 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005738/0.3045, allocations: 2.54 MB / 0.5868 GB, free: 7.98 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00228/0.3068, allocations: 1.178 MB / 0.588 GB, free: 6.801 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.008381/0.3152, allocations: 6.662 MB / 0.5945 GB, free: 124 kB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005306/0.3205, allocations: 4.688 MB / 0.5991 GB, free: 11.36 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003405/0.3239, allocations: 2.594 MB / 0.6016 GB, free: 8.754 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005158/0.3291, allocations: 3.941 MB / 0.6055 GB, free: 4.801 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001231/0.3303, allocations: 0.5703 MB / 0.606 GB, free: 4.23 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002576/0.3329, allocations: 1.303 MB / 0.6073 GB, free: 2.926 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003105/0.336, allocations: 3.292 MB / 0.6105 GB, free: 15.62 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004129/0.3401, allocations: 3.667 MB / 0.6141 GB, free: 11.93 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.013/0.3531, allocations: 11.16 MB / 0.625 GB, free: 0.7266 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.3531, allocations: 0 / 0.625 GB, free: 0.7266 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3531, allocations: 0 / 0.625 GB, free: 0.7266 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0002678/0.3534, allocations: 0 / 0.625 GB, free: 0.7266 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.01358/0.367, allocations: 7.808 MB / 0.6326 GB, free: 8.824 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.697e-05/0.367, allocations: 12.03 kB / 0.6326 GB, free: 8.812 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001603/0.3686, allocations: 1.186 MB / 0.6338 GB, free: 7.617 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009794/0.3784, allocations: 2.668 MB / 0.6364 GB, free: 4.941 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007044/0.3854, allocations: 4.272 MB / 0.6406 GB, free: 0.6094 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000336/0.3858, allocations: 439 kB / 0.641 GB, free: 184 kB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009677/0.3868, allocations: 0.5505 MB / 0.6415 GB, free: 15.63 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03785/0.4246, allocations: 19.75 MB / 0.6608 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001805/0.4248, allocations: 67.39 kB / 0.6609 GB, free: 10.69 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006469/0.4254, allocations: 271.7 kB / 0.6611 GB, free: 10.42 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004833/0.4303, allocations: 3.157 MB / 0.6642 GB, free: 7.262 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03586/0.4661, allocations: 15.85 MB / 0.6797 GB, free: 7.371 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4645/0.9306, allocations: 63.85 MB / 0.742 GB, free: 111.5 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01406/0.9447, allocations: 6.143 MB / 0.748 GB, free: 110.8 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002097/0.9468, allocations: 1.893 MB / 0.7499 GB, free: 110.8 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009908/0.9567, allocations: 9.201 MB / 0.7589 GB, free: 107.5 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.517e-05/0.9567, allocations: 59.84 kB / 0.7589 GB, free: 107.4 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=257): time 4.308e-06/0.9567, allocations: 0 / 0.7589 GB, free: 107.4 MB / 0.5607 GB Notification: Performance of matching and sorting (n=291): time 0.04551/1.002, allocations: 21.75 MB / 0.7802 GB, free: 91.19 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.473e-05/1.002, allocations: 154.5 kB / 0.7803 GB, free: 91 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005196/1.007, allocations: 5.797 MB / 0.786 GB, free: 85.35 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.0002609/1.008, allocations: 65.7 kB / 0.786 GB, free: 85.28 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.001543/1.009, allocations: 5.03 MB / 0.7909 GB, free: 80.52 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.000576/1.01, allocations: 1.165 MB / 0.7921 GB, free: 79.37 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001372/1.011, allocations: 1.815 MB / 0.7939 GB, free: 77.54 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 3.17e-05/1.011, allocations: 308.8 kB / 0.7942 GB, free: 77.24 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002905/1.014, allocations: 2.614 MB / 0.7967 GB, free: 74.62 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004197/1.018, allocations: 8.168 MB / 0.8047 GB, free: 63.88 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00774/1.026, allocations: 11.72 MB / 0.8161 GB, free: 49.71 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.132e-05/1.026, allocations: 56 kB / 0.8162 GB, free: 49.66 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1195) (initialization): time 0.01116/1.037, allocations: 10.51 MB / 0.8264 GB, free: 39.15 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 7.143e-05/1.037, allocations: 88 kB / 0.8265 GB, free: 39.06 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001057/1.037, allocations: 196 kB / 0.8267 GB, free: 38.87 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001489/1.038, allocations: 264 kB / 0.827 GB, free: 38.61 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005029/1.043, allocations: 2.191 MB / 0.8291 GB, free: 36.42 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001619/1.043, allocations: 386.5 kB / 0.8295 GB, free: 36.04 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004263/1.047, allocations: 463.4 kB / 0.8299 GB, free: 35.59 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004124/1.047, allocations: 0.539 MB / 0.8304 GB, free: 35.05 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.003127/1.051, allocations: 3.144 MB / 0.8335 GB, free: 31.89 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005766/1.051, allocations: 0.5408 MB / 0.834 GB, free: 31.35 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003682/1.055, allocations: 2.988 MB / 0.837 GB, free: 28.34 MB / 0.5607 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.115e-05/1.055, allocations: 28 kB / 0.837 GB, free: 28.31 MB / 0.5607 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.026e-06/1.055, allocations: 7.984 kB / 0.837 GB, free: 28.3 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.789e-05/1.055, allocations: 19.89 kB / 0.837 GB, free: 28.29 MB / 0.5607 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01295/1.068, allocations: 12.27 MB / 0.849 GB, free: 15.54 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.407e-05/1.068, allocations: 31.98 kB / 0.849 GB, free: 15.51 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001656/1.07, allocations: 0.5421 MB / 0.8496 GB, free: 14.97 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.589e-05/1.07, allocations: 48.41 kB / 0.8496 GB, free: 14.92 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001172/1.07, allocations: 95.98 kB / 0.8497 GB, free: 14.83 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.683e-05/1.07, allocations: 63.73 kB / 0.8498 GB, free: 14.77 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.796e-05/1.07, allocations: 55.17 kB / 0.8498 GB, free: 14.71 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005019/1.075, allocations: 5.631 MB / 0.8553 GB, free: 8.551 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000859/1.076, allocations: 0.6105 MB / 0.8559 GB, free: 7.918 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004061/1.076, allocations: 99.97 kB / 0.856 GB, free: 7.82 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001675/1.078, allocations: 135.4 kB / 0.8561 GB, free: 7.691 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002326/1.078, allocations: 272 kB / 0.8564 GB, free: 7.426 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001313/1.078, allocations: 120 kB / 0.8565 GB, free: 7.309 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.003849/1.082, allocations: 3.59 MB / 0.86 GB, free: 3.75 MB / 0.5607 GB Notification: Performance of sort global known variables: time 1.1e-07/1.082, allocations: 0 / 0.86 GB, free: 3.75 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.005992/1.088, allocations: 1.402 MB / 0.8614 GB, free: 2.348 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.007323/1.095, allocations: 6.35 MB / 0.8676 GB, free: 11.46 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.009749/1.105, allocations: 5.796 MB / 0.8732 GB, free: 5.695 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 1.949e-05/1.105, allocations: 8.062 kB / 0.8732 GB, free: 5.688 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.002223/1.107, allocations: 1.295 MB / 0.8745 GB, free: 4.406 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003985/1.111, allocations: 0.7621 MB / 0.8753 GB, free: 3.66 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08501/1.196, allocations: 67.65 MB / 0.9413 GB, free: 5.996 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005902/1.202, allocations: 4.756 MB / 0.946 GB, free: 1.211 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.005661/1.208, allocations: 2.579 MB / 0.9485 GB, free: 14.62 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003877/1.212, allocations: 3.198 MB / 0.9516 GB, free: 11.43 MB / 0.67 GB Notification: Performance of SimCode: time 1.122e-06/1.212, allocations: 0 / 0.9516 GB, free: 11.43 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3425/1.554, allocations: 90.09 MB / 1.04 GB, free: 248.8 MB / 0.7013 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.66/20.22, allocations: 4.375 kB / 1.04 GB, free: 248.8 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.Damper_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Forces_Damper_fmu --startTime=0 --stopTime=7 --timeout=50 --tolerance=1e-06 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.801999556002556]