Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithMass.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.0009848/0.0009848, 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.00103/0.00103, allocations: 173 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.8182/0.8182, allocations: 158.6 MB / 186 MB, free: 2.73 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.1437/0.1437, allocations: 32.38 MB / 270.7 MB, free: 14.59 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.LineForceWithMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithMass") translateModel(ModelicaTest.MultiBody.Forces.LineForceWithMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithMass") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 299.1 MB, free: 2.191 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.489e-05/1.635e-05, allocations: 2.312 kB / 299.1 MB, free: 2.188 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.LineForceWithMass): time 0.1785/0.1785, allocations: 14.16 MB / 313.2 MB, free: 12.44 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01172/0.1902, allocations: 5.1 MB / 318.3 MB, free: 9.18 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003909/0.1941, allocations: 120.4 kB / 318.5 MB, free: 9.141 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006547/0.2007, allocations: 4.317 MB / 322.8 MB, free: 6.383 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006426/0.2071, allocations: 2.572 MB / 325.3 MB, free: 3.918 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002635/0.2097, allocations: 1.306 MB / 326.7 MB, free: 2.609 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.007536/0.2173, allocations: 6.847 MB / 333.5 MB, free: 11.75 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005675/0.2229, allocations: 4.567 MB / 338.1 MB, free: 7.094 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007437/0.2304, allocations: 4.031 MB / 342.1 MB, free: 3.051 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004965/0.2353, allocations: 3.16 MB / 345.3 MB, free: 15.88 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001472/0.2368, allocations: 468 kB / 345.7 MB, free: 15.43 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003197/0.24, allocations: 1.482 MB / 347.2 MB, free: 13.94 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003024/0.243, allocations: 2.957 MB / 350.2 MB, free: 10.98 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002871/0.2459, allocations: 1.795 MB / 352 MB, free: 9.176 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007932/0.2538, allocations: 6.353 MB / 358.3 MB, free: 2.801 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.075e-06/0.2538, allocations: 0 / 358.3 MB, free: 2.801 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.2538, allocations: 0 / 358.3 MB, free: 2.801 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002453/0.2541, allocations: 4 kB / 358.3 MB, free: 2.797 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1941 * Number of variables: 1941 Notification: Performance of Generate backend data structure: time 0.009669/0.2638, allocations: 6.248 MB / 364.6 MB, free: 12.48 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.86e-05/0.2638, allocations: 16.03 kB / 364.6 MB, free: 12.46 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00402/0.2678, allocations: 1.433 MB / 366 MB, free: 11.03 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004766/0.2726, allocations: 2.858 MB / 368.9 MB, free: 8.094 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002666/0.2729, allocations: 312.4 kB / 369.2 MB, free: 7.785 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001004/0.2739, allocations: 424.3 kB / 369.6 MB, free: 7.371 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01211/0.286, allocations: 6.859 MB / 376.4 MB, free: 15.58 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001699/0.2861, allocations: 59.44 kB / 376.5 MB, free: 15.53 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004493/0.2866, allocations: 199.8 kB / 376.7 MB, free: 15.33 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001981/0.2886, allocations: 2.263 MB / 379 MB, free: 13.07 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008262/0.2968, allocations: 3.477 MB / 382.4 MB, free: 9.586 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04/0.3368, allocations: 40.21 MB / 422.6 MB, free: 12 kB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006995/0.3438, allocations: 2.981 MB / 425.6 MB, free: 13 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001181/0.345, allocations: 0.675 MB / 426.3 MB, free: 12.31 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01009/0.3551, allocations: 6.116 MB / 432.4 MB, free: 6.16 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.836e-05/0.3551, allocations: 59.88 kB / 432.5 MB, free: 6.09 MB / 394.7 MB Notification: Performance of pre-optimization done (n=199): time 5.62e-06/0.3551, allocations: 0 / 432.5 MB, free: 6.09 MB / 394.7 MB Notification: Performance of matching and sorting (n=225): time 0.02238/0.3775, allocations: 8.871 MB / 441.3 MB, free: 13.18 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001073/0.3776, allocations: 253.3 kB / 441.6 MB, free: 12.88 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004237/0.3819, allocations: 4.097 MB / 445.7 MB, free: 8.762 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003395/0.3822, allocations: 61.7 kB / 445.7 MB, free: 8.695 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002326/0.3845, allocations: 3.866 MB / 449.6 MB, free: 4.789 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008662/0.3854, allocations: 0.8992 MB / 450.5 MB, free: 3.883 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001217/0.3866, allocations: 1.446 MB / 452 MB, free: 2.43 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.271e-05/0.3867, allocations: 305.1 kB / 452.3 MB, free: 2.129 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001411/0.3881, allocations: 0.9513 MB / 453.2 MB, free: 1.176 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1556/0.5437, allocations: 5.506 MB / 458.7 MB, free: 116.7 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00708/0.5508, allocations: 7.047 MB / 465.8 MB, free: 110.4 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002626/0.5511, allocations: 50.47 kB / 465.8 MB, free: 110.4 MB / 410.7 MB Notification: Performance of matching and sorting (n=1002) (initialization): time 0.01151/0.5626, allocations: 5.15 MB / 471 MB, free: 109.1 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.81e-05/0.5627, allocations: 75.31 kB / 471 MB, free: 109.1 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002192/0.5629, allocations: 166.5 kB / 471.2 MB, free: 109.1 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006888/0.5636, allocations: 288.9 kB / 471.5 MB, free: 109.1 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004075/0.5677, allocations: 1.76 MB / 473.2 MB, free: 108.9 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001641/0.5693, allocations: 2.724 MB / 476 MB, free: 106.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004637/0.574, allocations: 330.5 kB / 476.3 MB, free: 106.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007136/0.5747, allocations: 399.2 kB / 476.7 MB, free: 106.5 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 739 * Number of states: 0 () * Number of discrete variables: 57 (lineForceWithMass.lineShapeColor[3],lineForceWithMass.lineShapeColor[2],lineForceWithMass.lineShapeColor[1],lineForceWithMass.massColor[3],lineForceWithMass.massColor[2],lineForceWithMass.massColor[1],rod4.color[3],rod4.color[2],rod4.color[1],rod3.color[3],rod3.color[2],rod3.color[1],bodyBox2.color[3],bodyBox2.color[2],bodyBox2.color[1],bodyBox2.body.sphereColor[3],bodyBox2.body.sphereColor[2],bodyBox2.body.sphereColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],rod2.color[3],rod2.color[2],rod2.color[1],jointUPS.cylinderColor[3],jointUPS.cylinderColor[2],jointUPS.cylinderColor[1],jointUPS.sphereColor[3],jointUPS.sphereColor[2],jointUPS.sphereColor[1],jointUPS.axisColor[3],jointUPS.axisColor[2],jointUPS.axisColor[1],rod1.color[3],rod1.color[2],rod1.color[1],bodyBox1.color[3],bodyBox1.color[2],bodyBox1.color[1],bodyBox1.body.sphereColor[3],bodyBox1.body.sphereColor[2],bodyBox1.body.sphereColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.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 (976): * Single equations (assignments): 971 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002691/0.5774, allocations: 0.7533 MB / 477.4 MB, free: 106.2 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006873/0.5781, allocations: 297.3 kB / 477.7 MB, free: 106.2 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001495/0.5795, allocations: 1.216 MB / 478.9 MB, free: 106.1 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-05/0.5796, allocations: 23.88 kB / 479 MB, free: 106.1 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.749e-06/0.5796, allocations: 3.656 kB / 479 MB, free: 106.1 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.554e-05/0.5796, allocations: 8.438 kB / 479 MB, free: 106.1 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007255/0.5869, allocations: 5.198 MB / 484.2 MB, free: 105.2 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.408e-06/0.5869, allocations: 7.438 kB / 484.2 MB, free: 105.2 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009761/0.5878, allocations: 356.1 kB / 484.5 MB, free: 105.2 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005563/0.5884, allocations: 297 kB / 484.8 MB, free: 105.2 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001276/0.5885, allocations: 46.14 kB / 484.9 MB, free: 105.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001045/0.5896, allocations: 2.426 MB / 487.3 MB, free: 102.8 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.3e-06/0.5896, allocations: 10.06 kB / 487.3 MB, free: 102.8 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00234/0.5919, allocations: 2.189 MB / 489.5 MB, free: 101.8 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001083/0.593, allocations: 0.5691 MB / 490 MB, free: 101.7 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003904/0.5934, allocations: 44.78 kB / 490.1 MB, free: 101.7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000858/0.5942, allocations: 54.56 kB / 490.1 MB, free: 101.7 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001745/0.5944, allocations: 136.9 kB / 490.3 MB, free: 101.6 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.932e-05/0.5945, allocations: 54.69 kB / 490.3 MB, free: 101.6 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001989/0.5965, allocations: 1.552 MB / 491.9 MB, free: 100.9 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.91e-07/0.5965, allocations: 0 / 491.9 MB, free: 100.9 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.005519/0.602, allocations: 1.332 MB / 493.2 MB, free: 99.57 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 4 (revolute1.phi,revolute1.w,revolute2.phi,revolute2.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 (201): * Single equations (assignments): 196 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005099/0.6025, allocations: 185.7 kB / 493.4 MB, free: 99.4 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00476/0.6073, allocations: 3.199 MB / 496.6 MB, free: 96.52 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0002539/0.6075, allocations: 112.2 kB / 496.7 MB, free: 96.41 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008198/0.6084, allocations: 0.7579 MB / 497.5 MB, free: 95.69 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003047/0.6114, allocations: 0.8102 MB / 498.3 MB, free: 94.97 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01335/0.6248, allocations: 9.734 MB / 0.4961 GB, free: 85.61 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001755/0.6265, allocations: 1.61 MB / 0.4977 GB, free: 83.98 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002029/0.6285, allocations: 0.6506 MB / 0.4983 GB, free: 83.34 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001179/0.6297, allocations: 0.7348 MB / 0.499 GB, free: 82.61 MB / 410.7 MB Notification: Performance of SimCode: time 1.663e-06/0.6297, allocations: 0 / 0.499 GB, free: 82.61 MB / 410.7 MB Notification: Performance of Templates: time 0.05764/0.6874, allocations: 40.07 MB / 0.5382 GB, free: 42.63 MB / 410.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithMass.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithMass.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithMass -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithMass_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/LineForceWithMass/LineForceWithMass.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.6100544719956815]