Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.TestMove.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_ModelicaTest.Rotational.TestMove") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001593/0.001593, allocations: 198.1 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.44/1.44, allocations: 225.6 MB / 234.8 MB, free: 3.223 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009165/0.0009162, allocations: 105 kB / 286.7 MB, free: 5.258 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2023/0.2023, allocations: 45.15 MB / 383.8 MB, free: 232 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.126e-05/2.139e-05, allocations: 4 kB / 453.2 MB, free: 75.82 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.117/0.1171, allocations: 63.24 MB / 0.5043 GB, free: 12.62 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4527/0.5698, allocations: 103.3 MB / 0.6052 GB, free: 15.53 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002329/0.5701, allocations: 70.22 kB / 0.6052 GB, free: 15.5 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1584/0.7285, allocations: 59.39 MB / 0.6632 GB, free: 12.43 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.7286, allocations: 0 / 0.6632 GB, free: 12.43 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001432/0.7288, allocations: 48 kB / 0.6633 GB, free: 12.38 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.007722/0.7365, allocations: 2.607 MB / 0.6658 GB, free: 9.719 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.027e-05/0.7366, allocations: 16.03 kB / 0.6659 GB, free: 9.703 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008937/0.7455, allocations: 1.974 MB / 0.6678 GB, free: 7.723 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007655/0.7532, allocations: 2.694 MB / 0.6704 GB, free: 4.98 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001844/0.7534, allocations: 79.94 kB / 0.6705 GB, free: 4.902 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001618/0.755, allocations: 140 kB / 0.6706 GB, free: 4.766 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008267/0.7633, allocations: 3.967 MB / 0.6745 GB, free: 0.793 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01194/0.7753, allocations: 6.263 MB / 0.6806 GB, free: 9.734 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001656/0.7755, allocations: 51.52 kB / 0.6807 GB, free: 9.684 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007574/0.7763, allocations: 31.95 kB / 0.6807 GB, free: 9.652 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00116/0.7775, allocations: 0.7111 MB / 0.6814 GB, free: 8.941 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03579/0.8133, allocations: 32.23 MB / 0.7129 GB, free: 7.688 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002859/0.8162, allocations: 1.95 MB / 0.7148 GB, free: 5.586 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001413/0.8177, allocations: 0.9957 MB / 0.7157 GB, free: 4.578 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002535/0.8179, allocations: 174.5 kB / 0.7159 GB, free: 4.371 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.129e-05/0.818, allocations: 46.94 kB / 0.716 GB, free: 4.316 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=100): time 6.222e-06/0.818, allocations: 11.88 kB / 0.716 GB, free: 4.305 MB / 0.4948 GB Notification: Performance of matching and sorting (n=112): time 0.01386/0.8319, allocations: 6.228 MB / 0.722 GB, free: 14.04 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.192e-05/0.832, allocations: 141 kB / 0.7222 GB, free: 13.88 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00473/0.8368, allocations: 2.18 MB / 0.7243 GB, free: 11.67 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001322/0.8369, allocations: 25.7 kB / 0.7243 GB, free: 11.64 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.001965/0.8389, allocations: 2.163 MB / 0.7264 GB, free: 9.441 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005697/0.8395, allocations: 446.4 kB / 0.7269 GB, free: 9 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003268/0.8398, allocations: 0 / 0.7269 GB, free: 9 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0004826/0.8403, allocations: 0.54 MB / 0.7274 GB, free: 8.449 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00213/0.8425, allocations: 1.317 MB / 0.7287 GB, free: 7.125 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004499/0.847, allocations: 4.268 MB / 0.7329 GB, free: 1.348 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003909/0.8509, allocations: 2.355 MB / 0.7352 GB, free: 14.99 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001153/0.851, allocations: 32 kB / 0.7352 GB, free: 14.96 MB / 0.5261 GB Notification: Performance of matching and sorting (n=599) (initialization): time 0.009479/0.8605, allocations: 4.879 MB / 0.7399 GB, free: 10.08 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 9.742e-05/0.8606, allocations: 48 kB / 0.74 GB, free: 10.03 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001785/0.8608, allocations: 108 kB / 0.7401 GB, free: 9.926 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001836/0.861, allocations: 159.9 kB / 0.7402 GB, free: 9.77 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003677/0.8647, allocations: 1.131 MB / 0.7414 GB, free: 8.637 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001848/0.8649, allocations: 211 kB / 0.7416 GB, free: 8.434 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003174/0.8681, allocations: 207.6 kB / 0.7418 GB, free: 8.23 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006287/0.8687, allocations: 292 kB / 0.742 GB, free: 7.945 MB / 0.5261 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.0008308/0.8696, allocations: 363.3 kB / 0.7424 GB, free: 7.582 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005436/0.8701, allocations: 225.1 kB / 0.7426 GB, free: 7.359 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002253/0.8724, allocations: 1.138 MB / 0.7437 GB, free: 6.219 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.81e-05/0.8724, allocations: 19.97 kB / 0.7437 GB, free: 6.199 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.118e-05/0.8724, allocations: 3.953 kB / 0.7437 GB, free: 6.195 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-05/0.8725, allocations: 7.984 kB / 0.7437 GB, free: 6.188 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008383/0.8809, allocations: 3.89 MB / 0.7475 GB, free: 2.18 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-05/0.8809, allocations: 8 kB / 0.7475 GB, free: 2.172 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001009/0.8819, allocations: 211.6 kB / 0.7477 GB, free: 1.965 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.258e-05/0.882, allocations: 8 kB / 0.7477 GB, free: 1.957 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.682e-05/0.882, allocations: 16 kB / 0.7478 GB, free: 1.941 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-05/0.8821, allocations: 11.94 kB / 0.7478 GB, free: 1.93 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.592e-06/0.8821, allocations: 4.344 kB / 0.7478 GB, free: 1.926 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3211/1.203, allocations: 2.419 MB / 0.7501 GB, free: 151.8 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006476/1.204, allocations: 280.3 kB / 0.7504 GB, free: 151.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002309/1.204, allocations: 7.875 kB / 0.7504 GB, free: 151.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009859/1.205, allocations: 59.7 kB / 0.7505 GB, free: 151.7 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001248/1.205, allocations: 70 kB / 0.7505 GB, free: 151.7 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.577e-05/1.205, allocations: 38.66 kB / 0.7506 GB, free: 151.7 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.002336/1.208, allocations: 1.429 MB / 0.752 GB, free: 151.6 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.4e-07/1.208, allocations: 2.375 kB / 0.752 GB, free: 151.6 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.003265/1.211, allocations: 0.5387 MB / 0.7525 GB, free: 151.6 MB / 0.5261 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.0003291/1.211, allocations: 154.7 kB / 0.7526 GB, free: 151.5 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.004626/1.216, allocations: 2.998 MB / 0.7556 GB, free: 151.5 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/1.216, allocations: 4.812 kB / 0.7556 GB, free: 151.5 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0009289/1.217, allocations: 0.7533 MB / 0.7563 GB, free: 151.5 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001066/1.218, allocations: 203.3 kB / 0.7565 GB, free: 151.5 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008995/1.227, allocations: 4.554 MB / 0.761 GB, free: 150.5 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002338/1.229, allocations: 2.265 MB / 0.7632 GB, free: 149.7 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.004188/1.234, allocations: 1.501 MB / 0.7646 GB, free: 149.7 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005392/1.234, allocations: 163.8 kB / 0.7648 GB, free: 149.7 MB / 0.5261 GB Notification: Performance of SimCode: time 1.122e-06/1.234, allocations: 0 / 0.7648 GB, free: 149.7 MB / 0.5261 GB Notification: Performance of Templates: time 0.03181/1.266, allocations: 17.99 MB / 0.7824 GB, free: 149 MB / 0.5261 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Rotational.TestMove.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.TestMove.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.TestMove.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.TestMove.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Rotational.TestMove.sim & ./ModelicaTest_trunk_ModelicaTest.Rotational.TestMove -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Rotational.TestMove.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Rotational.TestMove.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches