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.001259/0.001259, allocations: 176.7 kB / 8.008 MB, free: 1.066 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.675/1.675, allocations: 205.3 MB / 213.7 MB, free: 1.738 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008832/0.0008832, allocations: 86.69 kB / 261.7 MB, free: 1.688 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.2369/0.2369, allocations: 43.5 MB / 353.2 MB, free: 296 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.803e-05/1.805e-05, allocations: 0 / 418.2 MB, free: 28.56 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.136/0.136, allocations: 58.85 MB / 477.1 MB, free: 1.66 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4587/0.5947, allocations: 100.7 MB / 0.5643 GB, free: 11.04 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002185/0.595, allocations: 74.19 kB / 0.5643 GB, free: 11.01 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1526/0.7476, allocations: 57.87 MB / 0.6208 GB, free: 9.289 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.7477, allocations: 0 / 0.6208 GB, free: 9.289 MB / 426.7 MB Notification: Performance of Transformations before backend: time 9.33e-05/0.7478, allocations: 47.98 kB / 0.6209 GB, free: 9.242 MB / 426.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.005642/0.7534, allocations: 2.596 MB / 0.6234 GB, free: 6.676 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.427e-05/0.7535, allocations: 12.03 kB / 0.6234 GB, free: 6.664 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00845/0.7619, allocations: 1.981 MB / 0.6254 GB, free: 4.676 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009788/0.7718, allocations: 3.353 MB / 0.6286 GB, free: 1.273 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001555/0.772, allocations: 76 kB / 0.6287 GB, free: 1.199 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001073/0.7731, allocations: 140 kB / 0.6288 GB, free: 1.062 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006699/0.7798, allocations: 3.967 MB / 0.6327 GB, free: 13.09 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009289/0.7891, allocations: 6.269 MB / 0.6388 GB, free: 6.016 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.61e-05/0.7893, allocations: 51.53 kB / 0.6389 GB, free: 5.965 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003005/0.7896, allocations: 27.95 kB / 0.6389 GB, free: 5.938 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001008/0.7906, allocations: 0.715 MB / 0.6396 GB, free: 5.219 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03285/0.8234, allocations: 32.24 MB / 0.6711 GB, free: 3.957 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002484/0.826, allocations: 1.948 MB / 0.673 GB, free: 1.855 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001212/0.8272, allocations: 0.9946 MB / 0.674 GB, free: 0.8516 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002131/0.8274, allocations: 182.5 kB / 0.6741 GB, free: 0.6367 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.333e-05/0.8275, allocations: 42.89 kB / 0.6742 GB, free: 0.5859 MB / 474.7 MB Notification: Performance of pre-optimization done (n=100): time 2.926e-06/0.8275, allocations: 0 / 0.6742 GB, free: 0.5859 MB / 474.7 MB Notification: Performance of matching and sorting (n=112): time 0.01137/0.8389, allocations: 6.309 MB / 0.6803 GB, free: 10.24 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.459e-05/0.839, allocations: 137 kB / 0.6805 GB, free: 10.08 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003039/0.842, allocations: 2.193 MB / 0.6826 GB, free: 7.863 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001271/0.8422, allocations: 25.7 kB / 0.6826 GB, free: 7.832 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001533/0.8437, allocations: 2.159 MB / 0.6848 GB, free: 5.637 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004598/0.8442, allocations: 454.4 kB / 0.6852 GB, free: 5.188 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001356/0.8443, allocations: 0 / 0.6852 GB, free: 5.188 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0003738/0.8447, allocations: 0.5439 MB / 0.6857 GB, free: 4.633 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0019/0.8466, allocations: 1.313 MB / 0.687 GB, free: 3.312 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003871/0.8505, allocations: 4.272 MB / 0.6912 GB, free: 13.53 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003465/0.854, allocations: 2.352 MB / 0.6935 GB, free: 11.18 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.122e-05/0.8541, allocations: 35.98 kB / 0.6935 GB, free: 11.14 MB / 0.4948 GB Notification: Performance of matching and sorting (n=599) (initialization): time 0.00875/0.8628, allocations: 4.868 MB / 0.6983 GB, free: 6.27 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 7.442e-05/0.8629, allocations: 52 kB / 0.6983 GB, free: 6.219 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001177/0.8631, allocations: 104 kB / 0.6984 GB, free: 6.117 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001676/0.8632, allocations: 160 kB / 0.6986 GB, free: 5.961 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003557/0.8668, allocations: 1.123 MB / 0.6997 GB, free: 4.836 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001592/0.867, allocations: 219.1 kB / 0.6999 GB, free: 4.621 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003392/0.8704, allocations: 211.7 kB / 0.7001 GB, free: 4.414 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005496/0.871, allocations: 295.9 kB / 0.7003 GB, free: 4.125 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 488 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (575): * Single equations (assignments): 572 * 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.0005782/0.8715, allocations: 364.5 kB / 0.7007 GB, free: 3.758 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003633/0.8719, allocations: 217.3 kB / 0.7009 GB, free: 3.543 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001973/0.8739, allocations: 1.145 MB / 0.702 GB, free: 2.391 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.52e-05/0.8739, allocations: 12 kB / 0.702 GB, free: 2.379 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.2e-05/0.8739, allocations: 4 kB / 0.702 GB, free: 2.375 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.303e-05/0.874, allocations: 7.938 kB / 0.702 GB, free: 2.367 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2975/1.171, allocations: 3.886 MB / 0.7058 GB, free: 141.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.461e-05/1.172, allocations: 9.906 kB / 0.7058 GB, free: 141.2 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001077/1.173, allocations: 218.4 kB / 0.7061 GB, free: 141.2 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.447e-05/1.173, allocations: 9.75 kB / 0.7061 GB, free: 141.2 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.634e-05/1.173, allocations: 10.59 kB / 0.7061 GB, free: 141.2 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.16e-05/1.173, allocations: 13.92 kB / 0.7061 GB, free: 141.2 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.357e-06/1.173, allocations: 10.09 kB / 0.7061 GB, free: 141.2 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002822/1.176, allocations: 2.421 MB / 0.7085 GB, free: 140.2 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009617/1.177, allocations: 435.4 kB / 0.7089 GB, free: 140.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002217/1.177, allocations: 9.969 kB / 0.7089 GB, free: 140.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009327/1.178, allocations: 59.64 kB / 0.7089 GB, free: 140.1 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001311/1.178, allocations: 68 kB / 0.709 GB, free: 140.1 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.756e-05/1.178, allocations: 35.28 kB / 0.709 GB, free: 140.1 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.002567/1.181, allocations: 1.441 MB / 0.7104 GB, free: 140 MB / 0.4948 GB Notification: Performance of sort global known variables: time 3.91e-07/1.181, allocations: 0 / 0.7104 GB, free: 140 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.003749/1.184, allocations: 0.5378 MB / 0.711 GB, free: 140 MB / 0.4948 GB 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 () * 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.0003447/1.185, allocations: 145.2 kB / 0.7111 GB, free: 139.9 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.004997/1.19, allocations: 3.007 MB / 0.714 GB, free: 139.9 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/1.19, allocations: 0 / 0.714 GB, free: 139.9 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001257/1.191, allocations: 0.7553 MB / 0.7148 GB, free: 139.9 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001407/1.192, allocations: 209.2 kB / 0.715 GB, free: 139.9 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009856/1.202, allocations: 4.563 MB / 0.7194 GB, free: 138.8 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002615/1.205, allocations: 2.266 MB / 0.7217 GB, free: 138.1 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.003917/1.209, allocations: 1.5 MB / 0.7231 GB, free: 138.1 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005288/1.209, allocations: 166.6 kB / 0.7233 GB, free: 138.1 MB / 0.4948 GB Notification: Performance of SimCode: time 1.814e-06/1.209, allocations: 1.969 kB / 0.7233 GB, free: 138.1 MB / 0.4948 GB Notification: Performance of Templates: time 0.03592/1.245, allocations: 17.99 MB / 0.7408 GB, free: 137.3 MB / 0.4948 GB 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/jenkins/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