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.0008842/0.0008841, allocations: 95.27 kB / 17.35 MB, free: 6.344 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.001476/0.001476, allocations: 170.1 kB / 18.25 MB, free: 5.508 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.394/1.394, allocations: 223.3 MB / 242.3 MB, free: 208 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.193/0.193, allocations: 44.25 MB / 337.7 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003164/0.0003164, allocations: 8 kB / 410.3 MB, free: 27.33 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1247/0.1251, allocations: 61.93 MB / 472.3 MB, free: 13.36 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestMove): time 0.01344/0.1385, allocations: 13.85 MB / 486.1 MB, free: 15.44 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0108/0.1494, allocations: 4.479 MB / 490.6 MB, free: 10.95 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002905/0.1524, allocations: 55.88 kB / 490.6 MB, free: 10.89 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001102/0.1535, allocations: 286.6 kB / 490.9 MB, free: 10.61 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003871/0.1574, allocations: 1.238 MB / 492.2 MB, free: 9.375 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001408/0.1588, allocations: 487.2 kB / 492.6 MB, free: 8.898 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.004706/0.1635, allocations: 3.46 MB / 496.1 MB, free: 5.43 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003011/0.1666, allocations: 1.486 MB / 497.6 MB, free: 3.91 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001505/0.1681, allocations: 0.6378 MB / 498.2 MB, free: 3.27 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002246/0.1704, allocations: 1.16 MB / 499.4 MB, free: 2.105 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008608/0.1713, allocations: 80 kB / 499.5 MB, free: 2.027 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002583/0.1739, allocations: 0.9515 MB / 0.4887 GB, free: 1.074 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001403/0.1753, allocations: 0.9815 MB / 0.4896 GB, free: 92 kB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002063/0.1774, allocations: 1.189 MB / 0.4908 GB, free: 14.89 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004877/0.1823, allocations: 3.792 MB / 0.4945 GB, free: 11.08 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.1823, allocations: 0 / 0.4945 GB, free: 11.08 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.1823, allocations: 0 / 0.4945 GB, free: 11.08 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001458/0.1824, allocations: 4 kB / 0.4945 GB, free: 11.08 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: 954 * Number of variables: 954 Notification: Performance of Generate backend data structure: time 0.005235/0.1877, allocations: 2.45 MB / 0.4969 GB, free: 8.57 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.985e-05/0.1877, allocations: 16.03 kB / 0.4969 GB, free: 8.555 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006082/0.1938, allocations: 1.694 MB / 0.4986 GB, free: 6.855 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002696/0.1965, allocations: 1.336 MB / 0.4999 GB, free: 5.477 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001219/0.1967, allocations: 127.3 kB / 0.5 GB, free: 5.352 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005217/0.1972, allocations: 179.9 kB / 0.5002 GB, free: 5.176 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2326/0.4298, allocations: 6.452 MB / 0.5065 GB, free: 45.3 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.417e-05/0.4299, allocations: 32.62 kB / 0.5065 GB, free: 45.29 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002762/0.4302, allocations: 84.91 kB / 0.5066 GB, free: 45.29 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002886/0.4331, allocations: 1.44 MB / 0.508 GB, free: 45.27 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01195/0.4451, allocations: 5.739 MB / 0.5136 GB, free: 43.96 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02836/0.4735, allocations: 26.77 MB / 0.5397 GB, free: 23.01 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003494/0.477, allocations: 2.139 MB / 0.5418 GB, free: 21.59 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001191/0.4782, allocations: 1.044 MB / 0.5428 GB, free: 21.05 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001903/0.4784, allocations: 176.6 kB / 0.543 GB, free: 20.86 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.942e-05/0.4785, allocations: 43.05 kB / 0.543 GB, free: 20.81 MB / 382.1 MB Notification: Performance of pre-optimization done (n=100): time 3.156e-06/0.4785, allocations: 6.953 kB / 0.5431 GB, free: 20.8 MB / 382.1 MB Notification: Performance of matching and sorting (n=112): time 0.01326/0.4917, allocations: 6.346 MB / 0.5493 GB, free: 14.63 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.01e-05/0.4918, allocations: 140.9 kB / 0.5494 GB, free: 14.46 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003051/0.4949, allocations: 2.893 MB / 0.5522 GB, free: 11.55 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000125/0.495, allocations: 37.7 kB / 0.5522 GB, free: 11.51 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009173/0.496, allocations: 2.102 MB / 0.5543 GB, free: 9.414 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003018/0.4963, allocations: 460.8 kB / 0.5547 GB, free: 8.969 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000331/0.4966, allocations: 379.5 kB / 0.5551 GB, free: 8.59 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.921e-05/0.4967, allocations: 301.1 kB / 0.5554 GB, free: 8.293 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001627/0.4983, allocations: 1.43 MB / 0.5568 GB, free: 6.855 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002569/0.5009, allocations: 4.307 MB / 0.561 GB, free: 1.098 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006331/0.5072, allocations: 6.212 MB / 0.5671 GB, free: 9.457 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.424e-05/0.5073, allocations: 28 kB / 0.5671 GB, free: 9.43 MB / 398.1 MB Notification: Performance of matching and sorting (n=581) (initialization): time 0.008608/0.5159, allocations: 5.505 MB / 0.5725 GB, free: 3.922 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.719e-05/0.516, allocations: 48 kB / 0.5725 GB, free: 3.875 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001262/0.5162, allocations: 104 kB / 0.5726 GB, free: 3.773 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001384/0.5163, allocations: 136 kB / 0.5727 GB, free: 3.641 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003995/0.5203, allocations: 1.228 MB / 0.5739 GB, free: 2.41 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001805/0.5205, allocations: 203.2 kB / 0.5741 GB, free: 2.211 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003012/0.5235, allocations: 239.7 kB / 0.5744 GB, free: 1.977 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004056/0.524, allocations: 288 kB / 0.5746 GB, free: 1.695 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.002253/0.5262, allocations: 1.386 MB / 0.576 GB, free: 304 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003904/0.5266, allocations: 240.8 kB / 0.5762 GB, free: 60 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002086/0.5287, allocations: 1.231 MB / 0.5774 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.451e-05/0.5288, allocations: 19.88 kB / 0.5774 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.327e-06/0.5288, allocations: 4 kB / 0.5774 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.339e-05/0.5288, allocations: 7.984 kB / 0.5774 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00731/0.5361, allocations: 4.549 MB / 0.5819 GB, free: 10.15 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-05/0.5362, allocations: 8 kB / 0.5819 GB, free: 10.14 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00185/0.538, allocations: 367.8 kB / 0.5822 GB, free: 9.785 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.308e-05/0.538, allocations: 8 kB / 0.5823 GB, free: 9.777 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.499e-05/0.5381, allocations: 27.98 kB / 0.5823 GB, free: 9.75 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.948e-06/0.5381, allocations: 11.94 kB / 0.5823 GB, free: 9.738 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.772e-06/0.5381, allocations: 8.75 kB / 0.5823 GB, free: 9.73 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002522/0.5407, allocations: 2.163 MB / 0.5844 GB, free: 7.5 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005278/0.5412, allocations: 313.8 kB / 0.5847 GB, free: 7.172 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002299/0.5414, allocations: 20 kB / 0.5847 GB, free: 7.152 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009863/0.5424, allocations: 55.92 kB / 0.5848 GB, free: 7.098 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001687/0.5426, allocations: 69.52 kB / 0.5849 GB, free: 7.031 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.19e-05/0.5427, allocations: 39.94 kB / 0.5849 GB, free: 6.992 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002934/0.5457, allocations: 1.823 MB / 0.5867 GB, free: 5.164 MB / 414.1 MB Notification: Performance of sort global known variables: time 4.71e-07/0.5457, allocations: 288 / 0.5867 GB, free: 5.164 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003537/0.5492, allocations: 0.6243 MB / 0.5873 GB, free: 4.543 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.0003678/0.5496, allocations: 162.6 kB / 0.5874 GB, free: 4.387 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.005221/0.5548, allocations: 3.264 MB / 0.5906 GB, free: 1.145 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.793e-06/0.5549, allocations: 0 / 0.5906 GB, free: 1.145 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001091/0.556, allocations: 0.7912 MB / 0.5914 GB, free: 364 kB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003327/0.5593, allocations: 268.9 kB / 0.5917 GB, free: 96 kB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009864/0.5692, allocations: 6.802 MB / 0.5983 GB, free: 9.199 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00207/0.5713, allocations: 2.214 MB / 0.6005 GB, free: 6.957 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.00345/0.5748, allocations: 1.463 MB / 0.6019 GB, free: 5.488 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005718/0.5754, allocations: 171.4 kB / 0.602 GB, free: 5.32 MB / 430.1 MB Notification: Performance of SimCode: time 2.004e-06/0.5754, allocations: 4 kB / 0.6021 GB, free: 5.316 MB / 430.1 MB Notification: Performance of Templates: time 0.04151/0.6169, allocations: 20.97 MB / 0.6225 GB, free: 488 kB / 446.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/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