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.00126/0.001267, allocations: 109.3 kB / 18.39 MB, free: 4.758 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.001235/0.001235, allocations: 184.1 kB / 19.32 MB, free: 3.828 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.451/1.451, allocations: 222.9 MB / 243 MB, free: 15.08 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.2203/0.2203, allocations: 44.18 MB / 337.4 MB, free: 2.691 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001258/0.001258, allocations: 70.45 kB / 409.9 MB, free: 26.54 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1259/0.1272, allocations: 60.82 MB / 470.7 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestMove): time 0.008783/0.136, allocations: 7.474 MB / 478.2 MB, free: 6.148 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00639/0.1425, allocations: 3.341 MB / 481.5 MB, free: 2.797 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009224/0.1434, allocations: 35.88 kB / 481.5 MB, free: 2.762 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001764/0.1452, allocations: 0.7937 MB / 482.3 MB, free: 1.965 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003046/0.1483, allocations: 1.323 MB / 483.7 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001177/0.1495, allocations: 0.5301 MB / 484.2 MB, free: 108 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003132/0.1526, allocations: 2.574 MB / 486.8 MB, free: 13.53 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001571/0.1542, allocations: 1.233 MB / 488 MB, free: 12.28 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001075/0.1553, allocations: 0.7666 MB / 488.8 MB, free: 11.51 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001307/0.1566, allocations: 1.129 MB / 489.9 MB, free: 10.38 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002759/0.1569, allocations: 136 kB / 490 MB, free: 10.25 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001625/0.1586, allocations: 0.9477 MB / 491 MB, free: 9.297 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009952/0.1596, allocations: 1.021 MB / 492 MB, free: 8.273 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001159/0.1608, allocations: 1.223 MB / 493.2 MB, free: 7.043 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004717/0.1655, allocations: 4.059 MB / 497.3 MB, free: 2.969 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.1655, allocations: 4 kB / 497.3 MB, free: 2.965 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.1655, allocations: 4 kB / 497.3 MB, free: 2.961 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.33e-05/0.1656, allocations: 3.938 kB / 497.3 MB, free: 2.957 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.005876/0.1715, allocations: 2.957 MB / 0.4885 GB, free: 15.94 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.139e-05/0.1716, allocations: 8.031 kB / 0.4885 GB, free: 15.93 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005604/0.1772, allocations: 1.647 MB / 0.4901 GB, free: 14.28 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003251/0.1805, allocations: 1.344 MB / 0.4914 GB, free: 12.89 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001116/0.1806, allocations: 123.4 kB / 0.4916 GB, free: 12.77 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004208/0.181, allocations: 171.9 kB / 0.4917 GB, free: 12.6 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01049/0.1915, allocations: 6.464 MB / 0.498 GB, free: 5.609 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.897e-05/0.1916, allocations: 31.75 kB / 0.4981 GB, free: 5.578 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002392/0.1919, allocations: 87.83 kB / 0.4982 GB, free: 5.492 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002413/0.1943, allocations: 1.441 MB / 0.4996 GB, free: 4.051 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3078/0.5021, allocations: 5.718 MB / 0.5051 GB, free: 44.72 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0289/0.5311, allocations: 26.72 MB / 0.5312 GB, free: 25.61 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004202/0.5353, allocations: 2.139 MB / 0.5333 GB, free: 24.2 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001297/0.5367, allocations: 1.037 MB / 0.5343 GB, free: 23.65 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001678/0.5368, allocations: 174.8 kB / 0.5345 GB, free: 23.46 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.619e-05/0.5369, allocations: 46.7 kB / 0.5345 GB, free: 23.41 MB / 382.1 MB Notification: Performance of pre-optimization done (n=100): time 3.216e-06/0.5369, allocations: 0 / 0.5345 GB, free: 23.41 MB / 382.1 MB Notification: Performance of matching and sorting (n=112): time 0.01476/0.5517, allocations: 6.375 MB / 0.5408 GB, free: 20 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.288e-05/0.5518, allocations: 146.9 kB / 0.5409 GB, free: 19.83 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003931/0.5557, allocations: 2.89 MB / 0.5437 GB, free: 18.28 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000121/0.5559, allocations: 33.7 kB / 0.5438 GB, free: 18.24 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001077/0.557, allocations: 2.104 MB / 0.5458 GB, free: 16.14 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003244/0.5573, allocations: 460.5 kB / 0.5463 GB, free: 15.7 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008776/0.5582, allocations: 0.8966 MB / 0.5471 GB, free: 14.79 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.337e-05/0.5583, allocations: 305.1 kB / 0.5474 GB, free: 14.49 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001603/0.5599, allocations: 1.429 MB / 0.5488 GB, free: 13.05 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003038/0.5629, allocations: 4.299 MB / 0.553 GB, free: 7.305 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005287/0.5682, allocations: 6.217 MB / 0.5591 GB, free: 15.66 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.86e-05/0.5683, allocations: 28 kB / 0.5591 GB, free: 15.63 MB / 398.1 MB Notification: Performance of matching and sorting (n=581) (initialization): time 0.009922/0.5783, allocations: 5.506 MB / 0.5645 GB, free: 10.12 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.405e-05/0.5784, allocations: 50.34 kB / 0.5645 GB, free: 10.07 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001229/0.5785, allocations: 104 kB / 0.5646 GB, free: 9.969 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001229/0.5786, allocations: 132.8 kB / 0.5648 GB, free: 9.84 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003989/0.5826, allocations: 1.233 MB / 0.566 GB, free: 8.605 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001507/0.5828, allocations: 195.2 kB / 0.5662 GB, free: 8.414 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002902/0.5857, allocations: 243.5 kB / 0.5664 GB, free: 8.176 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003638/0.5861, allocations: 287.4 kB / 0.5667 GB, free: 7.898 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.001916/0.588, allocations: 1.387 MB / 0.568 GB, free: 6.496 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003924/0.5884, allocations: 240.8 kB / 0.5682 GB, free: 6.258 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001987/0.5904, allocations: 1.234 MB / 0.5695 GB, free: 5.012 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.323e-05/0.5904, allocations: 16 kB / 0.5695 GB, free: 4.996 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.208e-05/0.5904, allocations: 0.6875 kB / 0.5695 GB, free: 4.996 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.447e-05/0.5905, allocations: 8.109 kB / 0.5695 GB, free: 4.988 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008209/0.5987, allocations: 4.564 MB / 0.5739 GB, free: 352 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.234e-05/0.5987, allocations: 4 kB / 0.5739 GB, free: 348 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001752/0.6005, allocations: 371.3 kB / 0.5743 GB, free: 15.98 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.076e-05/0.6005, allocations: 8 kB / 0.5743 GB, free: 15.97 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.695e-05/0.6006, allocations: 20 kB / 0.5743 GB, free: 15.95 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001054/0.6007, allocations: 15.94 kB / 0.5743 GB, free: 15.93 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.893e-06/0.6007, allocations: 8 kB / 0.5743 GB, free: 15.93 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002895/0.6036, allocations: 2.164 MB / 0.5765 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006355/0.6043, allocations: 301.8 kB / 0.5767 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002544/0.6045, allocations: 27.98 kB / 0.5768 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009027/0.6054, allocations: 59.61 kB / 0.5768 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001486/0.6056, allocations: 71.55 kB / 0.5769 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001013/0.6057, allocations: 36 kB / 0.5769 GB, free: 13.18 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002892/0.6086, allocations: 1.815 MB / 0.5787 GB, free: 11.36 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.6086, allocations: 0 / 0.5787 GB, free: 11.36 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003072/0.6117, allocations: 0.6276 MB / 0.5793 GB, free: 10.73 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.0003171/0.612, allocations: 167.4 kB / 0.5795 GB, free: 10.57 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004547/0.6166, allocations: 3.275 MB / 0.5827 GB, free: 7.324 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.6166, allocations: 448 / 0.5827 GB, free: 7.324 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009959/0.6176, allocations: 0.7892 MB / 0.5834 GB, free: 6.535 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001538/0.6191, allocations: 273.6 kB / 0.5837 GB, free: 6.277 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007766/0.6269, allocations: 5.56 MB / 0.5891 GB, free: 0.6328 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002002/0.629, allocations: 2.209 MB / 0.5913 GB, free: 14.39 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.002978/0.6319, allocations: 1.459 MB / 0.5927 GB, free: 12.93 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005289/0.6325, allocations: 175.4 kB / 0.5929 GB, free: 12.76 MB / 430.1 MB Notification: Performance of SimCode: time 2.795e-06/0.6325, allocations: 0 / 0.5929 GB, free: 12.76 MB / 430.1 MB Notification: Performance of Templates: time 0.03817/0.6707, allocations: 18.15 MB / 0.6106 GB, free: 10.71 MB / 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 -s cvode -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