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/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.0009185/0.0009184, allocations: 92.95 kB / 16.98 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009731/0.0009732, allocations: 204.8 kB / 17.89 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.407/1.407, allocations: 227.2 MB / 245.9 MB, free: 12.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2206/0.2206, allocations: 45.91 MB / 344 MB, free: 12.38 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003052/0.0003053, allocations: 8 kB / 417.9 MB, free: 20.94 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1348/0.1351, allocations: 63.46 MB / 481.4 MB, free: 5.465 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestMove): time 0.01214/0.1473, allocations: 12.32 MB / 493.7 MB, free: 9.102 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.008635/0.156, allocations: 4.31 MB / 498 MB, free: 4.777 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002412/0.1584, allocations: 55.88 kB / 498.1 MB, free: 4.723 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002144/0.1606, allocations: 0.5482 MB / 498.6 MB, free: 4.172 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007061/0.1677, allocations: 1.944 MB / 0.4888 GB, free: 2.227 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001406/0.1691, allocations: 427.3 kB / 0.4892 GB, free: 1.809 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002774/0.1719, allocations: 1.509 MB / 0.4907 GB, free: 304 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00219/0.1741, allocations: 1.378 MB / 0.492 GB, free: 14.89 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009102/0.1751, allocations: 0.5994 MB / 0.4926 GB, free: 14.29 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001038/0.1761, allocations: 0.8488 MB / 0.4935 GB, free: 13.44 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001879/0.1763, allocations: 83.94 kB / 0.4935 GB, free: 13.36 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001341/0.1777, allocations: 0.7489 MB / 0.4943 GB, free: 12.61 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009559/0.1786, allocations: 0.8922 MB / 0.4951 GB, free: 11.71 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004664/0.1791, allocations: 0.4884 MB / 0.4956 GB, free: 11.21 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002892/0.182, allocations: 3.013 MB / 0.4986 GB, free: 8.195 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.182, allocations: 4 kB / 0.4986 GB, free: 8.191 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.182, allocations: 0 / 0.4986 GB, free: 8.191 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.475e-05/0.1821, allocations: 0 / 0.4986 GB, free: 8.191 MB / 382.1 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.005151/0.1873, allocations: 2.559 MB / 0.5011 GB, free: 5.574 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/0.1873, allocations: 12.03 kB / 0.5011 GB, free: 5.562 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006986/0.1943, allocations: 1.989 MB / 0.503 GB, free: 3.566 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003406/0.1977, allocations: 1.405 MB / 0.5044 GB, free: 2.113 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000116/0.1979, allocations: 130.9 kB / 0.5045 GB, free: 1.984 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00047/0.1984, allocations: 155.9 kB / 0.5047 GB, free: 1.832 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2464/0.4448, allocations: 6.471 MB / 0.511 GB, free: 37.19 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.79e-05/0.445, allocations: 36.94 kB / 0.511 GB, free: 37.17 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003063/0.4453, allocations: 84.62 kB / 0.5111 GB, free: 37.14 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003184/0.4485, allocations: 1.444 MB / 0.5125 GB, free: 36.92 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0141/0.4626, allocations: 5.747 MB / 0.5181 GB, free: 35.21 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02847/0.4911, allocations: 26.83 MB / 0.5443 GB, free: 14.31 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003693/0.4948, allocations: 2.147 MB / 0.5464 GB, free: 12.55 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001554/0.495, allocations: 174.6 kB / 0.5466 GB, free: 12.35 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.049e-05/0.4951, allocations: 50.81 kB / 0.5466 GB, free: 12.29 MB / 382.1 MB Notification: Performance of pre-optimization done (n=100): time 2.845e-06/0.4951, allocations: 0 / 0.5466 GB, free: 12.29 MB / 382.1 MB Notification: Performance of matching and sorting (n=112): time 0.01348/0.5086, allocations: 6.649 MB / 0.5531 GB, free: 5.559 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.579e-05/0.5086, allocations: 137 kB / 0.5533 GB, free: 5.395 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003041/0.5117, allocations: 2.987 MB / 0.5562 GB, free: 2.395 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001478/0.5119, allocations: 42.95 kB / 0.5562 GB, free: 2.348 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001137/0.513, allocations: 2.106 MB / 0.5583 GB, free: 252 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005614/0.5136, allocations: 459.5 kB / 0.5587 GB, free: 15.8 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001801/0.5138, allocations: 93.27 kB / 0.5588 GB, free: 15.71 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0003607/0.5141, allocations: 499.8 kB / 0.5593 GB, free: 15.21 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002285/0.5164, allocations: 1.406 MB / 0.5606 GB, free: 13.8 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004666/0.5211, allocations: 4.256 MB / 0.5648 GB, free: 8.094 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003764/0.5249, allocations: 2.39 MB / 0.5671 GB, free: 5.707 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.958e-05/0.525, allocations: 28 kB / 0.5672 GB, free: 5.68 MB / 398.1 MB Notification: Performance of matching and sorting (n=577) (initialization): time 0.01093/0.5359, allocations: 5.45 MB / 0.5725 GB, free: 228 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.816e-05/0.5361, allocations: 51.95 kB / 0.5725 GB, free: 176 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001259/0.5362, allocations: 104 kB / 0.5726 GB, free: 72 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001813/0.5364, allocations: 148 kB / 0.5728 GB, free: 15.92 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004464/0.5409, allocations: 1.224 MB / 0.574 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001649/0.541, allocations: 202.2 kB / 0.5742 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002945/0.544, allocations: 243.8 kB / 0.5744 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004261/0.5444, allocations: 280 kB / 0.5747 GB, free: 13.99 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 466 * 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 (553): * Single equations (assignments): 550 * 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.002485/0.5469, allocations: 1.381 MB / 0.576 GB, free: 12.6 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005218/0.5475, allocations: 236.9 kB / 0.5762 GB, free: 12.37 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002258/0.5497, allocations: 1.247 MB / 0.5775 GB, free: 11.12 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.76e-05/0.5498, allocations: 17.84 kB / 0.5775 GB, free: 11.1 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.053e-05/0.5498, allocations: 4 kB / 0.5775 GB, free: 11.1 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.308e-05/0.5498, allocations: 3.984 kB / 0.5775 GB, free: 11.09 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008169/0.558, allocations: 4.539 MB / 0.5819 GB, free: 6.465 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-05/0.558, allocations: 4.531 kB / 0.5819 GB, free: 6.461 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001848/0.5599, allocations: 379.3 kB / 0.5823 GB, free: 6.09 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.408e-05/0.5599, allocations: 8 kB / 0.5823 GB, free: 6.082 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.812e-05/0.56, allocations: 25.31 kB / 0.5823 GB, free: 6.062 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.828e-06/0.56, allocations: 11.94 kB / 0.5823 GB, free: 6.051 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.354e-06/0.56, allocations: 7.938 kB / 0.5823 GB, free: 6.043 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002982/0.563, allocations: 2.608 MB / 0.5849 GB, free: 3.301 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007414/0.5638, allocations: 317.7 kB / 0.5852 GB, free: 2.969 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002498/0.564, allocations: 32.55 kB / 0.5852 GB, free: 2.938 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000917/0.5649, allocations: 59.89 kB / 0.5853 GB, free: 2.879 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001414/0.5651, allocations: 68.59 kB / 0.5853 GB, free: 2.812 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.884e-05/0.5652, allocations: 32.62 kB / 0.5854 GB, free: 2.781 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002846/0.5681, allocations: 1.901 MB / 0.5872 GB, free: 0.875 MB / 414.1 MB Notification: Performance of sort global known variables: time 3.01e-07/0.5681, allocations: 0 / 0.5872 GB, free: 0.875 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003456/0.5715, allocations: 0.6388 MB / 0.5878 GB, free: 248 kB / 414.1 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.0003925/0.5719, allocations: 168.3 kB / 0.588 GB, free: 80 kB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.005156/0.5771, allocations: 3.227 MB / 0.5912 GB, free: 12.88 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.927e-05/0.5771, allocations: 0 / 0.5912 GB, free: 12.88 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001109/0.5783, allocations: 0.7831 MB / 0.5919 GB, free: 12.09 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001493/0.5798, allocations: 254.1 kB / 0.5922 GB, free: 11.85 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01033/0.5901, allocations: 6.5 MB / 0.5985 GB, free: 5.254 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002118/0.5923, allocations: 2.265 MB / 0.6007 GB, free: 2.961 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.004336/0.5966, allocations: 1.471 MB / 0.6022 GB, free: 1.484 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008772/0.5975, allocations: 179.4 kB / 0.6023 GB, free: 1.309 MB / 430.1 MB Notification: Performance of SimCode: time 1.603e-06/0.5976, allocations: 3.938 kB / 0.6023 GB, free: 1.305 MB / 430.1 MB Notification: Performance of Templates: time 0.04229/0.6399, allocations: 21.04 MB / 0.6229 GB, free: 12.36 MB / 462.1 MB 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