Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009399/0.0009399, allocations: 80.05 kB / 20.72 MB, free: 3.766 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009687/0.0009687, allocations: 169 kB / 24.14 MB, free: 356 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.907/0.907, allocations: 158.6 MB / 186 MB, free: 2.766 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1293/0.1293, allocations: 32.38 MB / 270.7 MB, free: 14.6 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses") translateModel(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 299.1 MB, free: 2.156 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.956e-05/2.114e-05, allocations: 2.312 kB / 299.1 MB, free: 2.152 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses): time 0.1436/0.1436, allocations: 9.898 MB / 309 MB, free: 15.18 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.007036/0.1506, allocations: 3.894 MB / 312.9 MB, free: 12.75 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009211/0.1516, allocations: 71.97 kB / 313 MB, free: 12.72 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002357/0.1539, allocations: 2.192 MB / 315.2 MB, free: 11.79 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002581/0.1565, allocations: 1.809 MB / 317 MB, free: 10.52 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001125/0.1576, allocations: 0.7702 MB / 317.7 MB, free: 9.988 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.002978/0.1606, allocations: 4.164 MB / 321.9 MB, free: 7.352 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001842/0.1625, allocations: 2.465 MB / 324.4 MB, free: 4.816 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001727/0.1642, allocations: 2.272 MB / 326.6 MB, free: 2.539 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001435/0.1656, allocations: 1.925 MB / 328.6 MB, free: 0.6094 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000354/0.166, allocations: 272 kB / 328.8 MB, free: 352 kB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001343/0.1673, allocations: 1.182 MB / 330 MB, free: 15.16 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001058/0.1684, allocations: 1.812 MB / 331.8 MB, free: 13.34 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009541/0.1693, allocations: 1.098 MB / 332.9 MB, free: 12.24 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003303/0.1726, allocations: 4.289 MB / 337.2 MB, free: 7.938 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.72e-06/0.1726, allocations: 8 kB / 337.2 MB, free: 7.93 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1726, allocations: 0 / 337.2 MB, free: 7.93 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.985e-05/0.1727, allocations: 0 / 337.2 MB, free: 7.93 MB / 298.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.003636/0.1763, allocations: 3.969 MB / 341.2 MB, free: 3.91 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.633e-05/0.1763, allocations: 12.03 kB / 341.2 MB, free: 3.898 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003205/0.1795, allocations: 1.11 MB / 342.3 MB, free: 2.785 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001754/0.1813, allocations: 1.709 MB / 344 MB, free: 1.016 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.527e-05/0.1814, allocations: 193.3 kB / 344.2 MB, free: 0.8242 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003439/0.1817, allocations: 272.5 kB / 344.5 MB, free: 0.5586 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004025/0.1858, allocations: 4.322 MB / 348.8 MB, free: 11.59 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.467e-05/0.1858, allocations: 43.62 kB / 348.8 MB, free: 11.55 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002009/0.186, allocations: 123.9 kB / 349 MB, free: 11.43 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001202/0.1872, allocations: 1.536 MB / 350.5 MB, free: 9.891 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002795/0.19, allocations: 2.168 MB / 352.7 MB, free: 7.719 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01635/0.2064, allocations: 26.83 MB / 379.5 MB, free: 11.88 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002642/0.209, allocations: 1.434 MB / 380.9 MB, free: 10.41 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003868/0.2094, allocations: 356.6 kB / 381.3 MB, free: 10.05 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003877/0.2133, allocations: 3.462 MB / 384.7 MB, free: 6.562 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.818e-05/0.2133, allocations: 47.5 kB / 384.8 MB, free: 6.508 MB / 346.7 MB Notification: Performance of pre-optimization done (n=137): time 3.006e-06/0.2133, allocations: 4 kB / 384.8 MB, free: 6.504 MB / 346.7 MB Notification: Performance of matching and sorting (n=169): time 0.01557/0.2289, allocations: 7.347 MB / 392.1 MB, free: 15.11 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.052e-05/0.229, allocations: 200.9 kB / 392.3 MB, free: 14.87 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001934/0.2309, allocations: 3.019 MB / 395.4 MB, free: 11.84 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 7.209e-05/0.231, allocations: 45.7 kB / 395.4 MB, free: 11.79 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001039/0.232, allocations: 2.822 MB / 398.2 MB, free: 8.93 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003262/0.2323, allocations: 0.6706 MB / 398.9 MB, free: 8.254 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009743/0.2333, allocations: 1.132 MB / 400 MB, free: 7.109 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.233e-05/0.2334, allocations: 305.1 kB / 400.3 MB, free: 6.809 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001014/0.2344, allocations: 0.7621 MB / 401.1 MB, free: 6.039 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002589/0.237, allocations: 4.352 MB / 405.4 MB, free: 15.83 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003646/0.2406, allocations: 5.606 MB / 411 MB, free: 8.395 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.312e-05/0.2406, allocations: 40 kB / 411.1 MB, free: 8.355 MB / 378.7 MB Notification: Performance of matching and sorting (n=783) (initialization): time 0.004889/0.2455, allocations: 4.363 MB / 415.4 MB, free: 3.977 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.311e-05/0.2456, allocations: 71.92 kB / 415.5 MB, free: 3.906 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-05/0.2457, allocations: 128 kB / 415.6 MB, free: 3.781 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001622/0.2473, allocations: 0.7066 MB / 416.3 MB, free: 3.07 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002354/0.2496, allocations: 1.376 MB / 417.7 MB, free: 1.691 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003254/0.2529, allocations: 2.982 MB / 420.7 MB, free: 14.6 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001807/0.2547, allocations: 263.7 kB / 421 MB, free: 14.34 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002638/0.255, allocations: 312 kB / 421.3 MB, free: 14.04 MB / 394.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.000889/0.2559, allocations: 0.6146 MB / 421.9 MB, free: 13.41 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002662/0.2561, allocations: 207.8 kB / 422.1 MB, free: 13.21 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001921/0.258, allocations: 1.211 MB / 423.3 MB, free: 11.98 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.51e-05/0.2581, allocations: 20 kB / 423.3 MB, free: 11.96 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.815e-06/0.2581, allocations: 4 kB / 423.3 MB, free: 11.96 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.133e-05/0.2581, allocations: 19.91 kB / 423.3 MB, free: 11.94 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004902/0.263, allocations: 3.8 MB / 427.1 MB, free: 8.062 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.69e-06/0.263, allocations: 4 kB / 427.1 MB, free: 8.059 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000531/0.2635, allocations: 215.7 kB / 427.4 MB, free: 7.848 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001536/0.2651, allocations: 0.7036 MB / 428.1 MB, free: 7.137 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.215e-05/0.2651, allocations: 27.98 kB / 428.1 MB, free: 7.109 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002527/0.2676, allocations: 2.581 MB / 430.7 MB, free: 4.438 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.057e-06/0.2677, allocations: 7.938 kB / 430.7 MB, free: 4.43 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002455/0.2701, allocations: 1.979 MB / 432.7 MB, free: 2.391 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004304/0.2705, allocations: 401.7 kB / 433 MB, free: 1.996 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001846/0.2707, allocations: 36 kB / 433.1 MB, free: 1.961 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000516/0.2712, allocations: 35.97 kB / 433.1 MB, free: 1.926 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001597/0.2714, allocations: 100.7 kB / 433.2 MB, free: 1.824 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.568e-05/0.2715, allocations: 43.98 kB / 433.3 MB, free: 1.781 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0008429/0.2723, allocations: 1.083 MB / 434.3 MB, free: 0.7031 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.2723, allocations: 0 / 434.3 MB, free: 0.7031 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002513/0.2748, allocations: 0.9804 MB / 435.3 MB, free: 15.72 MB / 410.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.0002974/0.2751, allocations: 168 kB / 435.5 MB, free: 15.55 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002592/0.2777, allocations: 2.556 MB / 438 MB, free: 13 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001369/0.2779, allocations: 100.2 kB / 438.1 MB, free: 12.9 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000576/0.2784, allocations: 0.6027 MB / 438.7 MB, free: 12.28 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00145/0.2799, allocations: 0.5047 MB / 439.2 MB, free: 11.78 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006654/0.2865, allocations: 6.473 MB / 445.7 MB, free: 5.207 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001151/0.2877, allocations: 1.092 MB / 446.8 MB, free: 4.09 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001001/0.2887, allocations: 462.3 kB / 447.3 MB, free: 3.637 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006533/0.2893, allocations: 0.4895 MB / 447.7 MB, free: 3.148 MB / 410.7 MB Notification: Performance of SimCode: time 1.462e-06/0.2893, allocations: 0 / 447.7 MB, free: 3.148 MB / 410.7 MB Notification: Performance of Templates: time 0.1766/0.4659, allocations: 31.98 MB / 479.7 MB, free: 133.8 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/ForceWithTwoMasses/ForceWithTwoMasses.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.051808654330671]