Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001114/0.001114, allocations: 183 kB / 16.63 MB, free: 5.137 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.324/1.324, allocations: 205.1 MB / 222.5 MB, free: 8.469 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00132/0.00132, allocations: 102.3 kB / 269.9 MB, free: 8.434 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4/0.4, allocations: 43.49 MB / 360.7 MB, free: 51.21 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001135/0.001135, allocations: 55.92 kB / 429.2 MB, free: 6.398 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1399/0.141, allocations: 57.76 MB / 487 MB, free: 12.57 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestMove): time 0.01642/0.1575, allocations: 14.49 MB / 0.4897 GB, free: 14 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.01031/0.1679, allocations: 4.55 MB / 0.4942 GB, free: 9.441 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003201/0.1711, allocations: 59.81 kB / 0.4942 GB, free: 9.383 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001957/0.1731, allocations: 0.7477 MB / 0.495 GB, free: 8.633 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003367/0.1765, allocations: 1.234 MB / 0.4962 GB, free: 7.395 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001201/0.1777, allocations: 499.1 kB / 0.4966 GB, free: 6.906 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.004023/0.1818, allocations: 3.503 MB / 0.5001 GB, free: 3.395 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001773/0.1836, allocations: 1.201 MB / 0.5012 GB, free: 2.184 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001027/0.1846, allocations: 0.6924 MB / 0.5019 GB, free: 1.488 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00143/0.1861, allocations: 1.219 MB / 0.5031 GB, free: 272 kB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000244/0.1863, allocations: 100 kB / 0.5032 GB, free: 172 kB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2525/0.4388, allocations: 0.9455 MB / 0.5041 GB, free: 39.45 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001333/0.4402, allocations: 1.007 MB / 0.5051 GB, free: 39.45 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001245/0.4414, allocations: 1.199 MB / 0.5063 GB, free: 39.08 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00418/0.4456, allocations: 3.861 MB / 0.5101 GB, free: 38.52 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.4456, allocations: 8.438 kB / 0.5101 GB, free: 38.52 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.001e-06/0.4456, allocations: 0 / 0.5101 GB, free: 38.52 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.031e-05/0.4457, allocations: 0.875 kB / 0.5101 GB, free: 38.52 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: 954 * Number of variables: 954 Notification: Performance of Generate backend data structure: time 0.00545/0.4512, allocations: 2.955 MB / 0.5129 GB, free: 37.21 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.432e-05/0.4512, allocations: 10.78 kB / 0.513 GB, free: 37.21 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005404/0.4566, allocations: 1.65 MB / 0.5146 GB, free: 37.04 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002846/0.4595, allocations: 1.386 MB / 0.5159 GB, free: 36.64 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001223/0.4596, allocations: 124.5 kB / 0.516 GB, free: 36.63 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003444/0.46, allocations: 163.3 kB / 0.5162 GB, free: 36.63 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00833/0.4683, allocations: 6.46 MB / 0.5225 GB, free: 34.58 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.201e-05/0.4684, allocations: 32.73 kB / 0.5225 GB, free: 34.58 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002164/0.4686, allocations: 84.22 kB / 0.5226 GB, free: 34.55 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002181/0.4708, allocations: 1.437 MB / 0.524 GB, free: 34.34 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009041/0.4799, allocations: 5.724 MB / 0.5296 GB, free: 32.76 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03257/0.5125, allocations: 26.81 MB / 0.5558 GB, free: 29.38 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004749/0.5173, allocations: 2.134 MB / 0.5579 GB, free: 28.3 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001543/0.5189, allocations: 1.059 MB / 0.5589 GB, free: 27.86 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001727/0.519, allocations: 174.7 kB / 0.5591 GB, free: 27.67 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.804e-05/0.5191, allocations: 54.5 kB / 0.5591 GB, free: 27.62 MB / 410.7 MB Notification: Performance of pre-optimization done (n=100): time 4.739e-06/0.5191, allocations: 2.156 kB / 0.5591 GB, free: 27.62 MB / 410.7 MB Notification: Performance of matching and sorting (n=112): time 0.01815/0.5372, allocations: 6.369 MB / 0.5654 GB, free: 25.09 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.529e-05/0.5374, allocations: 142.4 kB / 0.5655 GB, free: 24.93 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00525/0.5426, allocations: 2.899 MB / 0.5683 GB, free: 23.86 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000302/0.5429, allocations: 42.86 kB / 0.5684 GB, free: 23.82 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00127/0.5442, allocations: 2.112 MB / 0.5704 GB, free: 22.17 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005541/0.5448, allocations: 448.8 kB / 0.5709 GB, free: 21.86 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00139/0.5462, allocations: 0.8965 MB / 0.5717 GB, free: 21.42 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001143/0.5463, allocations: 310.2 kB / 0.572 GB, free: 21.12 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002022/0.5483, allocations: 1.424 MB / 0.5734 GB, free: 20.69 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003356/0.5517, allocations: 4.3 MB / 0.5776 GB, free: 16.32 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006622/0.5584, allocations: 6.216 MB / 0.5837 GB, free: 11.04 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.333e-05/0.5585, allocations: 28.94 kB / 0.5837 GB, free: 11.04 MB / 410.7 MB Notification: Performance of matching and sorting (n=581) (initialization): time 0.009192/0.5677, allocations: 5.505 MB / 0.5891 GB, free: 6.035 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001096/0.5678, allocations: 53.55 kB / 0.5891 GB, free: 5.984 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001636/0.568, allocations: 104 kB / 0.5892 GB, free: 5.883 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001733/0.5682, allocations: 132 kB / 0.5894 GB, free: 5.754 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004311/0.5725, allocations: 1.229 MB / 0.5906 GB, free: 4.523 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002233/0.5727, allocations: 199.2 kB / 0.5908 GB, free: 4.328 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003363/0.5761, allocations: 250.6 kB / 0.591 GB, free: 4.086 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005813/0.5767, allocations: 282 kB / 0.5913 GB, free: 3.812 MB / 410.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.00294/0.5797, allocations: 1.388 MB / 0.5926 GB, free: 2.414 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007294/0.5804, allocations: 240.8 kB / 0.5928 GB, free: 2.176 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002508/0.5829, allocations: 1.242 MB / 0.5941 GB, free: 0.9219 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.447e-05/0.583, allocations: 14.12 kB / 0.5941 GB, free: 0.9102 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.223e-05/0.583, allocations: 0 / 0.5941 GB, free: 0.9102 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.784e-05/0.583, allocations: 15.91 kB / 0.5941 GB, free: 0.8945 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01078/0.5938, allocations: 4.558 MB / 0.5985 GB, free: 12.25 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-05/0.5938, allocations: 4 kB / 0.5985 GB, free: 12.25 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001904/0.5958, allocations: 367.8 kB / 0.5989 GB, free: 11.89 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.249e-05/0.5958, allocations: 12 kB / 0.5989 GB, free: 11.88 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.036e-05/0.5959, allocations: 22.34 kB / 0.5989 GB, free: 11.86 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.438e-05/0.5959, allocations: 19.92 kB / 0.5989 GB, free: 11.84 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-05/0.5959, allocations: 4.5 kB / 0.5989 GB, free: 11.83 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004881/0.6008, allocations: 4.079 MB / 0.6029 GB, free: 7.641 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001314/0.6021, allocations: 461.7 kB / 0.6034 GB, free: 7.168 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006209/0.6028, allocations: 24 kB / 0.6034 GB, free: 7.145 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001214/0.604, allocations: 60.8 kB / 0.6035 GB, free: 7.086 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001621/0.6042, allocations: 63.8 kB / 0.6035 GB, free: 7.023 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.922e-05/0.6043, allocations: 38.66 kB / 0.6035 GB, free: 6.988 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.003161/0.6074, allocations: 1.831 MB / 0.6053 GB, free: 5.152 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.9e-07/0.6074, allocations: 2.719 kB / 0.6053 GB, free: 5.152 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00465/0.6121, allocations: 0.6289 MB / 0.606 GB, free: 4.523 MB / 426.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.0005258/0.6126, allocations: 157.7 kB / 0.6061 GB, free: 4.363 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00568/0.6183, allocations: 3.259 MB / 0.6093 GB, free: 1.121 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.514e-06/0.6184, allocations: 0 / 0.6093 GB, free: 1.121 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001119/0.6195, allocations: 0.7936 MB / 0.6101 GB, free: 340 kB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002737/0.6222, allocations: 260.5 kB / 0.6103 GB, free: 80 kB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01454/0.6368, allocations: 7.484 MB / 0.6176 GB, free: 8.496 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003749/0.6406, allocations: 2.246 MB / 0.6198 GB, free: 6.215 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.004535/0.6452, allocations: 1.471 MB / 0.6212 GB, free: 4.738 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008832/0.6461, allocations: 167.4 kB / 0.6214 GB, free: 4.574 MB / 442.7 MB Notification: Performance of SimCode: time 1.132e-06/0.6461, allocations: 0 / 0.6214 GB, free: 4.574 MB / 442.7 MB Notification: Performance of Templates: time 0.04603/0.6921, allocations: 22.06 MB / 0.6429 GB, free: 14.64 MB / 474.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@2/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