Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Cylindrical.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.MultiBody.Joints.Cylindrical") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001072/0.001073, allocations: 175.7 kB / 16.08 MB, free: 5.727 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.458/1.458, allocations: 205.6 MB / 222.4 MB, free: 8.926 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009098/0.0009098, allocations: 94.36 kB / 270.8 MB, free: 8.121 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4087/0.4087, allocations: 43.67 MB / 362.7 MB, free: 51.97 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003416/0.0003416, allocations: 11.94 kB / 432.3 MB, free: 4.777 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1342/0.1345, allocations: 58.84 MB / 491.2 MB, free: 9.801 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.3087/0.4433, allocations: 34.75 MB / 0.5136 GB, free: 25.61 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02283/0.4662, allocations: 10.82 MB / 0.5242 GB, free: 16.97 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01041/0.4766, allocations: 152.8 kB / 0.5243 GB, free: 16.95 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001926/0.4786, allocations: 482.5 kB / 0.5248 GB, free: 16.78 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006153/0.4847, allocations: 1.753 MB / 0.5265 GB, free: 16.05 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001782/0.4865, allocations: 0.5108 MB / 0.527 GB, free: 15.86 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.007298/0.4939, allocations: 5.544 MB / 0.5324 GB, free: 14.17 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005827/0.4997, allocations: 3.931 MB / 0.5362 GB, free: 12.16 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002804/0.5025, allocations: 1.181 MB / 0.5374 GB, free: 11.75 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003487/0.506, allocations: 1.899 MB / 0.5392 GB, free: 11.16 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00124/0.5073, allocations: 149.1 kB / 0.5394 GB, free: 11.16 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003385/0.5107, allocations: 0.9028 MB / 0.5403 GB, free: 10.94 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00301/0.5137, allocations: 1.653 MB / 0.5419 GB, free: 10.4 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.007674/0.5214, allocations: 2.012 MB / 0.5438 GB, free: 8.953 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01439/0.5359, allocations: 6.528 MB / 0.5502 GB, free: 6.66 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.698e-06/0.5359, allocations: 0 / 0.5502 GB, free: 6.66 MB / 378.7 MB Notification: Performance of FrontEnd: time 5.34e-06/0.5359, allocations: 1.062 kB / 0.5502 GB, free: 6.66 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0003826/0.5363, allocations: 0 / 0.5502 GB, free: 6.66 MB / 378.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.01331/0.5496, allocations: 3.795 MB / 0.5539 GB, free: 3.93 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.919e-05/0.5497, allocations: 13.28 kB / 0.5539 GB, free: 3.926 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01216/0.5619, allocations: 3.204 MB / 0.5571 GB, free: 2.301 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007151/0.5691, allocations: 2.189 MB / 0.5592 GB, free: 0.8906 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002484/0.5694, allocations: 228.9 kB / 0.5594 GB, free: 0.7773 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001422/0.5708, allocations: 302.9 kB / 0.5597 GB, free: 0.6641 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02349/0.5943, allocations: 11.31 MB / 0.5707 GB, free: 6.711 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001115/0.5945, allocations: 31.7 kB / 0.5708 GB, free: 6.68 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004256/0.5949, allocations: 135.8 kB / 0.5709 GB, free: 6.547 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004709/0.5997, allocations: 2.714 MB / 0.5736 GB, free: 3.828 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02348/0.6232, allocations: 10.44 MB / 0.5838 GB, free: 9.371 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07308/0.6963, allocations: 37.53 MB / 0.6204 GB, free: 2.898 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009855/0.7062, allocations: 4.561 MB / 0.6249 GB, free: 14.11 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004081/0.7103, allocations: 2.396 MB / 0.6272 GB, free: 11.71 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001503/0.7119, allocations: 1.311 MB / 0.6285 GB, free: 10.18 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.331e-05/0.712, allocations: 56.5 kB / 0.6285 GB, free: 10.11 MB / 458.7 MB Notification: Performance of pre-optimization done (n=242): time 8.987e-06/0.712, allocations: 0 / 0.6285 GB, free: 10.11 MB / 458.7 MB Notification: Performance of matching and sorting (n=254): time 0.04523/0.7572, allocations: 17.58 MB / 0.6457 GB, free: 8.465 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.92e-05/0.7573, allocations: 73.41 kB / 0.6458 GB, free: 8.383 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006503/0.7639, allocations: 2.773 MB / 0.6485 GB, free: 5.598 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005027/0.7644, allocations: 61.69 kB / 0.6485 GB, free: 5.531 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002776/0.7672, allocations: 2.853 MB / 0.6513 GB, free: 2.637 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001615/0.7688, allocations: 0.9212 MB / 0.6522 GB, free: 1.703 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006655/0.7695, allocations: 104 kB / 0.6523 GB, free: 1.602 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0006107/0.7701, allocations: 0.5416 MB / 0.6528 GB, free: 1.055 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004508/0.7747, allocations: 2.314 MB / 0.6551 GB, free: 14.73 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006654/0.7813, allocations: 5.288 MB / 0.6603 GB, free: 7.988 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01123/0.7926, allocations: 8.357 MB / 0.6684 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.725e-05/0.7927, allocations: 28 kB / 0.6685 GB, free: 14.15 MB / 0.4948 GB Notification: Performance of matching and sorting (n=730) (initialization): time 0.01695/0.8097, allocations: 8.348 MB / 0.6766 GB, free: 5.793 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 7.61e-05/0.8098, allocations: 48 kB / 0.6767 GB, free: 5.746 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001155/0.8099, allocations: 104 kB / 0.6768 GB, free: 5.645 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002678/0.8126, allocations: 0.9373 MB / 0.6777 GB, free: 4.703 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004351/0.8169, allocations: 1.248 MB / 0.6789 GB, free: 3.453 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2895/1.106, allocations: 4.807 MB / 0.6836 GB, free: 149.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005234/1.112, allocations: 304.2 kB / 0.6839 GB, free: 149.8 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001327/1.113, allocations: 314.7 kB / 0.6842 GB, free: 149.8 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 471 * 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 (669): * Single equations (assignments): 662 * 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.006239/1.119, allocations: 2.193 MB / 0.6863 GB, free: 149.6 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006562/1.12, allocations: 280.4 kB / 0.6866 GB, free: 149.6 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009357/1.129, allocations: 5.117 MB / 0.6916 GB, free: 149.2 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.114e-05/1.129, allocations: 49.33 kB / 0.6916 GB, free: 149.2 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.016e-05/1.129, allocations: 7.156 kB / 0.6916 GB, free: 149.2 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.805e-05/1.13, allocations: 10.27 kB / 0.6916 GB, free: 149.2 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02073/1.15, allocations: 11.96 MB / 0.7033 GB, free: 145.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.102e-05/1.15, allocations: 9.438 kB / 0.7033 GB, free: 145.1 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001633/1.152, allocations: 393.3 kB / 0.7037 GB, free: 145.1 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002287/1.154, allocations: 0.7737 MB / 0.7045 GB, free: 145 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002706/1.155, allocations: 56.48 kB / 0.7045 GB, free: 145 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004829/1.159, allocations: 4.086 MB / 0.7085 GB, free: 142.9 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.998e-06/1.159, allocations: 15.84 kB / 0.7085 GB, free: 142.9 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01146/1.171, allocations: 7.604 MB / 0.7159 GB, free: 140.1 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002204/1.173, allocations: 0.6867 MB / 0.7166 GB, free: 139.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004397/1.174, allocations: 50.28 kB / 0.7167 GB, free: 139.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001251/1.175, allocations: 151.2 kB / 0.7168 GB, free: 139.8 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004624/1.175, allocations: 155.3 kB / 0.717 GB, free: 139.8 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002003/1.176, allocations: 68.31 kB / 0.717 GB, free: 139.7 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.003462/1.179, allocations: 1.703 MB / 0.7187 GB, free: 139.2 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.3e-07/1.179, allocations: 0 / 0.7187 GB, free: 139.2 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.006089/1.185, allocations: 1.003 MB / 0.7197 GB, free: 139 MB / 0.4948 GB 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.0005711/1.186, allocations: 201.1 kB / 0.7199 GB, free: 138.9 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.009033/1.195, allocations: 5.628 MB / 0.7253 GB, free: 137 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.154e-05/1.195, allocations: 0 / 0.7253 GB, free: 137 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.002642/1.197, allocations: 2.146 MB / 0.7274 GB, free: 136.2 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005382/1.203, allocations: 381.2 kB / 0.7278 GB, free: 136.1 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01907/1.222, allocations: 12.73 MB / 0.7402 GB, free: 128.5 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004196/1.226, allocations: 3.44 MB / 0.7436 GB, free: 125.8 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.004402/1.231, allocations: 2 MB / 0.7456 GB, free: 124.5 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006601/1.231, allocations: 223.1 kB / 0.7458 GB, free: 124.3 MB / 0.4948 GB Notification: Performance of SimCode: time 1.834e-06/1.231, allocations: 0 / 0.7458 GB, free: 124.3 MB / 0.4948 GB Notification: Performance of Templates: time 0.05907/1.29, allocations: 32.23 MB / 0.7772 GB, free: 93.46 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Cylindrical.makefile (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=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Cylindrical.pipe 2>&1) 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","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Cylindrical.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches