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.001429/0.001429, allocations: 82.64 kB / 21.44 MB, free: 3.059 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.001585/0.001585, allocations: 168.5 kB / 24.84 MB, free: 9.297 MB / 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.9656/0.9656, allocations: 158.6 MB / 186.7 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.162/0.162, allocations: 32.38 MB / 271.5 MB, free: 14.53 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 2.014e-06/2.014e-06, allocations: 0 / 348.9 MB, free: 9.156 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.34e-05/2.542e-05, allocations: 6.25 kB / 348.9 MB, free: 9.148 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.0134/0.01343, allocations: 13.06 MB / 362 MB, free: 12.03 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.007503/0.02093, allocations: 4.097 MB / 366.1 MB, free: 7.918 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001874/0.02281, allocations: 79.75 kB / 366.2 MB, free: 7.84 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00293/0.02574, allocations: 1.938 MB / 368.1 MB, free: 5.895 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003966/0.0297, allocations: 1.999 MB / 370.1 MB, free: 3.887 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001131/0.03083, allocations: 0.608 MB / 370.7 MB, free: 3.273 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0045/0.03533, allocations: 4.305 MB / 375 MB, free: 14.96 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003261/0.03859, allocations: 2.665 MB / 377.7 MB, free: 12.25 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003675/0.04227, allocations: 2.245 MB / 379.9 MB, free: 10 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003898/0.04617, allocations: 2.143 MB / 382.1 MB, free: 7.852 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00106/0.04723, allocations: 292 kB / 382.4 MB, free: 7.566 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001796/0.04902, allocations: 0.9673 MB / 383.3 MB, free: 6.598 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001538/0.05056, allocations: 1.913 MB / 385.2 MB, free: 4.68 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001834/0.05239, allocations: 1.183 MB / 386.4 MB, free: 3.492 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005893/0.05829, allocations: 4.552 MB / 391 MB, free: 14.92 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/0.05829, allocations: 0 / 391 MB, free: 14.92 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.0583, allocations: 0 / 391 MB, free: 14.92 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002298/0.05853, allocations: 0 / 391 MB, free: 14.92 MB / 330.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.007331/0.06586, allocations: 4.977 MB / 395.9 MB, free: 9.875 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.773e-05/0.06589, allocations: 12.02 kB / 396 MB, free: 9.863 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006211/0.0721, allocations: 1.925 MB / 397.9 MB, free: 7.934 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003301/0.07541, allocations: 1.791 MB / 399.7 MB, free: 6.102 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001444/0.07555, allocations: 222 kB / 399.9 MB, free: 5.883 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005521/0.0761, allocations: 296.1 kB / 400.2 MB, free: 5.594 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007979/0.08408, allocations: 5.214 MB / 405.4 MB, free: 15.75 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.798e-05/0.08417, allocations: 31.7 kB / 405.4 MB, free: 15.72 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003289/0.0845, allocations: 139.8 kB / 405.6 MB, free: 15.59 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002222/0.08672, allocations: 2.309 MB / 407.9 MB, free: 13.27 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007309/0.09403, allocations: 2.711 MB / 410.6 MB, free: 10.53 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04052/0.1345, allocations: 36.18 MB / 446.8 MB, free: 5.164 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004814/0.1394, allocations: 1.453 MB / 448.2 MB, free: 3.703 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008065/0.1402, allocations: 453.3 kB / 448.7 MB, free: 3.262 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1674/0.3075, allocations: 4.026 MB / 452.7 MB, free: 97.34 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.007e-05/0.3076, allocations: 51.33 kB / 452.7 MB, free: 97.29 MB / 378.7 MB Notification: Performance of pre-optimization done (n=180): time 4.97e-06/0.3076, allocations: 0 / 452.7 MB, free: 97.29 MB / 378.7 MB Notification: Performance of matching and sorting (n=187): time 0.01189/0.3195, allocations: 5.547 MB / 458.3 MB, free: 96.76 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.938e-05/0.3195, allocations: 67.34 kB / 458.3 MB, free: 96.7 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002795/0.3223, allocations: 2.82 MB / 461.2 MB, free: 96.22 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001302/0.3224, allocations: 53.44 kB / 461.2 MB, free: 96.19 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001319/0.3237, allocations: 3.308 MB / 464.5 MB, free: 94.43 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004798/0.3242, allocations: 0.7611 MB / 465.3 MB, free: 94 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001024/0.3252, allocations: 1.183 MB / 466.5 MB, free: 93.86 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.967e-05/0.3253, allocations: 486.1 kB / 466.9 MB, free: 93.39 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008161/0.3261, allocations: 0.524 MB / 467.5 MB, free: 93.38 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002214/0.3283, allocations: 5.212 MB / 472.7 MB, free: 87.41 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003887/0.3322, allocations: 6.275 MB / 479 MB, free: 81.21 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.078e-05/0.3323, allocations: 33.78 kB / 479 MB, free: 81.21 MB / 378.7 MB Notification: Performance of matching and sorting (n=716) (initialization): time 0.004997/0.3373, allocations: 4.218 MB / 483.2 MB, free: 78.68 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.381e-05/0.3374, allocations: 53.25 kB / 483.3 MB, free: 78.62 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.827e-05/0.3374, allocations: 108 kB / 483.4 MB, free: 78.52 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002818/0.3377, allocations: 193.9 kB / 483.6 MB, free: 78.34 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001817/0.3395, allocations: 1.167 MB / 484.7 MB, free: 77.29 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00083/0.3404, allocations: 1.987 MB / 486.7 MB, free: 75.26 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002155/0.3425, allocations: 210.2 kB / 486.9 MB, free: 75.05 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002363/0.3428, allocations: 279.8 kB / 487.2 MB, free: 74.79 MB / 378.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.001195/0.344, allocations: 0.5885 MB / 487.8 MB, free: 74.19 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004036/0.3444, allocations: 316.1 kB / 488.1 MB, free: 73.88 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001152/0.3455, allocations: 1.101 MB / 489.2 MB, free: 72.95 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.836e-05/0.3455, allocations: 27.38 kB / 489.2 MB, free: 72.92 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.3455, allocations: 0 / 489.2 MB, free: 72.92 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.116e-06/0.3455, allocations: 3.609 kB / 489.2 MB, free: 72.92 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005693/0.3512, allocations: 5.041 MB / 494.3 MB, free: 68.46 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.009e-05/0.3512, allocations: 10.94 kB / 494.3 MB, free: 68.45 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005406/0.3518, allocations: 235.6 kB / 494.5 MB, free: 68.22 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000145/0.3519, allocations: 52.45 kB / 494.5 MB, free: 68.16 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.579e-05/0.352, allocations: 39.98 kB / 494.6 MB, free: 68.12 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006464/0.3526, allocations: 1.782 MB / 496.4 MB, free: 66.23 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.519e-06/0.3526, allocations: 11.94 kB / 496.4 MB, free: 66.22 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001788/0.3544, allocations: 1.843 MB / 498.2 MB, free: 64.2 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007671/0.3552, allocations: 394 kB / 498.6 MB, free: 63.81 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002686/0.3555, allocations: 36 kB / 498.6 MB, free: 63.78 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005171/0.356, allocations: 32 kB / 498.7 MB, free: 63.75 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001237/0.3561, allocations: 128.5 kB / 498.8 MB, free: 63.62 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.576e-05/0.3562, allocations: 52 kB / 498.8 MB, free: 63.57 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0009914/0.3572, allocations: 1.111 MB / 500 MB, free: 62.45 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.3572, allocations: 0 / 500 MB, free: 62.45 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003325/0.3605, allocations: 0.9569 MB / 0.4892 GB, free: 61.5 MB / 378.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.0003699/0.3609, allocations: 186.8 kB / 0.4894 GB, free: 61.3 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003298/0.3642, allocations: 2.477 MB / 0.4918 GB, free: 58.83 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.126e-05/0.3642, allocations: 0 / 0.4918 GB, free: 58.83 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006456/0.3648, allocations: 0.6677 MB / 0.4924 GB, free: 58.15 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001413/0.3662, allocations: 305.2 kB / 0.4927 GB, free: 57.86 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01068/0.3769, allocations: 7.901 MB / 0.5004 GB, free: 49.75 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001404/0.3783, allocations: 1.288 MB / 0.5017 GB, free: 48.43 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001216/0.3795, allocations: 440.5 kB / 0.5021 GB, free: 48 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005869/0.3801, allocations: 0.4903 MB / 0.5026 GB, free: 47.51 MB / 378.7 MB Notification: Performance of SimCode: time 2.705e-06/0.3801, allocations: 0 / 0.5026 GB, free: 47.51 MB / 378.7 MB Notification: Performance of Templates: time 0.04031/0.4204, allocations: 24.03 MB / 0.5261 GB, free: 23.64 MB / 378.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 -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: 4.3350092731416225]