Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Rotational.TestMove") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009295/0.0009295, allocations: 172.2 kB / 16.76 MB, free: 5.055 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.42/1.42, allocations: 205.4 MB / 222.9 MB, free: 9.031 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007385/0.0007384, allocations: 81.41 kB / 271.3 MB, free: 8.258 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3288/0.3288, allocations: 43.56 MB / 363.1 MB, free: 52.1 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003802/0.0003805, allocations: 12 kB / 432.6 MB, free: 5.219 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1208/0.1212, allocations: 58.85 MB / 491.5 MB, free: 10.29 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3543/0.4755, allocations: 101.6 MB / 0.5791 GB, free: 416 kB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000223/0.4758, allocations: 73.81 kB / 0.5792 GB, free: 344 kB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1546/0.6304, allocations: 57.94 MB / 0.6358 GB, free: 6.008 MB / 458.7 MB Notification: Performance of FrontEnd: time 3.056e-06/0.6305, allocations: 0 / 0.6358 GB, free: 6.008 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.000165/0.6306, allocations: 47.94 kB / 0.6358 GB, free: 5.961 MB / 458.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.009418/0.6401, allocations: 2.652 MB / 0.6384 GB, free: 3.246 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.089e-05/0.6401, allocations: 8.031 kB / 0.6384 GB, free: 3.238 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008858/0.649, allocations: 1.951 MB / 0.6404 GB, free: 1.281 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00658/0.6556, allocations: 2.281 MB / 0.6426 GB, free: 14.95 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00027/0.656, allocations: 193.1 kB / 0.6428 GB, free: 14.76 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001352/0.6574, allocations: 240.2 kB / 0.643 GB, free: 14.53 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01554/0.6729, allocations: 6.888 MB / 0.6497 GB, free: 6.828 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001643/0.6731, allocations: 51.8 kB / 0.6498 GB, free: 6.777 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001032/0.6742, allocations: 127.9 kB / 0.6499 GB, free: 6.652 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001241/0.6754, allocations: 0.7111 MB / 0.6506 GB, free: 5.941 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01241/0.6879, allocations: 5.868 MB / 0.6563 GB, free: 68 kB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2787/0.9667, allocations: 33.67 MB / 0.6892 GB, free: 82.69 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004575/0.9713, allocations: 2.09 MB / 0.6912 GB, free: 82.03 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001484/0.9728, allocations: 1.038 MB / 0.6922 GB, free: 81.99 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001792/0.973, allocations: 185.7 kB / 0.6924 GB, free: 81.8 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.738e-05/0.973, allocations: 42.77 kB / 0.6925 GB, free: 81.76 MB / 490.7 MB Notification: Performance of pre-optimization done (n=100): time 4.569e-06/0.973, allocations: 3.219 kB / 0.6925 GB, free: 81.76 MB / 490.7 MB Notification: Performance of matching and sorting (n=112): time 0.01276/0.9858, allocations: 6.112 MB / 0.6984 GB, free: 80.3 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.016e-05/0.9859, allocations: 148.7 kB / 0.6986 GB, free: 80.14 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004012/0.9899, allocations: 2.923 MB / 0.7014 GB, free: 79.85 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001432/0.9901, allocations: 41.77 kB / 0.7015 GB, free: 79.82 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001229/0.9913, allocations: 2.103 MB / 0.7035 GB, free: 78.82 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004408/0.9917, allocations: 458.8 kB / 0.704 GB, free: 78.58 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001605/0.9919, allocations: 89.8 kB / 0.7041 GB, free: 78.58 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002747/0.9922, allocations: 0.4887 MB / 0.7045 GB, free: 78.27 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002031/0.9942, allocations: 1.417 MB / 0.7059 GB, free: 78.25 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003429/0.9977, allocations: 4.284 MB / 0.7101 GB, free: 74.54 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006033/1.004, allocations: 6.166 MB / 0.7161 GB, free: 70.87 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.701e-05/1.004, allocations: 30.06 kB / 0.7161 GB, free: 70.87 MB / 490.7 MB Notification: Performance of matching and sorting (n=575) (initialization): time 0.009166/1.013, allocations: 5.476 MB / 0.7215 GB, free: 70.06 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001143/1.013, allocations: 50.69 kB / 0.7215 GB, free: 70.06 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002534/1.013, allocations: 103.5 kB / 0.7216 GB, free: 70.06 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002108/1.014, allocations: 134.8 kB / 0.7218 GB, free: 70.05 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003557/1.017, allocations: 1.088 MB / 0.7228 GB, free: 69.96 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002709/1.018, allocations: 196.5 kB / 0.723 GB, free: 69.91 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003756/1.021, allocations: 284.3 kB / 0.7233 GB, free: 69.9 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007585/1.022, allocations: 285.5 kB / 0.7236 GB, free: 69.89 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.003437/1.026, allocations: 1.388 MB / 0.7249 GB, free: 69.26 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008366/1.026, allocations: 245.4 kB / 0.7252 GB, free: 69.12 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002481/1.029, allocations: 1.222 MB / 0.7263 GB, free: 68.64 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.131e-05/1.029, allocations: 16.86 kB / 0.7264 GB, free: 68.64 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.26e-05/1.029, allocations: 5.031 kB / 0.7264 GB, free: 68.64 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.34e-05/1.029, allocations: 5.547 kB / 0.7264 GB, free: 68.64 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01045/1.039, allocations: 4.415 MB / 0.7307 GB, free: 66.89 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-05/1.039, allocations: 7.875 kB / 0.7307 GB, free: 66.89 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001063/1.041, allocations: 212.5 kB / 0.7309 GB, free: 66.88 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.203e-05/1.041, allocations: 13.03 kB / 0.7309 GB, free: 66.87 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001092/1.041, allocations: 24.11 kB / 0.7309 GB, free: 66.86 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.86e-05/1.041, allocations: 15.86 kB / 0.7309 GB, free: 66.86 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-05/1.041, allocations: 5.25 kB / 0.7309 GB, free: 66.86 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003318/1.044, allocations: 2.132 MB / 0.733 GB, free: 65.72 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001238/1.045, allocations: 465.8 kB / 0.7335 GB, free: 65.43 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006837/1.046, allocations: 29.64 kB / 0.7335 GB, free: 65.41 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001415/1.047, allocations: 71.19 kB / 0.7336 GB, free: 65.4 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001854/1.048, allocations: 68.48 kB / 0.7336 GB, free: 65.38 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001126/1.048, allocations: 41.97 kB / 0.7337 GB, free: 65.37 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.00538/1.053, allocations: 1.844 MB / 0.7355 GB, free: 64.74 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.81e-07/1.053, allocations: 0 / 0.7355 GB, free: 64.74 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.006011/1.059, allocations: 0.634 MB / 0.7361 GB, free: 64.66 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.0005663/1.06, allocations: 166.9 kB / 0.7363 GB, free: 64.54 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006118/1.066, allocations: 3.225 MB / 0.7394 GB, free: 63.5 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 9.268e-06/1.066, allocations: 3.219 kB / 0.7394 GB, free: 63.5 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001211/1.067, allocations: 0.7806 MB / 0.7402 GB, free: 63.25 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004644/1.072, allocations: 260.2 kB / 0.7404 GB, free: 63.12 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01364/1.085, allocations: 6.605 MB / 0.7469 GB, free: 59.74 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004828/1.09, allocations: 2.222 MB / 0.749 GB, free: 58.7 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.004215/1.095, allocations: 1.459 MB / 0.7505 GB, free: 58.6 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007894/1.095, allocations: 173.9 kB / 0.7506 GB, free: 58.58 MB / 490.7 MB Notification: Performance of SimCode: time 1.443e-06/1.095, allocations: 3.844 kB / 0.7506 GB, free: 58.58 MB / 490.7 MB Notification: Performance of Templates: time 0.04211/1.138, allocations: 20.73 MB / 0.7709 GB, free: 57.56 MB / 490.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove.sim & ./ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/TestMove/TestMove.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches