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/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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001063/0.001063, allocations: 179.2 kB / 18.09 MB, free: 3.75 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.343/1.343, allocations: 223.3 MB / 242.1 MB, free: 11.71 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008036/0.0008037, allocations: 107.3 kB / 293.3 MB, free: 10.76 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3538/0.3538, allocations: 44.14 MB / 388.5 MB, free: 38.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003817/0.0003817, allocations: 12 kB / 461.1 MB, free: 1.305 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3031/0.3035, allocations: 61.88 MB / 0.5107 GB, free: 38.44 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1336/0.4372, allocations: 103.2 MB / 0.6115 GB, free: 7.848 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002454/0.4375, allocations: 83.94 kB / 0.6116 GB, free: 7.77 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1546/0.5922, allocations: 58.66 MB / 0.6689 GB, free: 12.66 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.545e-06/0.5922, allocations: 3.938 kB / 0.6689 GB, free: 12.65 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001749/0.5924, allocations: 47.98 kB / 0.6689 GB, free: 12.61 MB / 490.7 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.008338/0.6007, allocations: 2.63 MB / 0.6715 GB, free: 9.91 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.961e-05/0.6008, allocations: 12.03 kB / 0.6715 GB, free: 9.898 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008432/0.6092, allocations: 1.947 MB / 0.6734 GB, free: 7.945 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005457/0.6147, allocations: 2.133 MB / 0.6755 GB, free: 5.766 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002465/0.615, allocations: 181.1 kB / 0.6756 GB, free: 5.586 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001479/0.6165, allocations: 248.2 kB / 0.6759 GB, free: 5.344 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3168/0.9333, allocations: 6.888 MB / 0.6826 GB, free: 100.6 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003323/0.9337, allocations: 45.59 kB / 0.6826 GB, free: 100.6 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001394/0.9351, allocations: 124.3 kB / 0.6828 GB, free: 100.6 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001826/0.937, allocations: 0.7178 MB / 0.6835 GB, free: 100.6 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01728/0.9543, allocations: 5.864 MB / 0.6892 GB, free: 100.6 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04383/0.9982, allocations: 33.67 MB / 0.7221 GB, free: 77.24 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005531/1.004, allocations: 2.101 MB / 0.7241 GB, free: 76.16 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001909/1.006, allocations: 1.026 MB / 0.7251 GB, free: 75.73 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002424/1.006, allocations: 186.3 kB / 0.7253 GB, free: 75.54 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.075e-05/1.006, allocations: 38.86 kB / 0.7253 GB, free: 75.49 MB / 490.7 MB Notification: Performance of pre-optimization done (n=100): time 6.161e-06/1.006, allocations: 0 / 0.7253 GB, free: 75.49 MB / 490.7 MB Notification: Performance of matching and sorting (n=112): time 0.02474/1.031, allocations: 6.071 MB / 0.7313 GB, free: 73.09 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.33e-05/1.031, allocations: 146.7 kB / 0.7314 GB, free: 72.93 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007946/1.039, allocations: 2.911 MB / 0.7342 GB, free: 71.93 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000195/1.039, allocations: 37.64 kB / 0.7343 GB, free: 71.89 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001879/1.041, allocations: 2.108 MB / 0.7363 GB, free: 70.4 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006894/1.042, allocations: 456.7 kB / 0.7368 GB, free: 70.09 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000458/1.042, allocations: 88.44 kB / 0.7369 GB, free: 70.02 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0004673/1.043, allocations: 499.6 kB / 0.7373 GB, free: 69.64 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0031/1.046, allocations: 1.415 MB / 0.7387 GB, free: 69.22 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004369/1.05, allocations: 4.281 MB / 0.7429 GB, free: 64.89 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007922/1.058, allocations: 6.18 MB / 0.7489 GB, free: 59.48 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001618/1.058, allocations: 29.94 kB / 0.749 GB, free: 59.48 MB / 490.7 MB Notification: Performance of matching and sorting (n=575) (initialization): time 0.009876/1.068, allocations: 5.462 MB / 0.7543 GB, free: 57.42 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001466/1.068, allocations: 52.72 kB / 0.7543 GB, free: 57.42 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001767/1.069, allocations: 106.6 kB / 0.7544 GB, free: 57.42 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001323/1.069, allocations: 131.6 kB / 0.7546 GB, free: 57.42 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003231/1.072, allocations: 1.084 MB / 0.7556 GB, free: 57.29 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001507/1.072, allocations: 202.1 kB / 0.7558 GB, free: 57.24 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003579/1.076, allocations: 285.8 kB / 0.7561 GB, free: 57.16 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005966/1.076, allocations: 286.6 kB / 0.7564 GB, free: 57.12 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 464 * 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 (551): * Single equations (assignments): 548 * 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.002618/1.079, allocations: 1.383 MB / 0.7577 GB, free: 56.44 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007027/1.08, allocations: 235.7 kB / 0.7579 GB, free: 56.31 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001996/1.082, allocations: 1.22 MB / 0.7591 GB, free: 55.83 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.533e-05/1.082, allocations: 10.41 kB / 0.7591 GB, free: 55.83 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.298e-05/1.082, allocations: 11.22 kB / 0.7592 GB, free: 55.82 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.249e-05/1.082, allocations: 6.703 kB / 0.7592 GB, free: 55.82 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007922/1.09, allocations: 4.414 MB / 0.7635 GB, free: 54.07 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.209e-05/1.09, allocations: 3.781 kB / 0.7635 GB, free: 54.07 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008697/1.091, allocations: 215.9 kB / 0.7637 GB, free: 54.05 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.779e-05/1.091, allocations: 11.44 kB / 0.7637 GB, free: 54.05 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.824e-05/1.091, allocations: 18.66 kB / 0.7637 GB, free: 54.04 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.226e-05/1.091, allocations: 10.66 kB / 0.7637 GB, free: 54.04 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.893e-06/1.091, allocations: 18.84 kB / 0.7637 GB, free: 54.04 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0023/1.093, allocations: 2.136 MB / 0.7658 GB, free: 52.89 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006997/1.094, allocations: 311.8 kB / 0.7661 GB, free: 52.64 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005151/1.094, allocations: 22.12 kB / 0.7661 GB, free: 52.63 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001183/1.095, allocations: 75.02 kB / 0.7662 GB, free: 52.62 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001242/1.096, allocations: 69.86 kB / 0.7663 GB, free: 52.6 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.71e-05/1.096, allocations: 34.7 kB / 0.7663 GB, free: 52.59 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.002866/1.099, allocations: 1.842 MB / 0.7681 GB, free: 51.96 MB / 490.7 MB Notification: Performance of sort global known variables: time 5.21e-07/1.099, allocations: 0 / 0.7681 GB, free: 51.96 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.00374/1.102, allocations: 0.6352 MB / 0.7687 GB, free: 51.88 MB / 490.7 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.0003699/1.103, allocations: 166.1 kB / 0.7689 GB, free: 51.75 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004634/1.107, allocations: 3.225 MB / 0.772 GB, free: 50.72 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.252e-06/1.107, allocations: 0 / 0.772 GB, free: 50.72 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008625/1.108, allocations: 0.7868 MB / 0.7728 GB, free: 50.46 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003561/1.112, allocations: 261.9 kB / 0.7731 GB, free: 50.33 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01076/1.123, allocations: 6.586 MB / 0.7795 GB, free: 46.95 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002591/1.125, allocations: 2.204 MB / 0.7816 GB, free: 45.91 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.003687/1.129, allocations: 1.468 MB / 0.7831 GB, free: 45.8 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007219/1.13, allocations: 167.3 kB / 0.7832 GB, free: 45.79 MB / 490.7 MB Notification: Performance of SimCode: time 7.42e-07/1.13, allocations: 2.844 kB / 0.7832 GB, free: 45.79 MB / 490.7 MB Notification: Performance of Templates: time 0.03898/1.169, allocations: 20.72 MB / 0.8035 GB, free: 33.4 MB / 490.7 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","../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches