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.001067/0.001067, allocations: 79.92 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.001088/0.001088, 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.9137/0.9137, allocations: 158.6 MB / 186 MB, free: 2.77 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.1446/0.1446, allocations: 32.38 MB / 270.7 MB, free: 14.61 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.062e-06/1.062e-06, allocations: 0 / 299.1 MB, free: 2.145 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.926e-05/2.032e-05, allocations: 2.312 kB / 299.1 MB, free: 2.141 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.LineForceWithMass): time 0.1352/0.1352, allocations: 14.19 MB / 313.3 MB, free: 12.38 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01014/0.1454, allocations: 5.103 MB / 318.4 MB, free: 9.121 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002348/0.1477, allocations: 122.1 kB / 318.5 MB, free: 9.082 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003656/0.1514, allocations: 4.242 MB / 322.8 MB, free: 6.324 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003173/0.1546, allocations: 2.542 MB / 325.3 MB, free: 3.93 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001365/0.1559, allocations: 1.31 MB / 326.6 MB, free: 2.617 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.00427/0.1602, allocations: 6.85 MB / 333.5 MB, free: 11.76 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00349/0.1637, allocations: 4.341 MB / 337.8 MB, free: 7.332 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002916/0.1666, allocations: 3.968 MB / 341.8 MB, free: 3.352 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00277/0.1694, allocations: 3.156 MB / 344.9 MB, free: 192 kB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005471/0.1699, allocations: 468 kB / 345.4 MB, free: 15.73 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001809/0.1717, allocations: 1.521 MB / 346.9 MB, free: 14.21 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001685/0.1734, allocations: 2.953 MB / 349.9 MB, free: 11.25 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001251/0.1747, allocations: 1.807 MB / 351.7 MB, free: 9.434 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004689/0.1794, allocations: 6.349 MB / 358 MB, free: 3.062 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.1794, allocations: 4 kB / 358 MB, free: 3.059 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.1794, allocations: 0 / 358 MB, free: 3.059 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001778/0.1795, allocations: 0 / 358 MB, free: 3.059 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.006361/0.1859, allocations: 6.255 MB / 364.3 MB, free: 12.74 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.11e-05/0.1859, allocations: 8.031 kB / 364.3 MB, free: 12.73 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003841/0.1898, allocations: 1.441 MB / 365.7 MB, free: 11.29 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002974/0.1927, allocations: 2.85 MB / 368.6 MB, free: 8.359 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001421/0.1929, allocations: 313.2 kB / 368.9 MB, free: 8.051 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004698/0.1934, allocations: 432.1 kB / 369.3 MB, free: 7.629 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007138/0.2005, allocations: 6.859 MB / 376.2 MB, free: 15.84 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.893e-05/0.2006, allocations: 47.58 kB / 376.2 MB, free: 15.8 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003027/0.2009, allocations: 207.8 kB / 376.4 MB, free: 15.59 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001684/0.2026, allocations: 2.263 MB / 378.7 MB, free: 13.33 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00563/0.2082, allocations: 3.465 MB / 382.2 MB, free: 9.859 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02995/0.2382, allocations: 40.21 MB / 422.4 MB, free: 284 kB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006346/0.2445, allocations: 2.981 MB / 425.3 MB, free: 13.27 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007894/0.2453, allocations: 0.675 MB / 426 MB, free: 12.58 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007309/0.2526, allocations: 6.132 MB / 432.2 MB, free: 6.414 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.566e-05/0.2526, allocations: 59.8 kB / 432.2 MB, free: 6.344 MB / 394.7 MB Notification: Performance of pre-optimization done (n=199): time 3.427e-06/0.2526, allocations: 0 / 432.2 MB, free: 6.344 MB / 394.7 MB Notification: Performance of matching and sorting (n=225): time 0.01959/0.2722, allocations: 8.858 MB / 441.1 MB, free: 13.45 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.766e-05/0.2723, allocations: 257.3 kB / 441.3 MB, free: 13.14 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002965/0.2753, allocations: 4.101 MB / 445.4 MB, free: 9.02 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.444e-05/0.2754, allocations: 57.7 kB / 445.5 MB, free: 8.957 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001523/0.2769, allocations: 3.866 MB / 449.3 MB, free: 5.051 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004864/0.2774, allocations: 0.8914 MB / 450.2 MB, free: 4.152 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00115/0.2785, allocations: 1.446 MB / 451.7 MB, free: 2.699 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.998e-05/0.2786, allocations: 309.1 kB / 452 MB, free: 2.395 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001458/0.2801, allocations: 0.9513 MB / 452.9 MB, free: 1.441 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1523/0.4323, allocations: 5.516 MB / 458.5 MB, free: 115.2 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006299/0.4386, allocations: 7.037 MB / 465.5 MB, free: 109 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.428e-05/0.4387, allocations: 46.31 kB / 465.5 MB, free: 109 MB / 410.7 MB Notification: Performance of matching and sorting (n=1002) (initialization): time 0.007327/0.4461, allocations: 5.148 MB / 470.7 MB, free: 107.7 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.497e-05/0.4461, allocations: 75.56 kB / 470.8 MB, free: 107.7 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001734/0.4463, allocations: 163.6 kB / 470.9 MB, free: 107.7 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005354/0.4468, allocations: 290.7 kB / 471.2 MB, free: 107.6 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003054/0.4499, allocations: 1.871 MB / 473.1 MB, free: 107.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00109/0.451, allocations: 2.727 MB / 475.8 MB, free: 105.1 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002844/0.4538, allocations: 337.5 kB / 476.1 MB, free: 105.1 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003267/0.4542, allocations: 393.1 kB / 476.5 MB, free: 105.1 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.001427/0.4556, allocations: 0.7474 MB / 477.3 MB, free: 104.8 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003714/0.456, allocations: 302.7 kB / 477.6 MB, free: 104.8 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001274/0.4572, allocations: 1.213 MB / 478.8 MB, free: 104.6 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.695e-05/0.4573, allocations: 23.31 kB / 478.8 MB, free: 104.6 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/0.4573, allocations: 0 / 478.8 MB, free: 104.6 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.435e-05/0.4573, allocations: 19 kB / 478.8 MB, free: 104.6 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005885/0.4632, allocations: 5.191 MB / 484 MB, free: 103.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.714e-06/0.4632, allocations: 7.938 kB / 484 MB, free: 103.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001044/0.4642, allocations: 414.6 kB / 484.4 MB, free: 103.8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004304/0.4646, allocations: 300.8 kB / 484.7 MB, free: 103.7 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.04e-05/0.4647, allocations: 44.59 kB / 484.8 MB, free: 103.7 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008586/0.4656, allocations: 2.422 MB / 487.2 MB, free: 101.3 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.591e-06/0.4656, allocations: 11.22 kB / 487.2 MB, free: 101.3 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00183/0.4674, allocations: 2.199 MB / 489.4 MB, free: 100.3 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006371/0.4681, allocations: 0.5651 MB / 489.9 MB, free: 100.2 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002753/0.4683, allocations: 38.16 kB / 490 MB, free: 100.2 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007252/0.4691, allocations: 61.56 kB / 490 MB, free: 100.2 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001722/0.4692, allocations: 135.8 kB / 490.2 MB, free: 100.2 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.701e-05/0.4693, allocations: 49.84 kB / 490.2 MB, free: 100.1 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.00111/0.4704, allocations: 1.548 MB / 491.8 MB, free: 99.16 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.91e-07/0.4704, allocations: 0 / 491.8 MB, free: 99.16 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003498/0.4739, allocations: 1.335 MB / 493.1 MB, free: 97.84 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.0003259/0.4743, allocations: 194 kB / 493.3 MB, free: 97.66 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003178/0.4774, allocations: 3.199 MB / 496.5 MB, free: 94.8 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001418/0.4776, allocations: 108.2 kB / 496.6 MB, free: 94.69 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000595/0.4782, allocations: 0.7641 MB / 497.4 MB, free: 93.96 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001753/0.4799, allocations: 0.8082 MB / 498.2 MB, free: 93.25 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008183/0.4881, allocations: 9.732 MB / 0.496 GB, free: 83.75 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001001/0.4891, allocations: 1.607 MB / 0.4976 GB, free: 82.12 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001336/0.4904, allocations: 0.6445 MB / 0.4982 GB, free: 81.49 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001059/0.4915, allocations: 0.7276 MB / 0.4989 GB, free: 80.77 MB / 410.7 MB Notification: Performance of SimCode: time 1.062e-06/0.4915, allocations: 0 / 0.4989 GB, free: 80.77 MB / 410.7 MB Notification: Performance of Templates: time 0.05053/0.542, allocations: 40.08 MB / 0.5381 GB, free: 40.79 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 -s gbode -gbm=radauIIA3 -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.408822224009782]