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.001088/0.001088, allocations: 80.8 kB / 21.49 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.0009081/0.0009081, allocations: 167.3 kB / 24.91 MB, free: 9.109 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 0.8828/0.8828, allocations: 177.1 MB / 205.3 MB, free: 5.508 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.2574/0.2574, allocations: 34.26 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.214e-06/2.214e-06, allocations: 0 / 325.2 MB, free: 7.719 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.047e-05/2.268e-05, allocations: 6.312 kB / 325.2 MB, free: 7.711 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.009436/0.009459, allocations: 12.7 MB / 337.9 MB, free: 10.95 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.00785/0.01731, allocations: 4.228 MB / 342.2 MB, free: 6.707 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001282/0.01859, allocations: 79.69 kB / 342.3 MB, free: 6.629 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001931/0.02052, allocations: 1.934 MB / 344.2 MB, free: 4.688 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002674/0.02319, allocations: 1.941 MB / 346.1 MB, free: 2.738 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000778/0.02397, allocations: 0.6002 MB / 346.7 MB, free: 2.137 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002773/0.02675, allocations: 4.271 MB / 351 MB, free: 13.86 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002007/0.02875, allocations: 2.696 MB / 353.7 MB, free: 11.09 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001663/0.03042, allocations: 2.163 MB / 355.9 MB, free: 8.926 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001565/0.03198, allocations: 2.011 MB / 357.9 MB, free: 6.91 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002796/0.03226, allocations: 288 kB / 358.1 MB, free: 6.629 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001002/0.03326, allocations: 0.94 MB / 359.1 MB, free: 5.688 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001201/0.03446, allocations: 1.858 MB / 360.9 MB, free: 3.824 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007898/0.03525, allocations: 1.133 MB / 362.1 MB, free: 2.688 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003072/0.03832, allocations: 4.417 MB / 366.5 MB, free: 14.25 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.03833, allocations: 0 / 366.5 MB, free: 14.25 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.03833, allocations: 0 / 366.5 MB, free: 14.25 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.563e-05/0.03837, allocations: 0 / 366.5 MB, free: 14.25 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.003516/0.04189, allocations: 4.213 MB / 370.7 MB, free: 9.984 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.027e-05/0.04192, allocations: 12.03 kB / 370.7 MB, free: 9.973 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003262/0.04518, allocations: 1.448 MB / 372.2 MB, free: 8.523 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001764/0.04695, allocations: 1.573 MB / 373.7 MB, free: 6.914 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.463e-05/0.04704, allocations: 221.8 kB / 374 MB, free: 6.695 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003147/0.04736, allocations: 276.2 kB / 374.2 MB, free: 6.426 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004131/0.05149, allocations: 4.786 MB / 379 MB, free: 1.176 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.536e-05/0.05154, allocations: 19.81 kB / 379 MB, free: 1.156 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002362/0.05178, allocations: 135.8 kB / 379.2 MB, free: 1.023 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002084/0.05386, allocations: 2.238 MB / 381.4 MB, free: 14.78 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003725/0.05759, allocations: 2.714 MB / 384.1 MB, free: 12.03 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01951/0.0771, allocations: 26.84 MB / 411 MB, free: 228 kB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002675/0.07977, allocations: 1.489 MB / 412.4 MB, free: 14.73 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004405/0.08021, allocations: 367.4 kB / 412.8 MB, free: 14.37 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005117/0.08533, allocations: 3.799 MB / 416.6 MB, free: 10.55 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.303e-05/0.08536, allocations: 55.81 kB / 416.7 MB, free: 10.48 MB / 394.7 MB Notification: Performance of pre-optimization done (n=180): time 3.096e-06/0.08537, allocations: 0 / 416.7 MB, free: 10.48 MB / 394.7 MB Notification: Performance of matching and sorting (n=187): time 0.008636/0.094, allocations: 4.974 MB / 421.6 MB, free: 5.488 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.447e-05/0.09404, allocations: 72.59 kB / 421.7 MB, free: 5.406 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001925/0.09596, allocations: 2.463 MB / 424.2 MB, free: 2.922 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 6.833e-05/0.09603, allocations: 49.69 kB / 424.2 MB, free: 2.867 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001109/0.09714, allocations: 2.963 MB / 427.2 MB, free: 15.87 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003412/0.09748, allocations: 0.7207 MB / 427.9 MB, free: 15.14 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007219/0.0982, allocations: 0.9896 MB / 428.9 MB, free: 14.14 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.671e-05/0.09827, allocations: 301.1 kB / 429.2 MB, free: 13.85 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009261/0.0992, allocations: 0.67 MB / 429.9 MB, free: 13.17 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002329/0.1015, allocations: 3.612 MB / 433.5 MB, free: 8.039 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003175/0.1047, allocations: 4.721 MB / 438.2 MB, free: 1.797 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.043e-05/0.1047, allocations: 32 kB / 438.2 MB, free: 1.766 MB / 410.7 MB Notification: Performance of matching and sorting (n=704) (initialization): time 0.003198/0.1079, allocations: 3.479 MB / 441.7 MB, free: 14.27 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.238e-05/0.108, allocations: 52 kB / 441.7 MB, free: 14.22 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-05/0.108, allocations: 108.8 kB / 441.9 MB, free: 14.12 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002472/0.1083, allocations: 183.6 kB / 442 MB, free: 13.93 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002113/0.1104, allocations: 1.142 MB / 443.2 MB, free: 12.79 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000864/0.1113, allocations: 1.448 MB / 444.6 MB, free: 11.25 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00138/0.1126, allocations: 204 kB / 444.8 MB, free: 11.05 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002387/0.1129, allocations: 280 kB / 445.1 MB, free: 10.77 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.001131/0.114, allocations: 0.5407 MB / 445.6 MB, free: 10.22 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002327/0.1142, allocations: 175.8 kB / 445.8 MB, free: 10.05 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001024/0.1153, allocations: 0.9125 MB / 446.7 MB, free: 9.109 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.082e-05/0.1153, allocations: 28.03 kB / 446.7 MB, free: 9.082 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.1153, allocations: 3.938 kB / 446.8 MB, free: 9.078 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.205e-05/0.1153, allocations: 11.97 kB / 446.8 MB, free: 9.066 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00489/0.1202, allocations: 4.056 MB / 450.8 MB, free: 4.852 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.937e-06/0.1202, allocations: 11.98 kB / 450.8 MB, free: 4.84 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005075/0.1207, allocations: 231.7 kB / 451.1 MB, free: 4.613 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000136/0.1208, allocations: 55.58 kB / 451.1 MB, free: 4.555 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.179e-05/0.1209, allocations: 35.98 kB / 451.1 MB, free: 4.516 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008337/0.1217, allocations: 1.382 MB / 452.5 MB, free: 3.035 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.733e-06/0.1217, allocations: 15.94 kB / 452.5 MB, free: 3.02 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001423/0.1232, allocations: 1.475 MB / 454 MB, free: 1.402 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002275/0.1234, allocations: 234.2 kB / 454.2 MB, free: 1.172 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001769/0.1236, allocations: 47.95 kB / 454.3 MB, free: 1.125 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000391/0.124, allocations: 32 kB / 454.3 MB, free: 1.094 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000124/0.1241, allocations: 116.6 kB / 454.4 MB, free: 0.9766 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.489e-05/0.1242, allocations: 48 kB / 454.5 MB, free: 0.9297 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0006838/0.1248, allocations: 0.8649 MB / 455.4 MB, free: 56 kB / 426.7 MB Notification: Performance of sort global known variables: time 3.31e-07/0.1248, allocations: 0 / 455.4 MB, free: 56 kB / 426.7 MB Notification: Performance of remove unused functions: time 0.1628/0.2876, allocations: 0.9097 MB / 456.3 MB, free: 121.7 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.0003351/0.288, allocations: 165.6 kB / 456.4 MB, free: 121.6 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002527/0.2905, allocations: 2.191 MB / 458.6 MB, free: 121.4 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001128/0.2906, allocations: 61.19 kB / 458.7 MB, free: 121.4 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000539/0.2912, allocations: 0.5432 MB / 459.2 MB, free: 121.3 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001713/0.2929, allocations: 0.5986 MB / 459.8 MB, free: 121.3 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00716/0.3, allocations: 7.543 MB / 467.4 MB, free: 118.1 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008314/0.3009, allocations: 1.243 MB / 468.6 MB, free: 117.9 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.000819/0.3017, allocations: 424.5 kB / 469 MB, free: 117.9 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007911/0.3025, allocations: 466.2 kB / 469.5 MB, free: 117.8 MB / 426.7 MB Notification: Performance of SimCode: time 6.01e-07/0.3025, allocations: 0 / 469.5 MB, free: 117.8 MB / 426.7 MB Notification: Performance of Templates: time 0.03075/0.3332, allocations: 23.1 MB / 492.6 MB, free: 98.24 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 -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: 3.7816169331781566]