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.001106/0.001106, allocations: 77.88 kB / 21.42 MB, free: 3.074 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.001218/0.001218, allocations: 168.6 kB / 24.82 MB, free: 9.273 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.043/1.043, allocations: 177.1 MB / 205.3 MB, free: 5.5 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.2976/0.2976, allocations: 34.27 MB / 296.1 MB, free: 0.7344 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.083e-06/2.083e-06, allocations: 0 / 378.5 MB, free: 2.395 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.951e-05/3.159e-05, allocations: 5.406 kB / 378.5 MB, free: 2.391 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.0112/0.01123, allocations: 12.67 MB / 391.2 MB, free: 5.656 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.008325/0.01956, allocations: 4.069 MB / 395.3 MB, free: 1.574 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001728/0.02128, allocations: 79.69 kB / 395.3 MB, free: 1.496 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002502/0.02379, allocations: 1.923 MB / 397.3 MB, free: 15.57 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00377/0.02756, allocations: 1.933 MB / 399.2 MB, free: 13.62 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001087/0.02864, allocations: 0.5963 MB / 399.8 MB, free: 13.03 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.003722/0.03237, allocations: 4.271 MB / 404.1 MB, free: 8.75 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00275/0.03512, allocations: 2.614 MB / 406.7 MB, free: 6.082 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00251/0.03763, allocations: 2.175 MB / 408.8 MB, free: 3.902 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002295/0.03992, allocations: 2.096 MB / 410.9 MB, free: 1.801 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004775/0.0404, allocations: 292 kB / 411.2 MB, free: 1.516 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001657/0.04205, allocations: 0.9672 MB / 412.2 MB, free: 0.5469 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002032/0.04409, allocations: 1.846 MB / 414 MB, free: 14.7 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001438/0.04552, allocations: 1.144 MB / 415.2 MB, free: 13.55 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00511/0.05063, allocations: 4.409 MB / 419.6 MB, free: 9.121 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.843e-06/0.05064, allocations: 0 / 419.6 MB, free: 9.121 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.05064, allocations: 0 / 419.6 MB, free: 9.121 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001507/0.05079, allocations: 0 / 419.6 MB, free: 9.121 MB / 394.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.007587/0.05838, allocations: 4.848 MB / 424.4 MB, free: 4.207 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.976e-05/0.05843, allocations: 8.031 kB / 424.4 MB, free: 4.199 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005981/0.06441, allocations: 1.906 MB / 426.4 MB, free: 2.289 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003119/0.06753, allocations: 1.745 MB / 428.1 MB, free: 0.5117 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001628/0.06769, allocations: 213.8 kB / 428.3 MB, free: 308 kB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005846/0.06828, allocations: 288.1 kB / 428.6 MB, free: 20 kB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008353/0.07663, allocations: 5.113 MB / 433.7 MB, free: 10.29 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.089e-05/0.07671, allocations: 31.75 kB / 433.7 MB, free: 10.26 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003301/0.07704, allocations: 135.8 kB / 433.9 MB, free: 10.12 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00292/0.07996, allocations: 2.238 MB / 436.1 MB, free: 7.883 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006713/0.08668, allocations: 2.687 MB / 438.8 MB, free: 5.156 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2111/0.2978, allocations: 35.35 MB / 474.1 MB, free: 67.19 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004/0.3018, allocations: 1.448 MB / 475.6 MB, free: 67 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000663/0.3025, allocations: 454.8 kB / 476 MB, free: 66.95 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006677/0.3091, allocations: 4.011 MB / 480 MB, free: 65.39 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.427e-05/0.3092, allocations: 57.66 kB / 480.1 MB, free: 65.32 MB / 410.7 MB Notification: Performance of pre-optimization done (n=180): time 3.937e-06/0.3092, allocations: 0 / 480.1 MB, free: 65.32 MB / 410.7 MB Notification: Performance of matching and sorting (n=187): time 0.01252/0.3217, allocations: 5.515 MB / 485.6 MB, free: 63.76 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.365e-05/0.3217, allocations: 71.28 kB / 485.7 MB, free: 63.7 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002598/0.3243, allocations: 2.757 MB / 488.4 MB, free: 62.75 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.48e-05/0.3244, allocations: 50.64 kB / 488.5 MB, free: 62.7 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001309/0.3257, allocations: 3.219 MB / 491.7 MB, free: 60.18 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004647/0.3262, allocations: 0.7639 MB / 492.5 MB, free: 59.6 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001169/0.3274, allocations: 1.167 MB / 493.6 MB, free: 58.96 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.31e-05/0.3274, allocations: 485.3 kB / 494.1 MB, free: 58.49 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001087/0.3285, allocations: 0.517 MB / 494.6 MB, free: 58.41 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00272/0.3312, allocations: 5.089 MB / 499.7 MB, free: 52.23 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004504/0.3357, allocations: 6.148 MB / 0.494 GB, free: 45.52 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.387e-05/0.3358, allocations: 30.59 kB / 0.494 GB, free: 45.52 MB / 410.7 MB Notification: Performance of matching and sorting (n=704) (initialization): time 0.006496/0.3423, allocations: 4.145 MB / 0.4981 GB, free: 43.99 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.165e-05/0.3424, allocations: 50.88 kB / 0.4981 GB, free: 43.99 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001474/0.3425, allocations: 107.6 kB / 0.4982 GB, free: 43.99 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003712/0.3429, allocations: 189.7 kB / 0.4984 GB, free: 43.97 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002549/0.3455, allocations: 1.143 MB / 0.4995 GB, free: 43.83 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009721/0.3464, allocations: 1.985 MB / 0.5015 GB, free: 42.01 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002505/0.3489, allocations: 207.6 kB / 0.5017 GB, free: 41.93 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00036/0.3493, allocations: 277.5 kB / 0.5019 GB, free: 41.88 MB / 410.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.001603/0.3509, allocations: 0.5691 MB / 0.5025 GB, free: 41.42 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004038/0.3513, allocations: 316.7 kB / 0.5028 GB, free: 41.24 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001568/0.3529, allocations: 1.093 MB / 0.5039 GB, free: 40.84 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.449e-05/0.3529, allocations: 24.16 kB / 0.5039 GB, free: 40.84 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.3529, allocations: 0 / 0.5039 GB, free: 40.84 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.578e-05/0.3529, allocations: 9.469 kB / 0.5039 GB, free: 40.84 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007249/0.3602, allocations: 4.951 MB / 0.5087 GB, free: 38.36 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.274e-05/0.3602, allocations: 7.781 kB / 0.5087 GB, free: 38.36 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007082/0.3609, allocations: 227 kB / 0.509 GB, free: 38.34 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001749/0.3611, allocations: 55.02 kB / 0.509 GB, free: 38.32 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.288e-05/0.3611, allocations: 44.02 kB / 0.509 GB, free: 38.3 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007196/0.3619, allocations: 1.788 MB / 0.5108 GB, free: 36.54 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.923e-06/0.3619, allocations: 17.7 kB / 0.5108 GB, free: 36.53 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00182/0.3637, allocations: 1.834 MB / 0.5126 GB, free: 35.44 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003259/0.364, allocations: 249.7 kB / 0.5128 GB, free: 35.27 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000172/0.3642, allocations: 34.31 kB / 0.5129 GB, free: 35.26 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004321/0.3646, allocations: 36.12 kB / 0.5129 GB, free: 35.24 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001274/0.3647, allocations: 112.9 kB / 0.513 GB, free: 35.21 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8e-05/0.3648, allocations: 54.11 kB / 0.5131 GB, free: 35.2 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001096/0.3659, allocations: 1.084 MB / 0.5141 GB, free: 34.8 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3659, allocations: 3.031 kB / 0.5141 GB, free: 34.8 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002921/0.3688, allocations: 0.9195 MB / 0.515 GB, free: 34.38 MB / 410.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.0003394/0.3692, allocations: 184.2 kB / 0.5152 GB, free: 34.2 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003194/0.3724, allocations: 2.442 MB / 0.5176 GB, free: 32.03 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.352e-06/0.3724, allocations: 0 / 0.5176 GB, free: 32.03 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000609/0.373, allocations: 0.6663 MB / 0.5182 GB, free: 31.41 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00117/0.3742, allocations: 312.2 kB / 0.5185 GB, free: 31.15 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01133/0.3855, allocations: 7.721 MB / 0.5261 GB, free: 23.83 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001693/0.3872, allocations: 1.262 MB / 0.5273 GB, free: 22.91 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001347/0.3885, allocations: 429.2 kB / 0.5277 GB, free: 22.6 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000642/0.3892, allocations: 497.7 kB / 0.5282 GB, free: 22.14 MB / 410.7 MB Notification: Performance of SimCode: time 2.905e-06/0.3892, allocations: 0 / 0.5282 GB, free: 22.14 MB / 410.7 MB Notification: Performance of Templates: time 0.03926/0.4284, allocations: 23.18 MB / 0.5508 GB, free: 1.324 MB / 410.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 -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.270169419236481]