Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001151/0.001151, allocations: 101.5 kB / 17.85 MB, free: 5.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001081/0.001081, allocations: 194 kB / 18.77 MB, free: 4.742 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.311/1.311, allocations: 222.9 MB / 242.5 MB, free: 13.77 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2184/0.2184, allocations: 44.18 MB / 336.8 MB, free: 2.793 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001857/0.001858, allocations: 62.23 kB / 408.4 MB, free: 27.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1407/0.1426, allocations: 60.83 MB / 469.2 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.04606/0.1887, allocations: 37.94 MB / 0.4952 GB, free: 8.738 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02176/0.2105, allocations: 8.238 MB / 0.5033 GB, free: 484 kB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01089/0.2214, allocations: 155.6 kB / 0.5034 GB, free: 328 kB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.2674/0.4889, allocations: 1.777 MB / 0.5052 GB, free: 10.41 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005359/0.4943, allocations: 1.718 MB / 0.5068 GB, free: 10.35 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001575/0.4959, allocations: 0.511 MB / 0.5073 GB, free: 10.33 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00835/0.5043, allocations: 5.414 MB / 0.5126 GB, free: 10.32 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004655/0.509, allocations: 2.638 MB / 0.5152 GB, free: 10.02 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002724/0.5118, allocations: 1.197 MB / 0.5164 GB, free: 10.02 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00372/0.5155, allocations: 2.042 MB / 0.5184 GB, free: 9.824 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001094/0.5166, allocations: 203.9 kB / 0.5186 GB, free: 9.824 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003116/0.5198, allocations: 0.9861 MB / 0.5195 GB, free: 9.812 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002694/0.5225, allocations: 1.704 MB / 0.5212 GB, free: 9.613 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0035/0.526, allocations: 2.043 MB / 0.5232 GB, free: 8.82 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005853/0.5319, allocations: 5.412 MB / 0.5285 GB, free: 5.699 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.574e-06/0.5319, allocations: 2.812 kB / 0.5285 GB, free: 5.699 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.5319, allocations: 2.562 kB / 0.5285 GB, free: 5.699 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002577/0.5322, allocations: 0 / 0.5285 GB, free: 5.699 MB / 382.1 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.01048/0.5427, allocations: 4.544 MB / 0.5329 GB, free: 2.613 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.147e-05/0.5428, allocations: 7.281 kB / 0.5329 GB, free: 2.613 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01019/0.553, allocations: 3.119 MB / 0.536 GB, free: 0.9961 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005248/0.5583, allocations: 2.131 MB / 0.538 GB, free: 15.79 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002598/0.5586, allocations: 216 kB / 0.5383 GB, free: 15.73 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001652/0.5602, allocations: 283.8 kB / 0.5385 GB, free: 15.67 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02266/0.5829, allocations: 11.12 MB / 0.5494 GB, free: 4.812 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001275/0.5831, allocations: 32.75 kB / 0.5494 GB, free: 4.793 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006168/0.5837, allocations: 130.1 kB / 0.5495 GB, free: 4.711 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004417/0.5882, allocations: 2.615 MB / 0.5521 GB, free: 2.117 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02115/0.6093, allocations: 10.38 MB / 0.5622 GB, free: 7.832 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05834/0.6677, allocations: 36.69 MB / 0.5981 GB, free: 2.781 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009115/0.6769, allocations: 4.573 MB / 0.6025 GB, free: 13.98 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003469/0.6804, allocations: 2.4 MB / 0.6049 GB, free: 11.58 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001217/0.6816, allocations: 1.317 MB / 0.6062 GB, free: 10.05 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.374e-05/0.6817, allocations: 56.55 kB / 0.6062 GB, free: 9.988 MB / 462.1 MB Notification: Performance of pre-optimization done (n=242): time 5.2e-06/0.6817, allocations: 0 / 0.6062 GB, free: 9.988 MB / 462.1 MB Notification: Performance of matching and sorting (n=254): time 0.04253/0.7242, allocations: 17.59 MB / 0.6234 GB, free: 8.375 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.569e-05/0.7243, allocations: 80.03 kB / 0.6235 GB, free: 8.289 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003986/0.7283, allocations: 2.739 MB / 0.6261 GB, free: 5.535 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004454/0.7288, allocations: 57.7 kB / 0.6262 GB, free: 5.473 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001977/0.7308, allocations: 2.77 MB / 0.6289 GB, free: 2.699 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001209/0.732, allocations: 0.9199 MB / 0.6298 GB, free: 1.785 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001707/0.7337, allocations: 1.067 MB / 0.6308 GB, free: 0.7109 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001135/0.7339, allocations: 301.1 kB / 0.6311 GB, free: 424 kB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003385/0.7373, allocations: 2.318 MB / 0.6334 GB, free: 14.09 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005698/0.743, allocations: 5.225 MB / 0.6385 GB, free: 7.496 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01062/0.7536, allocations: 8.266 MB / 0.6466 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.985e-05/0.7538, allocations: 32 kB / 0.6466 GB, free: 14.19 MB / 0.4981 GB Notification: Performance of matching and sorting (n=718) (initialization): time 0.01657/0.7704, allocations: 8.295 MB / 0.6547 GB, free: 6.02 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.763e-05/0.7705, allocations: 48 kB / 0.6547 GB, free: 5.973 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001299/0.7707, allocations: 100 kB / 0.6548 GB, free: 5.875 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002848/0.7735, allocations: 0.949 MB / 0.6558 GB, free: 4.922 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00447/0.778, allocations: 1.228 MB / 0.657 GB, free: 3.691 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007303/0.7853, allocations: 4.782 MB / 0.6616 GB, free: 14.78 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004321/0.7897, allocations: 299.8 kB / 0.6619 GB, free: 14.49 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001304/0.791, allocations: 314.2 kB / 0.6622 GB, free: 14.18 MB / 0.5137 GB 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 {(4,10,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005709/0.7968, allocations: 2.149 MB / 0.6643 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009326/0.7977, allocations: 276.3 kB / 0.6646 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01064/0.8084, allocations: 5.129 MB / 0.6696 GB, free: 6.59 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.768e-05/0.8085, allocations: 46.8 kB / 0.6696 GB, free: 6.547 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.926e-05/0.8085, allocations: 4 kB / 0.6696 GB, free: 6.543 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.572e-05/0.8086, allocations: 11.95 kB / 0.6696 GB, free: 6.531 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02493/0.8335, allocations: 11.91 MB / 0.6813 GB, free: 10.46 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.96e-05/0.8336, allocations: 12.06 kB / 0.6813 GB, free: 10.45 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001781/0.8354, allocations: 395.4 kB / 0.6817 GB, free: 10.07 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002424/0.8378, allocations: 0.7821 MB / 0.6824 GB, free: 9.281 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003661/0.8382, allocations: 55.98 kB / 0.6825 GB, free: 9.227 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0056/0.8438, allocations: 4.086 MB / 0.6865 GB, free: 5.016 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.281e-05/0.8439, allocations: 19.88 kB / 0.6865 GB, free: 4.996 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01218/0.8561, allocations: 7.619 MB / 0.6939 GB, free: 13.22 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009449/0.8571, allocations: 329.5 kB / 0.6942 GB, free: 12.88 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004759/0.8575, allocations: 47.98 kB / 0.6943 GB, free: 12.83 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001292/0.8589, allocations: 147 kB / 0.6944 GB, free: 12.69 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003892/0.8593, allocations: 160.8 kB / 0.6946 GB, free: 12.53 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000175/0.8594, allocations: 72 kB / 0.6947 GB, free: 12.46 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003009/0.8624, allocations: 1.689 MB / 0.6963 GB, free: 10.77 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.61e-07/0.8625, allocations: 0 / 0.6963 GB, free: 10.77 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.007093/0.8696, allocations: 0.9943 MB / 0.6973 GB, free: 9.773 MB / 0.545 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.0007043/0.8703, allocations: 186.8 kB / 0.6975 GB, free: 9.586 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.009621/0.8799, allocations: 5.631 MB / 0.703 GB, free: 3.965 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.191e-05/0.88, allocations: 0 / 0.703 GB, free: 3.965 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.003853/0.8839, allocations: 2.148 MB / 0.705 GB, free: 1.809 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003003/0.8869, allocations: 377.5 kB / 0.7054 GB, free: 1.438 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2476/1.135, allocations: 12.89 MB / 0.718 GB, free: 199 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005114/1.14, allocations: 3.369 MB / 0.7213 GB, free: 198.2 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001381/1.141, allocations: 261.6 kB / 0.7215 GB, free: 198.2 MB / 0.545 GB Notification: Performance of SimCode: time 1.273e-06/1.141, allocations: 1.188 kB / 0.7215 GB, free: 198.2 MB / 0.545 GB Notification: Performance of Templates: time 0.09366/1.235, allocations: 75.37 MB / 0.7951 GB, free: 138.2 MB / 0.545 GB 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/Cylindrical/Cylindrical.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches