Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Cylindrical.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.001339/0.001339, 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.001462/0.001462, 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.885/0.885, 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.1517/0.1517, 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.Joints.Cylindrical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cylindrical.phi|cylindrical.s|cylindrical.v|cylindrical.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Cylindrical") translateModel(ModelicaTest.MultiBody.Joints.Cylindrical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cylindrical.phi|cylindrical.s|cylindrical.v|cylindrical.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Cylindrical") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.272e-06/1.272e-06, allocations: 0 / 299.1 MB, free: 2.152 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.302e-05/1.43e-05, allocations: 2.312 kB / 299.1 MB, free: 2.148 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.1481/0.1481, allocations: 13.1 MB / 312.2 MB, free: 13.12 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.007613/0.1558, allocations: 4.276 MB / 316.5 MB, free: 10.44 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001316/0.1571, allocations: 77.62 kB / 316.6 MB, free: 10.43 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002053/0.1591, allocations: 1.93 MB / 318.5 MB, free: 9.391 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003069/0.1622, allocations: 1.979 MB / 320.5 MB, free: 8 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00111/0.1633, allocations: 0.6126 MB / 321.1 MB, free: 7.582 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.003293/0.1666, allocations: 4.306 MB / 325.4 MB, free: 3.875 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002098/0.1687, allocations: 2.627 MB / 328 MB, free: 1.188 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001981/0.1707, allocations: 2.21 MB / 330.2 MB, free: 14.97 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002246/0.1729, allocations: 2.034 MB / 332.3 MB, free: 12.93 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000501/0.1734, allocations: 292 kB / 332.6 MB, free: 12.65 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001304/0.1747, allocations: 0.9946 MB / 333.5 MB, free: 11.65 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001105/0.1758, allocations: 1.92 MB / 335.5 MB, free: 9.727 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008424/0.1767, allocations: 1.176 MB / 336.6 MB, free: 8.547 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003165/0.1798, allocations: 4.545 MB / 341.2 MB, free: 3.984 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.525e-06/0.1798, allocations: 0 / 341.2 MB, free: 3.984 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.1798, allocations: 0 / 341.2 MB, free: 3.984 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.97e-05/0.1799, allocations: 3.938 kB / 341.2 MB, free: 3.98 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: 1684 * Number of variables: 1684 Notification: Performance of Generate backend data structure: time 0.003755/0.1836, allocations: 4.329 MB / 345.5 MB, free: 15.59 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.256e-05/0.1837, allocations: 12.03 kB / 345.5 MB, free: 15.58 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003683/0.1873, allocations: 1.468 MB / 347 MB, free: 14.11 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001642/0.189, allocations: 1.604 MB / 348.6 MB, free: 12.47 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001133/0.1891, allocations: 221.9 kB / 348.8 MB, free: 12.25 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000364/0.1895, allocations: 296.1 kB / 349.1 MB, free: 11.96 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004827/0.1943, allocations: 4.871 MB / 354 MB, free: 6.621 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.453e-05/0.1944, allocations: 32.2 kB / 354 MB, free: 6.59 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002486/0.1946, allocations: 143.8 kB / 354.2 MB, free: 6.449 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002028/0.1966, allocations: 2.305 MB / 356.5 MB, free: 4.141 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00408/0.2007, allocations: 2.759 MB / 359.2 MB, free: 1.363 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02148/0.2222, allocations: 27.52 MB / 386.7 MB, free: 4.844 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002858/0.2251, allocations: 1.48 MB / 388.2 MB, free: 3.34 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000486/0.2255, allocations: 366.7 kB / 388.6 MB, free: 2.984 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005085/0.2306, allocations: 3.819 MB / 392.4 MB, free: 15.14 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.204e-05/0.2307, allocations: 55.75 kB / 392.5 MB, free: 15.08 MB / 362.7 MB Notification: Performance of pre-optimization done (n=180): time 2.905e-06/0.2307, allocations: 0 / 392.5 MB, free: 15.08 MB / 362.7 MB Notification: Performance of matching and sorting (n=187): time 0.009243/0.2399, allocations: 5.001 MB / 397.5 MB, free: 10.06 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.551e-05/0.2399, allocations: 76.64 kB / 397.5 MB, free: 9.969 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001803/0.2417, allocations: 2.529 MB / 400.1 MB, free: 7.422 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 7.147e-05/0.2418, allocations: 45.7 kB / 400.1 MB, free: 7.371 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001202/0.243, allocations: 3.037 MB / 403.1 MB, free: 4.305 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003948/0.2434, allocations: 0.7285 MB / 403.9 MB, free: 3.57 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008241/0.2442, allocations: 1.002 MB / 404.9 MB, free: 2.559 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.774e-05/0.2443, allocations: 301.1 kB / 405.2 MB, free: 2.262 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001041/0.2454, allocations: 0.682 MB / 405.8 MB, free: 1.574 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002432/0.2478, allocations: 3.694 MB / 409.5 MB, free: 12.33 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003393/0.2512, allocations: 4.809 MB / 414.3 MB, free: 5.961 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.105e-05/0.2512, allocations: 32 kB / 414.4 MB, free: 5.93 MB / 378.7 MB Notification: Performance of matching and sorting (n=716) (initialization): time 0.003452/0.2547, allocations: 3.557 MB / 417.9 MB, free: 2.359 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.465e-05/0.2547, allocations: 52 kB / 418 MB, free: 2.309 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.699e-05/0.2548, allocations: 115.9 kB / 418.1 MB, free: 2.195 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002422/0.255, allocations: 179.6 kB / 418.3 MB, free: 2.016 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001971/0.257, allocations: 1.217 MB / 419.5 MB, free: 0.7969 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009049/0.2579, allocations: 1.467 MB / 421 MB, free: 15.23 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001489/0.2594, allocations: 208 kB / 421.2 MB, free: 15.03 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002442/0.2596, allocations: 272 kB / 421.4 MB, free: 14.77 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 503 * Number of states: 0 () * Number of discrete variables: 33 (frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],cylindrical.cylinderColor[3],cylindrical.cylinderColor[2],cylindrical.cylinderColor[1],cylindrical.revolute.cylinderColor[3],cylindrical.revolute.cylinderColor[2],cylindrical.revolute.cylinderColor[1],cylindrical.prismatic.boxColor[3],cylindrical.prismatic.boxColor[2],cylindrical.prismatic.boxColor[1],axis.color[3],axis.color[2],axis.color[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (666): * Single equations (assignments): 659 * Array equations: 6 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001/0.2606, allocations: 0.5485 MB / 422 MB, free: 14.2 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002141/0.2608, allocations: 183.8 kB / 422.2 MB, free: 14.02 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001063/0.2619, allocations: 0.9169 MB / 423.1 MB, free: 13.09 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.976e-05/0.2619, allocations: 23.98 kB / 423.1 MB, free: 13.06 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.2619, allocations: 3.938 kB / 423.1 MB, free: 13.06 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.979e-06/0.2619, allocations: 11.97 kB / 423.1 MB, free: 13.05 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004588/0.2665, allocations: 4.124 MB / 427.2 MB, free: 8.762 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.207e-06/0.2665, allocations: 8.969 kB / 427.2 MB, free: 8.754 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005695/0.2671, allocations: 239.7 kB / 427.5 MB, free: 8.52 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001236/0.2672, allocations: 55.62 kB / 427.5 MB, free: 8.461 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.454e-05/0.2673, allocations: 35.98 kB / 427.6 MB, free: 8.426 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007952/0.2681, allocations: 1.389 MB / 429 MB, free: 6.941 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.492e-06/0.2681, allocations: 11.94 kB / 429 MB, free: 6.93 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001452/0.2695, allocations: 1.472 MB / 430.4 MB, free: 5.312 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000426/0.27, allocations: 390 kB / 430.8 MB, free: 4.93 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001702/0.2701, allocations: 36 kB / 430.9 MB, free: 4.895 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004204/0.2706, allocations: 32 kB / 430.9 MB, free: 4.863 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001425/0.2707, allocations: 116.6 kB / 431 MB, free: 4.75 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.369e-05/0.2708, allocations: 55.97 kB / 431.1 MB, free: 4.695 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0006914/0.2715, allocations: 0.8903 MB / 431.9 MB, free: 3.797 MB / 394.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2715, allocations: 0 / 431.9 MB, free: 3.797 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002237/0.2737, allocations: 0.9569 MB / 432.9 MB, free: 2.84 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 37 * Number of states: 4 (cylindrical.s,cylindrical.phi,cylindrical.v,cylindrical.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 (141): * Single equations (assignments): 134 * Array equations: 6 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003059/0.274, allocations: 175.9 kB / 433.1 MB, free: 2.656 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002257/0.2763, allocations: 2.219 MB / 435.3 MB, free: 460 kB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001128/0.2764, allocations: 67.94 kB / 435.4 MB, free: 384 kB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005648/0.2769, allocations: 0.5429 MB / 435.9 MB, free: 15.82 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001245/0.2782, allocations: 0.6048 MB / 436.5 MB, free: 15.21 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008592/0.2868, allocations: 7.699 MB / 444.2 MB, free: 7.324 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001072/0.2879, allocations: 1.28 MB / 445.5 MB, free: 6.012 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0009576/0.2888, allocations: 438.1 kB / 445.9 MB, free: 5.578 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006638/0.2895, allocations: 465.2 kB / 446.4 MB, free: 5.121 MB / 410.7 MB Notification: Performance of SimCode: time 1.302e-06/0.2895, allocations: 4 kB / 446.4 MB, free: 5.117 MB / 410.7 MB Notification: Performance of Templates: time 0.1717/0.4612, allocations: 23.45 MB / 469.8 MB, free: 137.4 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Cylindrical.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Cylindrical.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Cylindrical.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Cylindrical -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Cylindrical.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Cylindrical_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/Cylindrical/Cylindrical.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: 3.845054723788053]