Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove.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.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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001206/0.001206, allocations: 110.1 kB / 18.3 MB, free: 4.84 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.001934/0.001934, allocations: 199.3 kB / 19.23 MB, free: 3.914 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.403/1.403, allocations: 222.9 MB / 242.9 MB, free: 15.14 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.2145/0.2145, allocations: 44.17 MB / 337.3 MB, free: 2.762 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001422/0.001422, allocations: 60.55 kB / 409.1 MB, free: 27.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1089/0.1103, allocations: 60.83 MB / 469.9 MB, free: 14.39 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestMove): time 0.008941/0.1193, allocations: 7.467 MB / 477.4 MB, free: 6.887 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006536/0.1259, allocations: 3.341 MB / 480.7 MB, free: 3.535 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001335/0.1273, allocations: 39.88 kB / 480.8 MB, free: 3.496 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002211/0.1295, allocations: 0.7898 MB / 481.6 MB, free: 2.703 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004018/0.1336, allocations: 1.327 MB / 482.9 MB, free: 1.371 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00158/0.1352, allocations: 0.5301 MB / 483.4 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003799/0.139, allocations: 2.562 MB / 486 MB, free: 14.27 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00185/0.1409, allocations: 1.237 MB / 487.2 MB, free: 13.02 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001342/0.1423, allocations: 0.7705 MB / 488 MB, free: 12.25 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001783/0.1441, allocations: 1.129 MB / 489.1 MB, free: 11.12 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005815/0.1447, allocations: 140 kB / 489.2 MB, free: 10.98 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002106/0.1468, allocations: 0.9477 MB / 490.2 MB, free: 10.03 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001266/0.1481, allocations: 1.017 MB / 491.2 MB, free: 9.012 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002096/0.1502, allocations: 1.223 MB / 492.4 MB, free: 7.781 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005431/0.1556, allocations: 3.886 MB / 496.3 MB, free: 3.883 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.1557, allocations: 0 / 496.3 MB, free: 3.883 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.1557, allocations: 0 / 496.3 MB, free: 3.883 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001498/0.1558, allocations: 0 / 496.3 MB, free: 3.883 MB / 366.1 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.006938/0.1628, allocations: 2.953 MB / 499.3 MB, free: 0.8711 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.043e-05/0.1628, allocations: 19.97 kB / 499.3 MB, free: 0.8516 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006399/0.1692, allocations: 1.643 MB / 0.4892 GB, free: 15.2 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003045/0.1723, allocations: 1.34 MB / 0.4905 GB, free: 13.82 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001371/0.1725, allocations: 123.4 kB / 0.4906 GB, free: 13.7 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006931/0.1732, allocations: 163.9 kB / 0.4908 GB, free: 13.54 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0112/0.1844, allocations: 6.456 MB / 0.4971 GB, free: 6.543 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001079/0.1846, allocations: 35.69 kB / 0.4971 GB, free: 6.508 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000478/0.185, allocations: 83.89 kB / 0.4972 GB, free: 6.426 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002714/0.1878, allocations: 1.437 MB / 0.4986 GB, free: 4.988 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2408/0.4286, allocations: 5.724 MB / 0.5042 GB, free: 45.02 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02964/0.4583, allocations: 26.8 MB / 0.5304 GB, free: 25.87 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004174/0.4625, allocations: 2.138 MB / 0.5325 GB, free: 24.59 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001236/0.4637, allocations: 1.041 MB / 0.5335 GB, free: 24.04 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001585/0.4639, allocations: 176 kB / 0.5336 GB, free: 23.85 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.987e-05/0.464, allocations: 46.8 kB / 0.5337 GB, free: 23.8 MB / 382.1 MB Notification: Performance of pre-optimization done (n=100): time 3.697e-06/0.464, allocations: 0 / 0.5337 GB, free: 23.8 MB / 382.1 MB Notification: Performance of matching and sorting (n=112): time 0.01608/0.4801, allocations: 6.372 MB / 0.5399 GB, free: 20.38 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.375e-05/0.4802, allocations: 138.8 kB / 0.54 GB, free: 20.23 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003473/0.4836, allocations: 2.892 MB / 0.5429 GB, free: 18.71 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001639/0.4838, allocations: 41.39 kB / 0.5429 GB, free: 18.66 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009283/0.4848, allocations: 2.103 MB / 0.545 GB, free: 16.82 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003711/0.4851, allocations: 459 kB / 0.5454 GB, free: 16.45 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008969/0.486, allocations: 0.8952 MB / 0.5463 GB, free: 15.84 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.094e-05/0.4861, allocations: 309.1 kB / 0.5466 GB, free: 15.54 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001696/0.4878, allocations: 1.423 MB / 0.548 GB, free: 14.11 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002724/0.4905, allocations: 4.299 MB / 0.5522 GB, free: 8.359 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005351/0.4959, allocations: 6.213 MB / 0.5582 GB, free: 0.7148 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.188e-05/0.496, allocations: 28 kB / 0.5582 GB, free: 0.6875 MB / 382.1 MB Notification: Performance of matching and sorting (n=581) (initialization): time 0.01041/0.5064, allocations: 5.502 MB / 0.5636 GB, free: 11.18 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001061/0.5066, allocations: 60.02 kB / 0.5637 GB, free: 11.12 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001604/0.5068, allocations: 100 kB / 0.5638 GB, free: 11.02 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001551/0.5069, allocations: 136.6 kB / 0.5639 GB, free: 10.89 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004416/0.5114, allocations: 1.225 MB / 0.5651 GB, free: 9.664 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002101/0.5116, allocations: 199.2 kB / 0.5653 GB, free: 9.469 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00355/0.5152, allocations: 235.6 kB / 0.5655 GB, free: 9.238 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005935/0.5158, allocations: 284 kB / 0.5658 GB, free: 8.961 MB / 398.1 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.002487/0.5183, allocations: 1.403 MB / 0.5672 GB, free: 7.543 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005971/0.5189, allocations: 242.8 kB / 0.5674 GB, free: 7.305 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002215/0.5211, allocations: 1.23 MB / 0.5686 GB, free: 6.062 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.157e-05/0.5211, allocations: 15.28 kB / 0.5686 GB, free: 6.051 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.042e-05/0.5212, allocations: 3.938 kB / 0.5686 GB, free: 6.047 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.377e-05/0.5212, allocations: 11.98 kB / 0.5686 GB, free: 6.035 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008743/0.5299, allocations: 4.559 MB / 0.5731 GB, free: 1.387 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.559e-05/0.53, allocations: 4 kB / 0.5731 GB, free: 1.383 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001983/0.532, allocations: 371.2 kB / 0.5734 GB, free: 1.02 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.83e-05/0.532, allocations: 10.25 kB / 0.5734 GB, free: 1.012 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001042/0.5321, allocations: 24 kB / 0.5735 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.041e-05/0.5321, allocations: 8 kB / 0.5735 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.534e-06/0.5321, allocations: 12.22 kB / 0.5735 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002923/0.5351, allocations: 2.166 MB / 0.5756 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007168/0.5358, allocations: 305.8 kB / 0.5759 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004523/0.5363, allocations: 20 kB / 0.5759 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001135/0.5374, allocations: 59.92 kB / 0.576 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001644/0.5376, allocations: 67.8 kB / 0.576 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.289e-05/0.5377, allocations: 39.52 kB / 0.5761 GB, free: 14.23 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.003173/0.5409, allocations: 1.815 MB / 0.5778 GB, free: 12.41 MB / 414.1 MB Notification: Performance of sort global known variables: time 2e-07/0.5409, allocations: 0 / 0.5778 GB, free: 12.41 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003718/0.5446, allocations: 0.6341 MB / 0.5785 GB, free: 11.78 MB / 414.1 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.0004467/0.5451, allocations: 164.1 kB / 0.5786 GB, free: 11.62 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.005715/0.5508, allocations: 3.476 MB / 0.582 GB, free: 8.18 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 9.408e-06/0.5508, allocations: 8.438 kB / 0.582 GB, free: 8.172 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001092/0.5519, allocations: 0.7841 MB / 0.5828 GB, free: 7.387 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002074/0.554, allocations: 275.5 kB / 0.583 GB, free: 7.121 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0115/0.5655, allocations: 5.895 MB / 0.5888 GB, free: 1.133 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002738/0.5683, allocations: 2.206 MB / 0.591 GB, free: 14.89 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009204/0.5692, allocations: 211.4 kB / 0.5912 GB, free: 14.69 MB / 430.1 MB Notification: Performance of SimCode: time 7.52e-07/0.5693, allocations: 0 / 0.5912 GB, free: 14.69 MB / 430.1 MB Notification: Performance of Templates: time 0.06342/0.6327, allocations: 37.24 MB / 0.6275 GB, free: 9.512 MB / 462.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/TestMove/TestMove.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches