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.001377/0.001377, allocations: 111.7 kB / 18.45 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001659/0.001659, allocations: 209.9 kB / 19.4 MB, free: 3.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.414/1.414, allocations: 227.4 MB / 247.6 MB, free: 10.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.212/0.212, allocations: 46.11 MB / 344.9 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00142/0.00142, allocations: 83.8 kB / 482 MB, free: 4.094 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3483/0.3497, allocations: 62.43 MB / 0.5316 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestMove): time 0.00911/0.3589, allocations: 7.459 MB / 0.5389 GB, free: 7.762 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006875/0.3658, allocations: 3.353 MB / 0.5422 GB, free: 5.176 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001405/0.3672, allocations: 35.78 kB / 0.5422 GB, free: 5.168 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002127/0.3694, allocations: 0.7909 MB / 0.543 GB, free: 4.617 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003643/0.3731, allocations: 1.299 MB / 0.5443 GB, free: 3.746 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001458/0.3746, allocations: 0.5266 MB / 0.5448 GB, free: 3.41 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003932/0.3785, allocations: 2.601 MB / 0.5473 GB, free: 1.617 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00165/0.3802, allocations: 1.237 MB / 0.5485 GB, free: 376 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00126/0.3815, allocations: 0.7666 MB / 0.5493 GB, free: 15.6 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001569/0.3831, allocations: 1.121 MB / 0.5504 GB, free: 14.47 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003728/0.3835, allocations: 140 kB / 0.5505 GB, free: 14.34 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001823/0.3853, allocations: 0.9243 MB / 0.5514 GB, free: 13.41 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009957/0.3863, allocations: 1.009 MB / 0.5524 GB, free: 12.4 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001306/0.3876, allocations: 1.207 MB / 0.5536 GB, free: 11.18 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004926/0.3926, allocations: 4.015 MB / 0.5575 GB, free: 7.16 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.768e-06/0.3926, allocations: 4 kB / 0.5575 GB, free: 7.156 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.655e-06/0.3926, allocations: 0 / 0.5575 GB, free: 7.156 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001116/0.3927, allocations: 0 / 0.5575 GB, free: 7.156 MB / 414.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.006103/0.3989, allocations: 2.945 MB / 0.5604 GB, free: 4.152 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.162e-05/0.3989, allocations: 12.03 kB / 0.5604 GB, free: 4.141 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006086/0.405, allocations: 1.643 MB / 0.562 GB, free: 2.492 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00274/0.4078, allocations: 1.328 MB / 0.5633 GB, free: 1.121 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001139/0.4079, allocations: 123.4 kB / 0.5634 GB, free: 1 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004112/0.4083, allocations: 167.9 kB / 0.5636 GB, free: 0.8359 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009777/0.4181, allocations: 6.449 MB / 0.5699 GB, free: 9.855 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.663e-05/0.4182, allocations: 35.59 kB / 0.5699 GB, free: 9.82 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000238/0.4185, allocations: 87.88 kB / 0.57 GB, free: 9.734 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002441/0.4209, allocations: 1.433 MB / 0.5714 GB, free: 8.297 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009999/0.4309, allocations: 5.732 MB / 0.577 GB, free: 2.57 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03045/0.4614, allocations: 26.71 MB / 0.6031 GB, free: 7 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004339/0.4658, allocations: 2.15 MB / 0.6052 GB, free: 4.707 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001344/0.4672, allocations: 1.046 MB / 0.6062 GB, free: 3.648 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002032/0.4674, allocations: 178.5 kB / 0.6064 GB, free: 3.438 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.374e-05/0.4675, allocations: 46.89 kB / 0.6064 GB, free: 3.383 MB / 462.1 MB Notification: Performance of pre-optimization done (n=100): time 3.217e-06/0.4675, allocations: 0 / 0.6064 GB, free: 3.383 MB / 462.1 MB Notification: Performance of matching and sorting (n=112): time 0.01626/0.4837, allocations: 6.36 MB / 0.6126 GB, free: 12.99 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.814e-05/0.4839, allocations: 140.9 kB / 0.6127 GB, free: 12.82 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004494/0.4884, allocations: 2.889 MB / 0.6156 GB, free: 9.918 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001895/0.4886, allocations: 45.69 kB / 0.6156 GB, free: 9.867 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001504/0.4901, allocations: 2.098 MB / 0.6177 GB, free: 7.738 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005259/0.4906, allocations: 458.3 kB / 0.6181 GB, free: 7.285 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00132/0.492, allocations: 0.8928 MB / 0.619 GB, free: 6.379 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000104/0.4921, allocations: 301.1 kB / 0.6193 GB, free: 6.082 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002302/0.4944, allocations: 1.43 MB / 0.6207 GB, free: 4.645 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004162/0.4986, allocations: 4.299 MB / 0.6249 GB, free: 14.89 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007111/0.5057, allocations: 6.195 MB / 0.6309 GB, free: 7.266 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.487e-05/0.5058, allocations: 28 kB / 0.6309 GB, free: 7.238 MB / 494.1 MB Notification: Performance of matching and sorting (n=581) (initialization): time 0.009892/0.5157, allocations: 5.514 MB / 0.6363 GB, free: 1.719 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001204/0.5159, allocations: 52.25 kB / 0.6364 GB, free: 1.668 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001503/0.5161, allocations: 112 kB / 0.6365 GB, free: 1.559 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001468/0.5162, allocations: 132 kB / 0.6366 GB, free: 1.43 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004514/0.5207, allocations: 1.228 MB / 0.6378 GB, free: 204 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001946/0.521, allocations: 203.2 kB / 0.638 GB, free: 0 / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003152/0.5241, allocations: 239.6 kB / 0.6382 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006321/0.5248, allocations: 280 kB / 0.6385 GB, free: 15.49 MB / 0.4981 GB 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 (557): * Single equations (assignments): 554 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002445/0.5272, allocations: 1.391 MB / 0.6398 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005788/0.5278, allocations: 236.9 kB / 0.6401 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002274/0.5301, allocations: 1.234 MB / 0.6413 GB, free: 12.6 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.038e-05/0.5301, allocations: 12 kB / 0.6413 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.293e-05/0.5302, allocations: 7.938 kB / 0.6413 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.421e-05/0.5302, allocations: 3.984 kB / 0.6413 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008758/0.539, allocations: 4.561 MB / 0.6457 GB, free: 7.906 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.63e-05/0.539, allocations: 4 kB / 0.6458 GB, free: 7.902 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001978/0.541, allocations: 367.8 kB / 0.6461 GB, free: 7.543 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.885e-05/0.541, allocations: 12 kB / 0.6461 GB, free: 7.531 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000102/0.5411, allocations: 20 kB / 0.6461 GB, free: 7.512 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.32e-05/0.5412, allocations: 15.98 kB / 0.6461 GB, free: 7.496 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.023e-06/0.5412, allocations: 7.938 kB / 0.6462 GB, free: 7.488 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002777/0.544, allocations: 2.155 MB / 0.6483 GB, free: 5.258 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006752/0.5446, allocations: 301.9 kB / 0.6485 GB, free: 4.941 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004579/0.5451, allocations: 19.98 kB / 0.6486 GB, free: 4.922 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001135/0.5463, allocations: 63.92 kB / 0.6486 GB, free: 4.859 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001703/0.5464, allocations: 59.81 kB / 0.6487 GB, free: 4.801 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.838e-05/0.5465, allocations: 43.98 kB / 0.6487 GB, free: 4.758 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.003098/0.5497, allocations: 1.811 MB / 0.6505 GB, free: 2.941 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.91e-07/0.5497, allocations: 4 kB / 0.6505 GB, free: 2.938 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.003448/0.5531, allocations: 0.6133 MB / 0.6511 GB, free: 2.324 MB / 0.4981 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 () * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004467/0.5536, allocations: 158.8 kB / 0.6513 GB, free: 2.16 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.005405/0.559, allocations: 3.294 MB / 0.6545 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.113e-05/0.5591, allocations: 0 / 0.6545 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001119/0.5602, allocations: 0.7934 MB / 0.6552 GB, free: 14.1 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00231/0.5625, allocations: 283.8 kB / 0.6555 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01137/0.5739, allocations: 5.814 MB / 0.6612 GB, free: 7.91 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00292/0.5769, allocations: 2.209 MB / 0.6633 GB, free: 5.668 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009658/0.5779, allocations: 211.4 kB / 0.6636 GB, free: 5.461 MB / 0.5137 GB Notification: Performance of SimCode: time 1.072e-06/0.5779, allocations: 0 / 0.6636 GB, free: 5.461 MB / 0.5137 GB Notification: Performance of Templates: time 0.05883/0.6367, allocations: 37.57 MB / 0.7002 GB, free: 15.94 MB / 0.5606 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/TestMove/TestMove.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Rotational.TestMove.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches