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.001146/0.001146, allocations: 93.88 kB / 17 MB, free: 6.125 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.001394/0.001394, allocations: 183.2 kB / 17.89 MB, free: 5.703 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.53/1.53, allocations: 223.2 MB / 241.9 MB, free: 328 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.2394/0.2394, allocations: 44.25 MB / 337.3 MB, free: 2.863 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003132/0.0003133, allocations: 4 kB / 409.7 MB, free: 27.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.127/0.1273, allocations: 61.93 MB / 471.6 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestMove): time 0.01348/0.1408, allocations: 12.96 MB / 484.6 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01101/0.1519, allocations: 4.192 MB / 488.7 MB, free: 12.52 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003148/0.1551, allocations: 55.88 kB / 488.8 MB, free: 12.46 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002216/0.1573, allocations: 0.6104 MB / 489.4 MB, free: 11.85 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006233/0.1636, allocations: 2.137 MB / 491.5 MB, free: 9.703 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00143/0.165, allocations: 447.2 kB / 492 MB, free: 9.266 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.004027/0.1691, allocations: 2.737 MB / 494.7 MB, free: 6.523 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002529/0.1716, allocations: 1.401 MB / 496.1 MB, free: 5.09 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001528/0.1732, allocations: 0.7043 MB / 496.8 MB, free: 4.383 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00172/0.1749, allocations: 1.157 MB / 498 MB, free: 3.223 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002788/0.1752, allocations: 80 kB / 498.1 MB, free: 3.145 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001511/0.1767, allocations: 0.7918 MB / 498.9 MB, free: 2.352 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008595/0.1776, allocations: 0.9622 MB / 499.8 MB, free: 1.387 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004671/0.1781, allocations: 0.4884 MB / 0.4886 GB, free: 0.8906 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00302/0.1811, allocations: 3.013 MB / 0.4915 GB, free: 13.87 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.1811, allocations: 0 / 0.4915 GB, free: 13.87 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.324e-06/0.1811, allocations: 4 kB / 0.4915 GB, free: 13.87 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.472e-05/0.1812, allocations: 0 / 0.4915 GB, free: 13.87 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.005208/0.1864, allocations: 2.501 MB / 0.494 GB, free: 11.31 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.709e-05/0.1865, allocations: 8.562 kB / 0.494 GB, free: 11.3 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006268/0.1928, allocations: 1.693 MB / 0.4956 GB, free: 9.602 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00249/0.1953, allocations: 1.308 MB / 0.4969 GB, free: 8.25 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.499e-05/0.1954, allocations: 127 kB / 0.497 GB, free: 8.125 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000293/0.1957, allocations: 167.7 kB / 0.4972 GB, free: 7.961 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009073/0.2048, allocations: 6.445 MB / 0.5035 GB, free: 0.9883 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.883e-05/0.2049, allocations: 39.66 kB / 0.5035 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002311/0.2051, allocations: 83.89 kB / 0.5036 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.247/0.4521, allocations: 1.44 MB / 0.505 GB, free: 27.05 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01106/0.4632, allocations: 5.708 MB / 0.5106 GB, free: 27.03 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02822/0.4914, allocations: 26.76 MB / 0.5367 GB, free: 11.41 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003572/0.4951, allocations: 2.122 MB / 0.5388 GB, free: 10.74 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001128/0.4962, allocations: 1.041 MB / 0.5398 GB, free: 10.48 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001617/0.4964, allocations: 178.3 kB / 0.54 GB, free: 10.29 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.648e-05/0.4964, allocations: 51.89 kB / 0.54 GB, free: 10.24 MB / 382.1 MB Notification: Performance of pre-optimization done (n=100): time 3.026e-06/0.4964, allocations: 0 / 0.54 GB, free: 10.24 MB / 382.1 MB Notification: Performance of matching and sorting (n=112): time 0.01494/0.5114, allocations: 6.339 MB / 0.5462 GB, free: 6.918 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.323e-05/0.5115, allocations: 136.9 kB / 0.5463 GB, free: 6.762 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003138/0.5146, allocations: 2.875 MB / 0.5491 GB, free: 4.168 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.672e-05/0.5147, allocations: 42.95 kB / 0.5492 GB, free: 4.121 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001091/0.5158, allocations: 2.109 MB / 0.5512 GB, free: 2.027 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003237/0.5162, allocations: 451.7 kB / 0.5517 GB, free: 1.59 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001502/0.5163, allocations: 96.78 kB / 0.5518 GB, free: 1.496 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001875/0.5165, allocations: 0.492 MB / 0.5523 GB, free: 0.9961 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001802/0.5183, allocations: 1.407 MB / 0.5536 GB, free: 15.58 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004253/0.5226, allocations: 4.28 MB / 0.5578 GB, free: 9.902 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003343/0.526, allocations: 2.41 MB / 0.5602 GB, free: 7.59 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.12e-05/0.526, allocations: 28 kB / 0.5602 GB, free: 7.562 MB / 398.1 MB Notification: Performance of matching and sorting (n=581) (initialization): time 0.008268/0.5343, allocations: 5.471 MB / 0.5655 GB, free: 2.543 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.754e-05/0.5344, allocations: 52.91 kB / 0.5656 GB, free: 2.496 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001086/0.5345, allocations: 104 kB / 0.5657 GB, free: 2.395 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001473/0.5346, allocations: 148 kB / 0.5658 GB, free: 2.25 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00396/0.5386, allocations: 1.224 MB / 0.567 GB, free: 1.023 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001654/0.5388, allocations: 207.5 kB / 0.5672 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002781/0.5416, allocations: 239.6 kB / 0.5674 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003664/0.542, allocations: 281.2 kB / 0.5677 GB, free: 320 kB / 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002049/0.544, allocations: 1.387 MB / 0.5691 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004657/0.5445, allocations: 240.8 kB / 0.5693 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002108/0.5466, allocations: 1.237 MB / 0.5705 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.032e-05/0.5467, allocations: 16 kB / 0.5705 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.246e-05/0.5467, allocations: 0 / 0.5705 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.132e-05/0.5467, allocations: 3.984 kB / 0.5705 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008032/0.5547, allocations: 4.551 MB / 0.575 GB, free: 8.773 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.087e-05/0.5548, allocations: 8.062 kB / 0.575 GB, free: 8.766 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001654/0.5564, allocations: 367.3 kB / 0.5753 GB, free: 8.406 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.735e-05/0.5565, allocations: 11.95 kB / 0.5753 GB, free: 8.395 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.173e-05/0.5565, allocations: 25.25 kB / 0.5754 GB, free: 8.371 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.51e-05/0.5566, allocations: 11.98 kB / 0.5754 GB, free: 8.359 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.518e-06/0.5566, allocations: 8.562 kB / 0.5754 GB, free: 8.352 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002865/0.5594, allocations: 2.146 MB / 0.5775 GB, free: 6.137 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006027/0.5601, allocations: 313.8 kB / 0.5778 GB, free: 5.809 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002396/0.5603, allocations: 25.12 kB / 0.5778 GB, free: 5.785 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008389/0.5612, allocations: 59.92 kB / 0.5779 GB, free: 5.727 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001516/0.5613, allocations: 71.75 kB / 0.5779 GB, free: 5.656 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.243e-05/0.5614, allocations: 36.94 kB / 0.578 GB, free: 5.621 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002969/0.5644, allocations: 1.803 MB / 0.5797 GB, free: 3.812 MB / 414.1 MB Notification: Performance of sort global known variables: time 5.71e-07/0.5644, allocations: 2.078 kB / 0.5797 GB, free: 3.812 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003604/0.568, allocations: 0.6306 MB / 0.5803 GB, free: 3.188 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003993/0.5684, allocations: 159.6 kB / 0.5805 GB, free: 3.035 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.005475/0.5739, allocations: 3.236 MB / 0.5836 GB, free: 15.82 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.722e-06/0.5739, allocations: 0 / 0.5836 GB, free: 15.82 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001129/0.5751, allocations: 0.7965 MB / 0.5844 GB, free: 15.02 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001814/0.5769, allocations: 253.5 kB / 0.5847 GB, free: 14.78 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01049/0.5874, allocations: 6.535 MB / 0.591 GB, free: 8.152 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002414/0.5899, allocations: 2.222 MB / 0.5932 GB, free: 5.902 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.003844/0.5937, allocations: 1.465 MB / 0.5947 GB, free: 4.434 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005992/0.5943, allocations: 167.4 kB / 0.5948 GB, free: 4.273 MB / 430.1 MB Notification: Performance of SimCode: time 1.513e-06/0.5943, allocations: 7.938 kB / 0.5948 GB, free: 4.266 MB / 430.1 MB Notification: Performance of Templates: time 0.04313/0.6375, allocations: 20.56 MB / 0.6149 GB, free: 15.86 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/TestMove/TestMove.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches