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.0009157/0.0009154, allocations: 180.4 kB / 14.15 MB, free: 1.176 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.255/1.255, allocations: 221.3 MB / 236 MB, free: 2.953 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009024/0.0009022, allocations: 91.8 kB / 287 MB, free: 244 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1788/0.1788, allocations: 44.15 MB / 382 MB, free: 14.67 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.173e-05/2.174e-05, allocations: 224 / 451.8 MB, free: 9.434 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1181/0.1181, allocations: 61.91 MB / 0.5017 GB, free: 11.46 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3778/0.496, allocations: 103 MB / 0.6023 GB, free: 2.277 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000287/0.4963, allocations: 75.27 kB / 0.6024 GB, free: 2.207 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1544/0.6507, allocations: 59.48 MB / 0.6604 GB, free: 6.273 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.835e-06/0.6508, allocations: 0 / 0.6604 GB, free: 6.273 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001126/0.6509, allocations: 48 kB / 0.6605 GB, free: 6.227 MB / 474.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.006791/0.6577, allocations: 2.599 MB / 0.663 GB, free: 3.57 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.902e-05/0.6578, allocations: 8.031 kB / 0.663 GB, free: 3.562 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008299/0.6661, allocations: 1.97 MB / 0.665 GB, free: 1.586 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008403/0.6745, allocations: 3.224 MB / 0.6681 GB, free: 14.31 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001849/0.6747, allocations: 184.8 kB / 0.6683 GB, free: 14.12 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009665/0.6757, allocations: 239.9 kB / 0.6685 GB, free: 13.89 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01185/0.6875, allocations: 6.826 MB / 0.6752 GB, free: 6.246 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001057/0.6877, allocations: 43.53 kB / 0.6752 GB, free: 6.203 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005127/0.6882, allocations: 123.9 kB / 0.6753 GB, free: 6.082 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009462/0.6892, allocations: 0.7228 MB / 0.676 GB, free: 5.363 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009551/0.6987, allocations: 5.748 MB / 0.6817 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2893/0.988, allocations: 33.66 MB / 0.7145 GB, free: 118.7 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004005/0.9921, allocations: 2.089 MB / 0.7166 GB, free: 118 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001238/0.9933, allocations: 1.013 MB / 0.7176 GB, free: 118 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001519/0.9935, allocations: 177 kB / 0.7177 GB, free: 117.8 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.86e-05/0.9936, allocations: 47.98 kB / 0.7178 GB, free: 117.8 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=100): time 5.651e-06/0.9936, allocations: 0 / 0.7178 GB, free: 117.8 MB / 0.5105 GB Notification: Performance of matching and sorting (n=112): time 0.01432/1.008, allocations: 5.112 MB / 0.7228 GB, free: 116.4 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.072e-05/1.008, allocations: 141.7 kB / 0.7229 GB, free: 116.3 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004572/1.013, allocations: 2.553 MB / 0.7254 GB, free: 116 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001888/1.013, allocations: 39.33 kB / 0.7254 GB, free: 115.9 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.001713/1.015, allocations: 2.102 MB / 0.7275 GB, free: 114.9 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005799/1.015, allocations: 454.3 kB / 0.7279 GB, free: 114.7 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001582/1.015, allocations: 85.31 kB / 0.728 GB, free: 114.7 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0002927/1.016, allocations: 0.4912 MB / 0.7285 GB, free: 114.4 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002118/1.018, allocations: 1.359 MB / 0.7298 GB, free: 114.4 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003814/1.022, allocations: 4.199 MB / 0.7339 GB, free: 110.7 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004215/1.026, allocations: 2.377 MB / 0.7362 GB, free: 110.7 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.59e-05/1.026, allocations: 29.62 kB / 0.7363 GB, free: 110.7 MB / 0.5105 GB Notification: Performance of matching and sorting (n=575) (initialization): time 0.009904/1.036, allocations: 5.365 MB / 0.7415 GB, free: 110.4 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 7.825e-05/1.036, allocations: 48.78 kB / 0.7415 GB, free: 110.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001174/1.036, allocations: 107.5 kB / 0.7417 GB, free: 110.4 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001292/1.036, allocations: 145.7 kB / 0.7418 GB, free: 110.4 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003203/1.039, allocations: 1.086 MB / 0.7429 GB, free: 110.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001098/1.04, allocations: 200.9 kB / 0.743 GB, free: 110.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003393/1.043, allocations: 287 kB / 0.7433 GB, free: 110.2 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003467/1.043, allocations: 283.8 kB / 0.7436 GB, free: 110.2 MB / 0.5105 GB 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 () * 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.0004938/1.044, allocations: 446 kB / 0.744 GB, free: 110 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003561/1.044, allocations: 240.8 kB / 0.7442 GB, free: 109.8 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001753/1.046, allocations: 1.214 MB / 0.7454 GB, free: 109.8 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.361e-05/1.046, allocations: 17.97 kB / 0.7454 GB, free: 109.8 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.38e-05/1.046, allocations: 0.625 kB / 0.7454 GB, free: 109.8 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.16e-05/1.046, allocations: 7.359 kB / 0.7455 GB, free: 109.8 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00671/1.053, allocations: 4.401 MB / 0.7497 GB, free: 108.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.137e-05/1.053, allocations: 6.281 kB / 0.7498 GB, free: 108.8 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009589/1.054, allocations: 212.6 kB / 0.75 GB, free: 108.8 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-05/1.054, allocations: 7.219 kB / 0.75 GB, free: 108.8 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.221e-05/1.054, allocations: 26.59 kB / 0.75 GB, free: 108.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.078e-05/1.054, allocations: 13.69 kB / 0.75 GB, free: 108.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.603e-06/1.054, allocations: 6.25 kB / 0.75 GB, free: 108.8 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002532/1.056, allocations: 2.567 MB / 0.7525 GB, free: 107.2 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006472/1.057, allocations: 313 kB / 0.7528 GB, free: 106.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002269/1.057, allocations: 27.78 kB / 0.7528 GB, free: 106.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009899/1.058, allocations: 70.31 kB / 0.7529 GB, free: 106.9 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001293/1.058, allocations: 70.14 kB / 0.753 GB, free: 106.9 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.276e-05/1.059, allocations: 41.45 kB / 0.753 GB, free: 106.9 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.002552/1.061, allocations: 1.774 MB / 0.7547 GB, free: 106.3 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8.72e-07/1.061, allocations: 2.875 kB / 0.7547 GB, free: 106.3 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.003818/1.065, allocations: 0.6406 MB / 0.7554 GB, free: 106.2 MB / 0.5105 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.0003451/1.065, allocations: 161.9 kB / 0.7555 GB, free: 106.1 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.00419/1.07, allocations: 3.165 MB / 0.7586 GB, free: 105 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.951e-06/1.07, allocations: 480 / 0.7586 GB, free: 105 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0008454/1.07, allocations: 0.7783 MB / 0.7594 GB, free: 104.8 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0016/1.072, allocations: 257.9 kB / 0.7596 GB, free: 104.7 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008524/1.081, allocations: 4.607 MB / 0.7641 GB, free: 102.9 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001769/1.082, allocations: 2.262 MB / 0.7663 GB, free: 101.9 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.003302/1.086, allocations: 1.462 MB / 0.7678 GB, free: 101.8 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005036/1.086, allocations: 176.2 kB / 0.7679 GB, free: 101.8 MB / 0.5105 GB Notification: Performance of SimCode: time 9.72e-07/1.086, allocations: 0 / 0.7679 GB, free: 101.8 MB / 0.5105 GB Notification: Performance of Templates: time 0.03346/1.12, allocations: 20.69 MB / 0.7881 GB, free: 96.32 MB / 0.5105 GB 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","../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches