Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove.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.Rotational.TestMove,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ActuatedRevolute1.frame_b.r_0.1.|ActuatedRevolute1.frame_b.r_0.2.|ActuatedRevolute1.frame_b.r_0.3.|ActuatedRevolute1.frame_b.f.1.|ActuatedRevolute1.frame_b.f.2.|ActuatedRevolute1.frame_b.f.3.|ActuatedRevolute1.frame_b.t.1.|ActuatedRevolute1.frame_b.t.2.|ActuatedRevolute1.frame_b.t.3.|Multiplex3_1.y.1.|Multiplex3_1.y.2.|Multiplex3_1.y.3.|Constant1.y|Constant2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove") translateModel(ModelicaTest.Rotational.TestMove,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ActuatedRevolute1.frame_b.r_0.1.|ActuatedRevolute1.frame_b.r_0.2.|ActuatedRevolute1.frame_b.r_0.3.|ActuatedRevolute1.frame_b.f.1.|ActuatedRevolute1.frame_b.f.2.|ActuatedRevolute1.frame_b.f.3.|ActuatedRevolute1.frame_b.t.1.|ActuatedRevolute1.frame_b.t.2.|ActuatedRevolute1.frame_b.t.3.|Multiplex3_1.y.1.|Multiplex3_1.y.2.|Multiplex3_1.y.3.|Constant1.y|Constant2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00179/0.00179, allocations: 173.6 kB / 17.4 MB, free: 4.293 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.391/1.391, allocations: 225.7 MB / 243.9 MB, free: 8.457 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.0008674/0.0008671, allocations: 97.58 kB / 295.1 MB, free: 9.488 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.3332/0.3332, allocations: 44.31 MB / 390.5 MB, free: 38.03 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003242/0.0003242, allocations: 8 kB / 463.1 MB, free: 480 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3324/0.3327, allocations: 61.89 MB / 0.5127 GB, free: 37.82 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestMove): time 0.01059/0.3434, allocations: 13.01 MB / 0.5254 GB, free: 28.62 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.008489/0.3519, allocations: 7.513 MB / 0.5328 GB, free: 21.91 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002058/0.354, allocations: 57.66 kB / 0.5328 GB, free: 21.9 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006665/0.3547, allocations: 282.7 kB / 0.5331 GB, free: 21.8 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002337/0.357, allocations: 1.238 MB / 0.5343 GB, free: 21.3 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009905/0.358, allocations: 497.1 kB / 0.5348 GB, free: 21.12 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.002829/0.3609, allocations: 3.468 MB / 0.5382 GB, free: 20.12 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00171/0.3626, allocations: 1.623 MB / 0.5398 GB, free: 19.32 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008533/0.3635, allocations: 0.7216 MB / 0.5405 GB, free: 19.08 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001199/0.3647, allocations: 1.159 MB / 0.5416 GB, free: 18.73 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002154/0.3649, allocations: 81.81 kB / 0.5417 GB, free: 18.73 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001479/0.3664, allocations: 0.9218 MB / 0.5426 GB, free: 18.49 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006754/0.3671, allocations: 0.9696 MB / 0.5435 GB, free: 18.19 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008294/0.3679, allocations: 1.193 MB / 0.5447 GB, free: 17.34 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003494/0.3714, allocations: 3.788 MB / 0.5484 GB, free: 16.23 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.3715, allocations: 0 / 0.5484 GB, free: 16.23 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3715, allocations: 3.938 kB / 0.5484 GB, free: 16.23 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.099e-05/0.3716, allocations: 0 / 0.5484 GB, free: 16.23 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: 954 * Number of variables: 954 Notification: Performance of Generate backend data structure: time 0.004477/0.376, allocations: 2.461 MB / 0.5508 GB, free: 14.75 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.653e-05/0.3761, allocations: 8.812 kB / 0.5508 GB, free: 14.75 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005931/0.382, allocations: 1.694 MB / 0.5525 GB, free: 14.52 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003887/0.3859, allocations: 1.334 MB / 0.5538 GB, free: 13.77 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001325/0.3861, allocations: 124.8 kB / 0.5539 GB, free: 13.71 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004426/0.3866, allocations: 166 kB / 0.554 GB, free: 13.65 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009511/0.3961, allocations: 6.465 MB / 0.5603 GB, free: 9.863 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.281e-05/0.3962, allocations: 32.81 kB / 0.5604 GB, free: 9.844 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002295/0.3964, allocations: 85.05 kB / 0.5605 GB, free: 9.789 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002218/0.3986, allocations: 1.441 MB / 0.5619 GB, free: 9.211 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008857/0.4075, allocations: 5.704 MB / 0.5674 GB, free: 4.414 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02849/0.436, allocations: 26.79 MB / 0.5936 GB, free: 8.785 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004327/0.4404, allocations: 2.135 MB / 0.5957 GB, free: 6.504 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001456/0.4419, allocations: 1.039 MB / 0.5967 GB, free: 5.453 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002126/0.4421, allocations: 182.5 kB / 0.5969 GB, free: 5.238 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.205e-05/0.4421, allocations: 46.83 kB / 0.5969 GB, free: 5.184 MB / 410.7 MB Notification: Performance of pre-optimization done (n=100): time 3.467e-06/0.4422, allocations: 0 / 0.5969 GB, free: 5.184 MB / 410.7 MB Notification: Performance of matching and sorting (n=112): time 0.01555/0.4577, allocations: 6.329 MB / 0.6031 GB, free: 14.82 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.125e-05/0.4578, allocations: 152.8 kB / 0.6032 GB, free: 14.64 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004311/0.4622, allocations: 2.87 MB / 0.606 GB, free: 11.75 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001593/0.4623, allocations: 37.7 kB / 0.6061 GB, free: 11.71 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001594/0.4639, allocations: 2.106 MB / 0.6081 GB, free: 9.574 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000454/0.4644, allocations: 450.4 kB / 0.6086 GB, free: 9.129 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001584/0.4646, allocations: 84 kB / 0.6086 GB, free: 9.047 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002761/0.4649, allocations: 0.4961 MB / 0.6091 GB, free: 8.543 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002141/0.467, allocations: 1.41 MB / 0.6105 GB, free: 7.125 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003866/0.4709, allocations: 4.283 MB / 0.6147 GB, free: 1.391 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006608/0.4775, allocations: 6.186 MB / 0.6207 GB, free: 9.77 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.323e-05/0.4776, allocations: 28 kB / 0.6208 GB, free: 9.742 MB / 442.7 MB Notification: Performance of matching and sorting (n=581) (initialization): time 0.008362/0.486, allocations: 5.478 MB / 0.6261 GB, free: 4.262 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.912e-05/0.4861, allocations: 55.91 kB / 0.6262 GB, free: 4.207 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001004/0.4862, allocations: 100 kB / 0.6263 GB, free: 4.109 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001407/0.4863, allocations: 136 kB / 0.6264 GB, free: 3.977 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003796/0.4901, allocations: 1.22 MB / 0.6276 GB, free: 2.754 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001465/0.4903, allocations: 207.5 kB / 0.6278 GB, free: 2.551 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002564/0.4928, allocations: 239.6 kB / 0.628 GB, free: 2.316 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003387/0.4932, allocations: 280 kB / 0.6283 GB, free: 2.043 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 466 * Number of states: 0 () * Number of discrete variables: 18 (world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],ActuatedRevolute1.cylinderColor[3],ActuatedRevolute1.cylinderColor[2],ActuatedRevolute1.cylinderColor[1],Body1.sphereColor[3],Body1.sphereColor[2],Body1.sphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (557): * Single equations (assignments): 554 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00214/0.4953, allocations: 1.388 MB / 0.6296 GB, free: 0.6406 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003674/0.4957, allocations: 236.9 kB / 0.6299 GB, free: 416 kB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00188/0.4976, allocations: 1.241 MB / 0.6311 GB, free: 15.16 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.187e-05/0.4976, allocations: 12 kB / 0.6311 GB, free: 15.15 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.005e-05/0.4977, allocations: 7.938 kB / 0.6311 GB, free: 15.14 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.738e-06/0.4977, allocations: 3.984 kB / 0.6311 GB, free: 15.14 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007496/0.5052, allocations: 4.549 MB / 0.6355 GB, free: 10.48 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.857e-06/0.5052, allocations: 8.094 kB / 0.6355 GB, free: 10.47 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001653/0.5069, allocations: 363.4 kB / 0.6359 GB, free: 10.11 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.461e-05/0.5069, allocations: 8 kB / 0.6359 GB, free: 10.11 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.876e-05/0.507, allocations: 23.98 kB / 0.6359 GB, free: 10.08 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.464e-05/0.507, allocations: 11.94 kB / 0.6359 GB, free: 10.07 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.322e-06/0.507, allocations: 4 kB / 0.6359 GB, free: 10.07 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00266/0.5097, allocations: 2.165 MB / 0.638 GB, free: 7.828 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004847/0.5102, allocations: 309.8 kB / 0.6383 GB, free: 7.504 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002332/0.5104, allocations: 24 kB / 0.6384 GB, free: 7.48 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008275/0.5112, allocations: 55.92 kB / 0.6384 GB, free: 7.426 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001595/0.5114, allocations: 71.8 kB / 0.6385 GB, free: 7.355 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.496e-05/0.5115, allocations: 32 kB / 0.6385 GB, free: 7.324 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002614/0.5141, allocations: 1.799 MB / 0.6403 GB, free: 5.52 MB / 458.7 MB Notification: Performance of sort global known variables: time 4e-07/0.5141, allocations: 0 / 0.6403 GB, free: 5.52 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.003632/0.5178, allocations: 0.6289 MB / 0.6409 GB, free: 4.891 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * Number of states: 0 () * 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 (90): * Single equations (assignments): 87 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003618/0.5182, allocations: 168.2 kB / 0.641 GB, free: 4.715 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.005122/0.5233, allocations: 3.24 MB / 0.6442 GB, free: 1.5 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.44e-06/0.5233, allocations: 0 / 0.6442 GB, free: 1.5 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001038/0.5244, allocations: 0.798 MB / 0.645 GB, free: 0.7031 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003075/0.5274, allocations: 261.2 kB / 0.6452 GB, free: 456 kB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009822/0.5373, allocations: 6.807 MB / 0.6519 GB, free: 9.547 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00206/0.5394, allocations: 2.21 MB / 0.654 GB, free: 7.301 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.003441/0.5428, allocations: 1.459 MB / 0.6555 GB, free: 5.836 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004949/0.5433, allocations: 175.4 kB / 0.6556 GB, free: 5.664 MB / 474.7 MB Notification: Performance of SimCode: time 1.293e-06/0.5433, allocations: 0 / 0.6556 GB, free: 5.664 MB / 474.7 MB Notification: Performance of Templates: time 0.03964/0.583, allocations: 20.96 MB / 0.6761 GB, free: 0.7539 MB / 490.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove.sim & ./ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/TestMove/TestMove.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches