Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.Cylindrical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cylindrical.phi|cylindrical.s|cylindrical.v|cylindrical.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical") translateModel(ModelicaTest.MultiBody.Joints.Cylindrical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cylindrical.phi|cylindrical.s|cylindrical.v|cylindrical.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009914/0.0009914, allocations: 174.2 kB / 17.41 MB, free: 4.41 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.313/1.313, allocations: 225.7 MB / 243.9 MB, free: 10.2 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009939/0.0009938, allocations: 90.3 kB / 295 MB, free: 9.742 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3328/0.3328, allocations: 44.33 MB / 390.5 MB, free: 38.38 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005511/0.0005513, allocations: 12 kB / 463.1 MB, free: 500 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3716/0.3722, allocations: 61.91 MB / 0.5127 GB, free: 37.97 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.02752/0.3998, allocations: 34.42 MB / 0.5464 GB, free: 13.63 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0199/0.4197, allocations: 10.76 MB / 0.5569 GB, free: 5.008 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008302/0.4281, allocations: 154.4 kB / 0.557 GB, free: 4.984 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001605/0.4297, allocations: 479.3 kB / 0.5575 GB, free: 4.809 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00506/0.4348, allocations: 1.722 MB / 0.5592 GB, free: 4.109 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001318/0.4361, allocations: 0.5024 MB / 0.5596 GB, free: 3.918 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.007248/0.4434, allocations: 5.429 MB / 0.5649 GB, free: 2.27 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005587/0.449, allocations: 3.909 MB / 0.5688 GB, free: 228 kB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002952/0.452, allocations: 1.147 MB / 0.5699 GB, free: 15.83 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004162/0.4562, allocations: 1.863 MB / 0.5717 GB, free: 15.25 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007786/0.457, allocations: 150.9 kB / 0.5718 GB, free: 15.25 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002868/0.4598, allocations: 0.9096 MB / 0.5727 GB, free: 15.02 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002536/0.4624, allocations: 1.621 MB / 0.5743 GB, free: 13.98 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003358/0.4658, allocations: 1.969 MB / 0.5762 GB, free: 12 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008873/0.4747, allocations: 6.419 MB / 0.5825 GB, free: 5.555 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.195e-05/0.4747, allocations: 4 kB / 0.5825 GB, free: 5.551 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.394e-06/0.4747, allocations: 0 / 0.5825 GB, free: 5.551 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001989/0.4749, allocations: 0 / 0.5825 GB, free: 5.551 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.007273/0.4822, allocations: 3.713 MB / 0.5861 GB, free: 1.77 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.565e-05/0.4823, allocations: 16.03 kB / 0.5862 GB, free: 1.754 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01012/0.4924, allocations: 3.204 MB / 0.5893 GB, free: 14.54 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004942/0.4974, allocations: 2.124 MB / 0.5914 GB, free: 12.36 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001968/0.4976, allocations: 217.8 kB / 0.5916 GB, free: 12.15 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009615/0.4986, allocations: 295.7 kB / 0.5918 GB, free: 11.86 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01802/0.5166, allocations: 11.09 MB / 0.6027 GB, free: 312 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.685e-05/0.5167, allocations: 31.7 kB / 0.6027 GB, free: 280 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003765/0.5171, allocations: 135.8 kB / 0.6028 GB, free: 144 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004079/0.5212, allocations: 2.624 MB / 0.6054 GB, free: 13.51 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02052/0.5417, allocations: 10.33 MB / 0.6155 GB, free: 3.16 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06053/0.6023, allocations: 36.72 MB / 0.6513 GB, free: 13.54 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009979/0.6123, allocations: 4.567 MB / 0.6558 GB, free: 8.734 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003892/0.6163, allocations: 2.388 MB / 0.6581 GB, free: 6.344 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001425/0.6177, allocations: 1.323 MB / 0.6594 GB, free: 4.801 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.856e-05/0.6178, allocations: 60.5 kB / 0.6595 GB, free: 4.73 MB / 474.7 MB Notification: Performance of pre-optimization done (n=242): time 1.013e-05/0.6179, allocations: 4 kB / 0.6595 GB, free: 4.727 MB / 474.7 MB Notification: Performance of matching and sorting (n=254): time 0.04378/0.6617, allocations: 17.52 MB / 0.6766 GB, free: 3.137 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.012e-05/0.6618, allocations: 85.39 kB / 0.6767 GB, free: 3.043 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005526/0.6673, allocations: 2.711 MB / 0.6793 GB, free: 324 kB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004827/0.6678, allocations: 57.7 kB / 0.6794 GB, free: 260 kB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.2968/0.9646, allocations: 2.771 MB / 0.6821 GB, free: 129.7 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001325/0.966, allocations: 0.9115 MB / 0.683 GB, free: 129.2 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003471/0.9664, allocations: 108.2 kB / 0.6831 GB, free: 129.1 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002857/0.9667, allocations: 0.5365 MB / 0.6836 GB, free: 128.7 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003033/0.9697, allocations: 2.298 MB / 0.6859 GB, free: 128 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004095/0.9738, allocations: 5.206 MB / 0.6909 GB, free: 123.4 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00727/0.9811, allocations: 8.241 MB / 0.699 GB, free: 117.3 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.229e-05/0.9812, allocations: 27.62 kB / 0.699 GB, free: 117.3 MB / 490.7 MB Notification: Performance of matching and sorting (n=718) (initialization): time 0.01293/0.9941, allocations: 8.244 MB / 0.7071 GB, free: 114.4 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.162e-05/0.9943, allocations: 51.19 kB / 0.7071 GB, free: 114.4 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001218/0.9944, allocations: 100.7 kB / 0.7072 GB, free: 114.4 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002667/0.9971, allocations: 0.9372 MB / 0.7081 GB, free: 114.2 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004682/1.002, allocations: 1.221 MB / 0.7093 GB, free: 114.1 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006786/1.009, allocations: 4.801 MB / 0.714 GB, free: 111.6 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004482/1.013, allocations: 313.2 kB / 0.7143 GB, free: 111.5 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001011/1.014, allocations: 312.6 kB / 0.7146 GB, free: 111.5 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 459 * 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 (657): * Single equations (assignments): 650 * 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 {(2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004565/1.019, allocations: 2.15 MB / 0.7167 GB, free: 110.5 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005155/1.019, allocations: 273.2 kB / 0.717 GB, free: 110.4 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009276/1.029, allocations: 5.114 MB / 0.722 GB, free: 108.7 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.594e-05/1.029, allocations: 42.44 kB / 0.722 GB, free: 108.7 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.568e-05/1.029, allocations: 3.406 kB / 0.722 GB, free: 108.7 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-05/1.029, allocations: 9.703 kB / 0.722 GB, free: 108.7 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01892/1.048, allocations: 11.89 MB / 0.7336 GB, free: 104.5 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.636e-05/1.048, allocations: 12.09 kB / 0.7336 GB, free: 104.5 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001428/1.049, allocations: 399 kB / 0.734 GB, free: 104.3 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002076/1.051, allocations: 0.7668 MB / 0.7348 GB, free: 103.8 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001646/1.051, allocations: 59.31 kB / 0.7348 GB, free: 103.8 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004194/1.056, allocations: 4.078 MB / 0.7388 GB, free: 100.1 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.146e-06/1.056, allocations: 15.94 kB / 0.7388 GB, free: 100.1 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00863/1.064, allocations: 7.613 MB / 0.7462 GB, free: 93.41 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007142/1.065, allocations: 334.2 kB / 0.7466 GB, free: 93.08 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000307/1.065, allocations: 47.06 kB / 0.7466 GB, free: 93.04 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00112/1.067, allocations: 151.1 kB / 0.7468 GB, free: 92.94 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003231/1.067, allocations: 154.9 kB / 0.7469 GB, free: 92.84 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001442/1.067, allocations: 73.11 kB / 0.747 GB, free: 92.77 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.002007/1.069, allocations: 1.673 MB / 0.7486 GB, free: 91.31 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.7e-07/1.069, allocations: 0 / 0.7486 GB, free: 91.31 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.004214/1.073, allocations: 0.9841 MB / 0.7496 GB, free: 90.33 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 43 * 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 (196): * Single equations (assignments): 189 * 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 {(2,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003904/1.074, allocations: 203.6 kB / 0.7498 GB, free: 90.13 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006886/1.081, allocations: 5.583 MB / 0.7552 GB, free: 84.55 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.436e-06/1.081, allocations: 0 / 0.7552 GB, free: 84.55 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002257/1.083, allocations: 2.146 MB / 0.7573 GB, free: 82.4 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004758/1.088, allocations: 382.1 kB / 0.7577 GB, free: 82.03 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01676/1.104, allocations: 12.49 MB / 0.7699 GB, free: 69.38 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002824/1.107, allocations: 3.386 MB / 0.7732 GB, free: 65.96 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.004042/1.111, allocations: 1.984 MB / 0.7751 GB, free: 63.97 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006168/1.112, allocations: 211.4 kB / 0.7753 GB, free: 63.77 MB / 490.7 MB Notification: Performance of SimCode: time 8.51e-07/1.112, allocations: 0 / 0.7753 GB, free: 63.77 MB / 490.7 MB Notification: Performance of Templates: time 0.05379/1.166, allocations: 32.04 MB / 0.8066 GB, free: 31.95 MB / 490.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/Cylindrical/Cylindrical.csv","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches