Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.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.0008172/0.0008172, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001238/0.002055, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 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.0007223/0.0007223, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009657/0.001688, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 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 0.981/0.981, allocations: 177.5 MB / 190 MB, free: 4.762 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08065/1.062, allocations: 53.87 MB / 243.9 MB, free: 14.83 MB / 250.7 MB " [Timeout remaining time 179] 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.2614/0.2614, allocations: 34.87 MB / 279.5 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03597/0.2973, allocations: 13.24 MB / 292.8 MB, free: 6.363 MB / 282.7 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: translateModel(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses") translateModel(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 0 / 294.1 MB, free: 5.055 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.524e-05/1.66e-05, allocations: 2.969 kB / 294.1 MB, free: 5.051 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses): time 0.00721/0.007227, allocations: 9.925 MB / 304 MB, free: 11.08 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00526/0.01249, allocations: 3.942 MB / 308 MB, free: 7.125 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005554/0.01304, allocations: 71.62 kB / 308 MB, free: 7.055 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002456/0.0155, allocations: 2.118 MB / 310.2 MB, free: 4.93 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001953/0.01745, allocations: 1.759 MB / 311.9 MB, free: 3.164 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007493/0.0182, allocations: 0.7093 MB / 312.6 MB, free: 2.453 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.003222/0.02142, allocations: 4.117 MB / 316.7 MB, free: 14.33 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001959/0.02338, allocations: 2.274 MB / 319 MB, free: 11.98 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002214/0.0256, allocations: 2.396 MB / 321.4 MB, free: 9.586 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003691/0.02929, allocations: 1.909 MB / 323.3 MB, free: 7.672 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007867/0.03007, allocations: 272 kB / 323.6 MB, free: 7.406 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001908/0.03198, allocations: 1.17 MB / 324.8 MB, free: 6.234 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001318/0.0333, allocations: 1.598 MB / 326.4 MB, free: 4.633 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001388/0.03469, allocations: 0.8839 MB / 327.2 MB, free: 3.746 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004124/0.03881, allocations: 3.888 MB / 331.1 MB, free: 15.84 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.464e-05/0.03883, allocations: 0 / 331.1 MB, free: 15.84 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.03883, allocations: 0 / 331.1 MB, free: 15.84 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001463/0.03897, allocations: 0 / 331.1 MB, free: 15.84 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: 1319 * Number of variables: 1319 Notification: Performance of Generate backend data structure: time 0.005304/0.04428, allocations: 4.764 MB / 335.9 MB, free: 11.01 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.25e-05/0.04431, allocations: 16.92 kB / 335.9 MB, free: 11 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003246/0.04756, allocations: 1.117 MB / 337 MB, free: 9.879 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002344/0.0499, allocations: 1.669 MB / 338.7 MB, free: 8.148 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.644e-05/0.05, allocations: 193.2 kB / 338.9 MB, free: 7.957 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003581/0.05035, allocations: 272.5 kB / 339.2 MB, free: 7.691 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004326/0.05468, allocations: 4.358 MB / 343.5 MB, free: 2.68 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.633e-05/0.05476, allocations: 47.62 kB / 343.6 MB, free: 2.633 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002025/0.05496, allocations: 127.9 kB / 343.7 MB, free: 2.508 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001271/0.05623, allocations: 1.435 MB / 345.1 MB, free: 1.074 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00328/0.05951, allocations: 2.17 MB / 347.3 MB, free: 14.89 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01875/0.07826, allocations: 26.81 MB / 374.1 MB, free: 3.039 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002829/0.08109, allocations: 1.426 MB / 375.5 MB, free: 1.57 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004026/0.0815, allocations: 350.2 kB / 375.9 MB, free: 1.219 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004345/0.08584, allocations: 3.45 MB / 379.3 MB, free: 13.74 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.448e-05/0.08588, allocations: 47.56 kB / 379.4 MB, free: 13.69 MB / 378.7 MB Notification: Performance of pre-optimization done (n=137): time 3.156e-06/0.08588, allocations: 4 kB / 379.4 MB, free: 13.68 MB / 378.7 MB Notification: Performance of matching and sorting (n=169): time 0.02001/0.1059, allocations: 7.324 MB / 386.7 MB, free: 6.309 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.423e-05/0.106, allocations: 153.5 kB / 386.8 MB, free: 6.129 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002963/0.1089, allocations: 3.006 MB / 389.8 MB, free: 3.109 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001124/0.109, allocations: 53.7 kB / 389.9 MB, free: 3.051 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001444/0.1105, allocations: 2.806 MB / 392.7 MB, free: 216 kB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005161/0.111, allocations: 0.6707 MB / 393.4 MB, free: 15.53 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001143/0.1121, allocations: 1.136 MB / 394.5 MB, free: 14.38 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.126e-05/0.1122, allocations: 301.1 kB / 394.8 MB, free: 14.09 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001399/0.1136, allocations: 0.766 MB / 395.6 MB, free: 13.31 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003163/0.1168, allocations: 4.364 MB / 399.9 MB, free: 7.09 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005408/0.1222, allocations: 6.018 MB / 406 MB, free: 15.24 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.877e-05/0.1223, allocations: 40 kB / 406 MB, free: 15.2 MB / 410.7 MB Notification: Performance of matching and sorting (n=783) (initialization): time 0.007153/0.1294, allocations: 4.378 MB / 410.4 MB, free: 10.8 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.43e-05/0.1295, allocations: 60 kB / 410.4 MB, free: 10.75 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001587/0.1297, allocations: 136 kB / 410.6 MB, free: 10.61 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002212/0.1319, allocations: 0.7228 MB / 411.3 MB, free: 9.887 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006299/0.1382, allocations: 1.462 MB / 412.7 MB, free: 8.422 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00719/0.1454, allocations: 3.004 MB / 415.8 MB, free: 5.32 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006588/0.1519, allocations: 263.7 kB / 416 MB, free: 5.062 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001791/0.1537, allocations: 312 kB / 416.3 MB, free: 4.758 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 593 * Number of states: 0 () * Number of discrete variables: 36 (FixedTranslation2.color[3],FixedTranslation2.color[2],FixedTranslation2.color[1],force.massColor[3],force.massColor[2],force.massColor[1],force.color_b[3],force.color_b[2],force.color_b[1],force.color_a[3],force.color_a[2],force.color_a[1],FixedTranslation1.color[3],FixedTranslation1.color[2],FixedTranslation1.color[1],BodyBox1.color[3],BodyBox1.color[2],BodyBox1.color[1],BodyBox1.body.sphereColor[3],BodyBox1.body.sphereColor[2],BodyBox1.body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[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 (730): * Single equations (assignments): 726 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,29,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001675/0.1554, allocations: 0.6068 MB / 416.9 MB, free: 4.137 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006861/0.1561, allocations: 207.8 kB / 417.1 MB, free: 3.934 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003039/0.1591, allocations: 1.211 MB / 418.3 MB, free: 2.707 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.637e-05/0.1592, allocations: 12 kB / 418.3 MB, free: 2.695 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.379e-05/0.1592, allocations: 15.94 kB / 418.4 MB, free: 2.68 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.556e-05/0.1592, allocations: 7.969 kB / 418.4 MB, free: 2.672 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008684/0.1679, allocations: 3.795 MB / 422.2 MB, free: 14.8 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-05/0.1679, allocations: 8 kB / 422.2 MB, free: 14.8 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00102/0.1689, allocations: 235.7 kB / 422.4 MB, free: 14.57 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007864/0.1697, allocations: 281.8 kB / 422.7 MB, free: 14.29 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001997/0.1717, allocations: 0.6998 MB / 423.4 MB, free: 13.58 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001467/0.1719, allocations: 39.97 kB / 423.4 MB, free: 13.54 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002841/0.1747, allocations: 2.581 MB / 426 MB, free: 10.88 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/0.1747, allocations: 7.938 kB / 426 MB, free: 10.87 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002654/0.1774, allocations: 1.991 MB / 428 MB, free: 8.824 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003229/0.1777, allocations: 31.98 kB / 428 MB, free: 8.793 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005728/0.1783, allocations: 28 kB / 428.1 MB, free: 8.766 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001593/0.1784, allocations: 108.7 kB / 428.2 MB, free: 8.66 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.774e-05/0.1785, allocations: 36 kB / 428.2 MB, free: 8.625 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001139/0.1796, allocations: 1.078 MB / 429.3 MB, free: 7.551 MB / 426.7 MB Notification: Performance of sort global known variables: time 2e-07/0.1796, allocations: 0 / 429.3 MB, free: 7.551 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003126/0.1828, allocations: 0.9569 MB / 430.2 MB, free: 6.594 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 2 (revolute.phi,revolute.w) * 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 (122): * Single equations (assignments): 118 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,24,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003244/0.1831, allocations: 160.1 kB / 430.4 MB, free: 6.43 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002749/0.1858, allocations: 2.667 MB / 433.1 MB, free: 3.773 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001597/0.186, allocations: 106.8 kB / 433.2 MB, free: 3.66 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006428/0.1866, allocations: 0.691 MB / 433.9 MB, free: 2.961 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002014/0.1886, allocations: 2.452 MB / 436.3 MB, free: 196 kB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.142/0.3307, allocations: 6.565 MB / 442.9 MB, free: 118.7 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008924/0.3316, allocations: 1.093 MB / 444 MB, free: 118.5 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.00107/0.3326, allocations: 461.5 kB / 444.4 MB, free: 118.5 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000606/0.3332, allocations: 488.7 kB / 444.9 MB, free: 118.4 MB / 426.7 MB Notification: Performance of SimCode: time 1.774e-06/0.3333, allocations: 0 / 444.9 MB, free: 118.4 MB / 426.7 MB Notification: Performance of Templates: time 0.04306/0.3763, allocations: 30.34 MB / 475.2 MB, free: 96.58 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Forces/ForceWithTwoMasses/ForceWithTwoMasses.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.759184521622956]