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.001275/0.001275, allocations: 107.7 kB / 17.21 MB, free: 6.27 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.001315/0.001315, allocations: 194 kB / 18.12 MB, free: 5.363 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.417/1.417, allocations: 222.9 MB / 241.8 MB, free: 15.54 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.2133/0.2133, allocations: 44.18 MB / 336.1 MB, free: 3.027 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001615/0.001615, allocations: 55.16 kB / 407.7 MB, free: 27.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1277/0.1293, allocations: 60.83 MB / 468.5 MB, free: 14.88 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestMove): time 0.01614/0.1455, allocations: 14.45 MB / 483 MB, free: 372 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01136/0.1569, allocations: 4.557 MB / 487.5 MB, free: 11.79 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003542/0.1605, allocations: 51.88 kB / 487.6 MB, free: 11.74 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002378/0.1629, allocations: 0.7671 MB / 488.3 MB, free: 10.97 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004978/0.168, allocations: 1.23 MB / 489.6 MB, free: 9.738 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002049/0.17, allocations: 491.2 kB / 490 MB, free: 9.258 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.005148/0.1752, allocations: 3.462 MB / 493.5 MB, free: 5.789 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00237/0.1776, allocations: 1.213 MB / 494.7 MB, free: 4.562 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001636/0.1793, allocations: 0.673 MB / 495.4 MB, free: 3.887 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00221/0.1815, allocations: 1.222 MB / 496.6 MB, free: 2.66 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005605/0.1821, allocations: 96 kB / 496.7 MB, free: 2.566 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002322/0.1844, allocations: 0.9671 MB / 497.7 MB, free: 1.598 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001541/0.186, allocations: 0.9971 MB / 498.7 MB, free: 0.5977 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002255/0.1883, allocations: 1.195 MB / 499.9 MB, free: 15.39 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005244/0.1935, allocations: 3.87 MB / 0.4919 GB, free: 11.51 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.1936, allocations: 0 / 0.4919 GB, free: 11.51 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1936, allocations: 4 kB / 0.4919 GB, free: 11.51 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001881/0.1938, allocations: 0 / 0.4919 GB, free: 11.51 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.006774/0.2006, allocations: 2.949 MB / 0.4948 GB, free: 8.5 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.595e-05/0.2006, allocations: 12.03 kB / 0.4948 GB, free: 8.488 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006128/0.2068, allocations: 1.639 MB / 0.4964 GB, free: 6.844 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003078/0.2099, allocations: 1.351 MB / 0.4977 GB, free: 5.449 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001328/0.21, allocations: 123.4 kB / 0.4979 GB, free: 5.328 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006249/0.2107, allocations: 163.9 kB / 0.498 GB, free: 5.168 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2726/0.4832, allocations: 6.448 MB / 0.5043 GB, free: 46.63 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000263/0.4836, allocations: 32.98 kB / 0.5044 GB, free: 46.62 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001155/0.4847, allocations: 85 kB / 0.5044 GB, free: 46.62 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003663/0.4884, allocations: 1.445 MB / 0.5058 GB, free: 46.59 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01413/0.5026, allocations: 5.727 MB / 0.5114 GB, free: 44.94 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0325/0.5351, allocations: 26.8 MB / 0.5376 GB, free: 24.02 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00354/0.5387, allocations: 2.137 MB / 0.5397 GB, free: 22.6 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001034/0.5398, allocations: 1.038 MB / 0.5407 GB, free: 22.05 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001637/0.5399, allocations: 175.6 kB / 0.5409 GB, free: 21.86 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.751e-05/0.54, allocations: 46.7 kB / 0.5409 GB, free: 21.81 MB / 382.1 MB Notification: Performance of pre-optimization done (n=100): time 3.606e-06/0.54, allocations: 4 kB / 0.5409 GB, free: 21.81 MB / 382.1 MB Notification: Performance of matching and sorting (n=112): time 0.01417/0.5542, allocations: 6.367 MB / 0.5471 GB, free: 15.56 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.839e-05/0.5543, allocations: 144.9 kB / 0.5473 GB, free: 15.39 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003029/0.5573, allocations: 2.889 MB / 0.5501 GB, free: 12.48 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.098e-05/0.5574, allocations: 41.7 kB / 0.5501 GB, free: 12.44 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009413/0.5583, allocations: 2.113 MB / 0.5522 GB, free: 10.32 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002821/0.5586, allocations: 458.4 kB / 0.5526 GB, free: 9.867 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008186/0.5595, allocations: 0.885 MB / 0.5535 GB, free: 8.969 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.281e-05/0.5595, allocations: 305.1 kB / 0.5538 GB, free: 8.668 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001635/0.5612, allocations: 1.426 MB / 0.5552 GB, free: 7.234 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002581/0.5638, allocations: 4.303 MB / 0.5594 GB, free: 1.48 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006409/0.5702, allocations: 6.212 MB / 0.5655 GB, free: 9.832 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.511e-05/0.5703, allocations: 28 kB / 0.5655 GB, free: 9.805 MB / 398.1 MB Notification: Performance of matching and sorting (n=581) (initialization): time 0.008975/0.5792, allocations: 5.506 MB / 0.5709 GB, free: 4.293 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.401e-05/0.5793, allocations: 50.44 kB / 0.5709 GB, free: 4.246 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.792e-05/0.5794, allocations: 104.9 kB / 0.571 GB, free: 4.145 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001203/0.5795, allocations: 136 kB / 0.5711 GB, free: 4.012 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00379/0.5833, allocations: 1.239 MB / 0.5723 GB, free: 2.773 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001551/0.5835, allocations: 199.2 kB / 0.5725 GB, free: 2.578 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002817/0.5863, allocations: 239.6 kB / 0.5728 GB, free: 2.344 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004796/0.5868, allocations: 284 kB / 0.573 GB, free: 2.066 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.002219/0.5891, allocations: 1.373 MB / 0.5744 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004897/0.5896, allocations: 248.9 kB / 0.5746 GB, free: 444 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001965/0.5915, allocations: 1.241 MB / 0.5758 GB, free: 15.18 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.534e-05/0.5916, allocations: 15.94 kB / 0.5758 GB, free: 15.16 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/0.5916, allocations: 0 / 0.5758 GB, free: 15.16 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.143e-05/0.5916, allocations: 7.984 kB / 0.5758 GB, free: 15.15 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007657/0.5993, allocations: 4.565 MB / 0.5803 GB, free: 10.49 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.548e-06/0.5993, allocations: 4.531 kB / 0.5803 GB, free: 10.48 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001681/0.601, allocations: 371.3 kB / 0.5807 GB, free: 10.12 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.355e-05/0.601, allocations: 8 kB / 0.5807 GB, free: 10.11 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.505e-05/0.6011, allocations: 27.98 kB / 0.5807 GB, free: 10.09 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.908e-06/0.6011, allocations: 8 kB / 0.5807 GB, free: 10.08 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.753e-06/0.6011, allocations: 7.938 kB / 0.5807 GB, free: 10.07 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002601/0.6037, allocations: 2.168 MB / 0.5828 GB, free: 7.836 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005393/0.6043, allocations: 301.8 kB / 0.5831 GB, free: 7.52 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002442/0.6045, allocations: 27.94 kB / 0.5831 GB, free: 7.492 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008532/0.6054, allocations: 51.92 kB / 0.5832 GB, free: 7.441 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001482/0.6056, allocations: 75.73 kB / 0.5833 GB, free: 7.367 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.417e-05/0.6057, allocations: 36 kB / 0.5833 GB, free: 7.332 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002527/0.6082, allocations: 1.819 MB / 0.5851 GB, free: 5.508 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.6082, allocations: 0 / 0.5851 GB, free: 5.508 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003141/0.6114, allocations: 0.6275 MB / 0.5857 GB, free: 4.883 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.000321/0.6117, allocations: 161.2 kB / 0.5858 GB, free: 4.723 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.005495/0.6172, allocations: 3.263 MB / 0.589 GB, free: 1.484 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.911e-06/0.6172, allocations: 0 / 0.589 GB, free: 1.484 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001055/0.6183, allocations: 0.7968 MB / 0.5898 GB, free: 0.6875 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001806/0.6201, allocations: 247.4 kB / 0.59 GB, free: 456 kB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01081/0.6309, allocations: 6.78 MB / 0.5967 GB, free: 9.57 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002384/0.6333, allocations: 2.215 MB / 0.5988 GB, free: 7.328 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.003694/0.637, allocations: 1.468 MB / 0.6003 GB, free: 5.855 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005322/0.6376, allocations: 171.4 kB / 0.6004 GB, free: 5.688 MB / 430.1 MB Notification: Performance of SimCode: time 7.51e-07/0.6376, allocations: 0 / 0.6004 GB, free: 5.688 MB / 430.1 MB Notification: Performance of Templates: time 0.04202/0.6796, allocations: 21.21 MB / 0.6211 GB, free: 0.5391 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 -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