Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.001516/0.001516, allocations: 80.92 kB / 21.5 MB, free: 2.992 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.001698/0.001698, allocations: 169.9 kB / 24.91 MB, free: 9.195 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.028/1.028, allocations: 177.1 MB / 205.3 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2895/0.2895, allocations: 34.26 MB / 296.1 MB, free: 0.7227 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.0_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_4.1.0_ModelicaTest.MultiBody.Joints.Cylindrical") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.094e-06/2.094e-06, allocations: 0 / 325.3 MB, free: 7.641 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.766e-05/2.976e-05, allocations: 3.188 kB / 325.3 MB, free: 7.637 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.01526/0.01529, allocations: 12.74 MB / 338 MB, free: 10.83 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.009088/0.02437, allocations: 4.232 MB / 342.3 MB, free: 6.582 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001989/0.02636, allocations: 79.69 kB / 342.3 MB, free: 6.504 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002469/0.02883, allocations: 1.907 MB / 344.3 MB, free: 4.59 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003556/0.03239, allocations: 1.909 MB / 346.2 MB, free: 2.672 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001122/0.03351, allocations: 0.5963 MB / 346.8 MB, free: 2.074 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.004374/0.03789, allocations: 4.269 MB / 351 MB, free: 13.8 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003222/0.04111, allocations: 2.583 MB / 353.6 MB, free: 11.14 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002999/0.04411, allocations: 2.14 MB / 355.8 MB, free: 9 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002784/0.04689, allocations: 2.003 MB / 357.8 MB, free: 6.992 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007364/0.04763, allocations: 288 kB / 358 MB, free: 6.711 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001544/0.04917, allocations: 0.9712 MB / 359 MB, free: 5.738 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001269/0.05044, allocations: 1.858 MB / 360.9 MB, free: 3.875 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001604/0.05204, allocations: 1.137 MB / 362 MB, free: 2.734 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004529/0.05657, allocations: 4.417 MB / 366.4 MB, free: 14.3 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.05658, allocations: 0 / 366.4 MB, free: 14.3 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.05658, allocations: 0 / 366.4 MB, free: 14.3 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001901/0.05677, allocations: 0 / 366.4 MB, free: 14.3 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1641 * Number of variables: 1641 Notification: Performance of Generate backend data structure: time 0.005563/0.06233, allocations: 4.217 MB / 370.6 MB, free: 10.03 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/0.06237, allocations: 12.02 kB / 370.6 MB, free: 10.02 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003826/0.0662, allocations: 1.44 MB / 372.1 MB, free: 8.574 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00205/0.06825, allocations: 1.569 MB / 373.7 MB, free: 6.969 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001081/0.06836, allocations: 217.8 kB / 373.9 MB, free: 6.754 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003588/0.06872, allocations: 288.2 kB / 374.2 MB, free: 6.473 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005836/0.07455, allocations: 4.778 MB / 378.9 MB, free: 1.23 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.639e-05/0.07463, allocations: 31.78 kB / 379 MB, free: 1.199 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002507/0.07488, allocations: 127.8 kB / 379.1 MB, free: 1.074 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00198/0.07686, allocations: 2.242 MB / 381.3 MB, free: 14.83 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005804/0.08266, allocations: 2.709 MB / 384 MB, free: 12.08 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02556/0.1082, allocations: 26.85 MB / 410.9 MB, free: 272 kB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004055/0.1123, allocations: 1.474 MB / 412.4 MB, free: 14.79 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006193/0.1129, allocations: 363.4 kB / 412.7 MB, free: 14.43 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007125/0.12, allocations: 3.815 MB / 416.5 MB, free: 10.59 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.887e-05/0.1201, allocations: 51.8 kB / 416.6 MB, free: 10.53 MB / 394.7 MB Notification: Performance of pre-optimization done (n=180): time 4.99e-06/0.1201, allocations: 0 / 416.6 MB, free: 10.53 MB / 394.7 MB Notification: Performance of matching and sorting (n=187): time 0.01314/0.1332, allocations: 4.966 MB / 421.5 MB, free: 5.543 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.008e-05/0.1332, allocations: 68.66 kB / 421.6 MB, free: 5.465 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002532/0.1358, allocations: 2.467 MB / 424.1 MB, free: 2.977 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 8e-05/0.1359, allocations: 45.7 kB / 424.1 MB, free: 2.926 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001427/0.1373, allocations: 2.963 MB / 427.1 MB, free: 15.93 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004467/0.1377, allocations: 0.7246 MB / 427.8 MB, free: 15.2 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001022/0.1387, allocations: 0.9896 MB / 428.8 MB, free: 14.2 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.734e-05/0.1388, allocations: 301.1 kB / 429.1 MB, free: 13.9 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001288/0.1401, allocations: 0.6661 MB / 429.8 MB, free: 13.23 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002594/0.1427, allocations: 3.616 MB / 433.4 MB, free: 8.094 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00444/0.1471, allocations: 4.714 MB / 438.1 MB, free: 1.859 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.766e-05/0.1472, allocations: 28 kB / 438.1 MB, free: 1.832 MB / 410.7 MB Notification: Performance of matching and sorting (n=704) (initialization): time 0.00491/0.1521, allocations: 3.49 MB / 441.6 MB, free: 14.33 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.48e-05/0.1522, allocations: 52 kB / 441.7 MB, free: 14.28 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.32e-05/0.1522, allocations: 108.8 kB / 441.8 MB, free: 14.18 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002817/0.1525, allocations: 187.7 kB / 442 MB, free: 13.99 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002261/0.1548, allocations: 1.189 MB / 443.1 MB, free: 12.8 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001006/0.1558, allocations: 1.452 MB / 444.6 MB, free: 11.25 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001723/0.1575, allocations: 200 kB / 444.8 MB, free: 11.05 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002444/0.1577, allocations: 280 kB / 445.1 MB, free: 10.78 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 491 * Number of states: 0 () * Number of discrete variables: 35 (axis.arrowLine.twoHeadedArrow,axis.headAtOrigin,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 (654): * Single equations (assignments): 647 * 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.001143/0.1589, allocations: 0.5408 MB / 445.6 MB, free: 10.23 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002383/0.1591, allocations: 175.8 kB / 445.8 MB, free: 10.05 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001094/0.1602, allocations: 0.9242 MB / 446.7 MB, free: 9.105 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.157e-05/0.1602, allocations: 23.98 kB / 446.7 MB, free: 9.082 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.1602, allocations: 11.94 kB / 446.7 MB, free: 9.07 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.137e-06/0.1603, allocations: 3.984 kB / 446.7 MB, free: 9.066 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004759/0.165, allocations: 4.06 MB / 450.8 MB, free: 4.848 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.246e-06/0.165, allocations: 8 kB / 450.8 MB, free: 4.84 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005955/0.1656, allocations: 235.7 kB / 451 MB, free: 4.609 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000135/0.1658, allocations: 51.64 kB / 451.1 MB, free: 4.555 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.573e-05/0.1658, allocations: 40.36 kB / 451.1 MB, free: 4.512 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008042/0.1666, allocations: 1.389 MB / 452.5 MB, free: 3.023 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.662e-06/0.1666, allocations: 15.94 kB / 452.5 MB, free: 3.008 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001474/0.1681, allocations: 1.463 MB / 454 MB, free: 1.402 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002653/0.1684, allocations: 242.2 kB / 454.2 MB, free: 1.164 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001746/0.1685, allocations: 39.98 kB / 454.3 MB, free: 1.125 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004468/0.169, allocations: 32 kB / 454.3 MB, free: 1.094 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001516/0.1691, allocations: 112.6 kB / 454.4 MB, free: 0.9805 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.369e-05/0.1692, allocations: 47.98 kB / 454.5 MB, free: 0.9336 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0006835/0.1699, allocations: 0.8649 MB / 455.3 MB, free: 60 kB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1699, allocations: 0 / 455.3 MB, free: 60 kB / 426.7 MB Notification: Performance of remove unused functions: time 0.1545/0.3244, allocations: 0.9131 MB / 456.2 MB, free: 121.6 MB / 426.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.0004615/0.3249, allocations: 166.8 kB / 456.4 MB, free: 121.5 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003757/0.3287, allocations: 2.194 MB / 458.6 MB, free: 121.3 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001907/0.3289, allocations: 61.81 kB / 458.7 MB, free: 121.3 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006566/0.3295, allocations: 0.5459 MB / 459.2 MB, free: 121.2 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002131/0.3316, allocations: 0.5961 MB / 459.8 MB, free: 121.1 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01007/0.3417, allocations: 7.549 MB / 467.3 MB, free: 118 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001379/0.3431, allocations: 1.241 MB / 468.6 MB, free: 117.8 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001265/0.3444, allocations: 431.7 kB / 469 MB, free: 117.7 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007083/0.3451, allocations: 464.3 kB / 469.5 MB, free: 117.7 MB / 426.7 MB Notification: Performance of SimCode: time 3.116e-06/0.3451, allocations: 0 / 469.5 MB, free: 117.7 MB / 426.7 MB Notification: Performance of Templates: time 0.03745/0.3825, allocations: 23.13 MB / 492.6 MB, free: 98.07 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Cylindrical.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Cylindrical.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Cylindrical.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Cylindrical -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Cylindrical.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Cylindrical_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/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: 4.061231120023876]