Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove.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.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_3.2.3_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_3.2.3_ModelicaTest.Rotational.TestMove") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008877/0.0008877, allocations: 181.5 kB / 16.08 MB, free: 5.527 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.428/1.428, allocations: 205.6 MB / 222.4 MB, free: 13.67 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.0007965/0.0007965, allocations: 90.27 kB / 270.8 MB, free: 13.19 MB / 234.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.2153/0.2153, allocations: 43.69 MB / 362.7 MB, free: 11.04 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004475/0.0004475, allocations: 8 kB / 432.3 MB, free: 19.11 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1671/0.1676, allocations: 58.86 MB / 491.2 MB, free: 8.121 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestMove): time 0.02182/0.1895, allocations: 13.04 MB / 0.4924 GB, free: 11.03 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.01799/0.2076, allocations: 7.515 MB / 0.4997 GB, free: 2.742 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0049/0.2125, allocations: 59.81 kB / 0.4998 GB, free: 2.684 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001272/0.2139, allocations: 274.7 kB / 0.5 GB, free: 2.414 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004962/0.2188, allocations: 1.23 MB / 0.5012 GB, free: 1.18 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001661/0.2205, allocations: 499.1 kB / 0.5017 GB, free: 0.6914 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.006503/0.227, allocations: 3.483 MB / 0.5051 GB, free: 13.2 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003655/0.2308, allocations: 1.629 MB / 0.5067 GB, free: 11.5 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001795/0.2326, allocations: 0.7274 MB / 0.5074 GB, free: 10.77 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002492/0.2351, allocations: 1.164 MB / 0.5086 GB, free: 9.598 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004859/0.2356, allocations: 80 kB / 0.5086 GB, free: 9.52 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002613/0.2382, allocations: 0.9164 MB / 0.5095 GB, free: 8.602 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001525/0.2398, allocations: 0.9776 MB / 0.5105 GB, free: 7.621 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00189/0.2417, allocations: 1.189 MB / 0.5116 GB, free: 6.418 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00661/0.2483, allocations: 3.788 MB / 0.5153 GB, free: 2.617 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.043e-06/0.2484, allocations: 3.938 kB / 0.5154 GB, free: 2.613 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.116e-06/0.2484, allocations: 0 / 0.5154 GB, free: 2.613 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001068/0.2485, allocations: 0 / 0.5154 GB, free: 2.613 MB / 362.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.008576/0.2571, allocations: 2.459 MB / 0.5178 GB, free: 100 kB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.135e-05/0.2572, allocations: 12.03 kB / 0.5178 GB, free: 88 kB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.299/0.5562, allocations: 1.687 MB / 0.5194 GB, free: 44.5 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003959/0.5602, allocations: 1.389 MB / 0.5208 GB, free: 44.03 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001685/0.5604, allocations: 124.5 kB / 0.5209 GB, free: 44.03 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005304/0.561, allocations: 163.4 kB / 0.521 GB, free: 44.02 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01223/0.5732, allocations: 6.461 MB / 0.5274 GB, free: 40.98 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.209e-05/0.5733, allocations: 34.81 kB / 0.5274 GB, free: 40.96 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002716/0.5736, allocations: 83 kB / 0.5275 GB, free: 40.93 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002917/0.5766, allocations: 1.434 MB / 0.5289 GB, free: 40.69 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01182/0.5884, allocations: 5.714 MB / 0.5344 GB, free: 38.57 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02871/0.6172, allocations: 26.78 MB / 0.5606 GB, free: 12.75 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003539/0.6208, allocations: 2.146 MB / 0.5627 GB, free: 10.46 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001005/0.6218, allocations: 1.035 MB / 0.5637 GB, free: 9.41 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001587/0.622, allocations: 178.8 kB / 0.5639 GB, free: 9.203 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.67e-05/0.622, allocations: 46.83 kB / 0.5639 GB, free: 9.148 MB / 362.7 MB Notification: Performance of pre-optimization done (n=100): time 4.729e-06/0.622, allocations: 0 / 0.5639 GB, free: 9.148 MB / 362.7 MB Notification: Performance of matching and sorting (n=112): time 0.01319/0.6352, allocations: 6.361 MB / 0.5701 GB, free: 2.758 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.236e-05/0.6353, allocations: 137 kB / 0.5703 GB, free: 2.594 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003198/0.6385, allocations: 2.878 MB / 0.5731 GB, free: 15.7 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.981e-05/0.6386, allocations: 39.03 kB / 0.5731 GB, free: 15.66 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001547/0.6402, allocations: 2.11 MB / 0.5752 GB, free: 13.55 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004497/0.6407, allocations: 451.7 kB / 0.5756 GB, free: 13.12 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002168/0.6409, allocations: 93.02 kB / 0.5757 GB, free: 13.03 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0003394/0.6412, allocations: 0.492 MB / 0.5762 GB, free: 12.53 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002189/0.6434, allocations: 1.41 MB / 0.5775 GB, free: 11.11 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004732/0.6482, allocations: 4.289 MB / 0.5817 GB, free: 5.371 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007561/0.6558, allocations: 6.183 MB / 0.5878 GB, free: 13.75 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.568e-05/0.6559, allocations: 32 kB / 0.5878 GB, free: 13.72 MB / 394.7 MB Notification: Performance of matching and sorting (n=581) (initialization): time 0.01027/0.6662, allocations: 5.473 MB / 0.5931 GB, free: 8.246 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.745e-05/0.6663, allocations: 48 kB / 0.5932 GB, free: 8.199 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001143/0.6664, allocations: 100 kB / 0.5933 GB, free: 8.102 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001277/0.6665, allocations: 140 kB / 0.5934 GB, free: 7.965 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004191/0.6707, allocations: 1.229 MB / 0.5946 GB, free: 6.734 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001671/0.6709, allocations: 203.2 kB / 0.5948 GB, free: 6.535 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003507/0.6744, allocations: 239.6 kB / 0.595 GB, free: 6.301 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006157/0.675, allocations: 282.2 kB / 0.5953 GB, free: 6.027 MB / 394.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.003058/0.6781, allocations: 1.392 MB / 0.5967 GB, free: 4.625 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006272/0.6787, allocations: 244.8 kB / 0.5969 GB, free: 4.383 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002332/0.6811, allocations: 1.234 MB / 0.5981 GB, free: 3.141 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.282e-05/0.6811, allocations: 12 kB / 0.5981 GB, free: 3.129 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.263e-05/0.6812, allocations: 0 / 0.5981 GB, free: 3.129 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.395e-05/0.6812, allocations: 7.984 kB / 0.5981 GB, free: 3.121 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01031/0.6915, allocations: 4.552 MB / 0.6026 GB, free: 14.48 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.193e-05/0.6916, allocations: 4 kB / 0.6026 GB, free: 14.48 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00186/0.6935, allocations: 367.3 kB / 0.6029 GB, free: 14.12 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.979e-05/0.6935, allocations: 8 kB / 0.6029 GB, free: 14.11 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001146/0.6936, allocations: 27.12 kB / 0.603 GB, free: 14.09 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-05/0.6937, allocations: 8 kB / 0.603 GB, free: 14.08 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-05/0.6937, allocations: 15.2 kB / 0.603 GB, free: 14.07 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003002/0.6967, allocations: 2.153 MB / 0.6051 GB, free: 11.85 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001303/0.698, allocations: 465.6 kB / 0.6055 GB, free: 11.37 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007378/0.6988, allocations: 31.92 kB / 0.6056 GB, free: 11.34 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001293/0.7001, allocations: 55.92 kB / 0.6056 GB, free: 11.29 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001804/0.7003, allocations: 71.75 kB / 0.6057 GB, free: 11.21 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.708e-05/0.7004, allocations: 35.98 kB / 0.6057 GB, free: 11.18 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.003767/0.7041, allocations: 1.803 MB / 0.6075 GB, free: 9.371 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.7042, allocations: 0 / 0.6075 GB, free: 9.371 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004461/0.7086, allocations: 0.6275 MB / 0.6081 GB, free: 8.75 MB / 410.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.0005138/0.7092, allocations: 165.5 kB / 0.6083 GB, free: 8.59 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.006206/0.7154, allocations: 3.236 MB / 0.6114 GB, free: 5.375 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 9.438e-06/0.7154, allocations: 4 kB / 0.6114 GB, free: 5.371 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001164/0.7166, allocations: 0.7883 MB / 0.6122 GB, free: 4.582 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004801/0.7214, allocations: 259.9 kB / 0.6124 GB, free: 4.328 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01344/0.7349, allocations: 6.829 MB / 0.6191 GB, free: 13.41 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003587/0.7385, allocations: 2.216 MB / 0.6213 GB, free: 11.16 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.00451/0.7431, allocations: 1.467 MB / 0.6227 GB, free: 9.691 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009566/0.7441, allocations: 175.4 kB / 0.6229 GB, free: 9.52 MB / 426.7 MB Notification: Performance of SimCode: time 8.82e-07/0.7441, allocations: 0 / 0.6229 GB, free: 9.52 MB / 426.7 MB Notification: Performance of Templates: time 0.04839/0.7925, allocations: 21 MB / 0.6434 GB, free: 4.617 MB / 442.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove.sim & ./ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/TestMove/TestMove.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches