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.001175/0.001175, allocations: 118.2 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001568/0.001568, allocations: 201.2 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.51/1.51, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2272/0.2272, allocations: 46.1 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002024/0.002024, allocations: 79.86 kB / 481.3 MB, free: 4.125 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3657/0.3678, allocations: 62.43 MB / 0.531 GB, free: 13.64 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestMove): time 0.009296/0.3771, allocations: 7.478 MB / 0.5383 GB, free: 7.797 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007219/0.3844, allocations: 3.353 MB / 0.5415 GB, free: 5.211 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001048/0.3855, allocations: 31.97 kB / 0.5416 GB, free: 5.207 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001725/0.3872, allocations: 0.803 MB / 0.5424 GB, free: 4.645 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002945/0.3902, allocations: 1.284 MB / 0.5436 GB, free: 3.785 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001131/0.3914, allocations: 0.5257 MB / 0.5441 GB, free: 3.449 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003163/0.3945, allocations: 2.602 MB / 0.5467 GB, free: 1.656 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001475/0.396, allocations: 1.233 MB / 0.5479 GB, free: 420 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001206/0.3972, allocations: 0.7666 MB / 0.5486 GB, free: 15.64 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001489/0.3987, allocations: 1.121 MB / 0.5497 GB, free: 14.52 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003395/0.3991, allocations: 140 kB / 0.5498 GB, free: 14.38 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001844/0.401, allocations: 0.9321 MB / 0.5508 GB, free: 13.45 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001269/0.4022, allocations: 1.001 MB / 0.5517 GB, free: 12.44 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001223/0.4035, allocations: 1.207 MB / 0.5529 GB, free: 11.23 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009036/0.4125, allocations: 4.038 MB / 0.5569 GB, free: 7.176 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.137e-05/0.4126, allocations: 4 kB / 0.5569 GB, free: 7.172 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.066e-06/0.4126, allocations: 0 / 0.5569 GB, free: 7.172 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001984/0.4128, allocations: 0 / 0.5569 GB, free: 7.172 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.007871/0.4207, allocations: 3.018 MB / 0.5598 GB, free: 4.09 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.234e-05/0.4207, allocations: 8.031 kB / 0.5598 GB, free: 4.082 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006131/0.4269, allocations: 1.668 MB / 0.5614 GB, free: 2.41 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002572/0.4295, allocations: 1.321 MB / 0.5627 GB, free: 1.047 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.532e-05/0.4296, allocations: 123.4 kB / 0.5628 GB, free: 0.9258 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003564/0.43, allocations: 168 kB / 0.563 GB, free: 0.7617 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009156/0.4391, allocations: 6.456 MB / 0.5693 GB, free: 9.773 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.35e-05/0.4392, allocations: 35.69 kB / 0.5693 GB, free: 9.738 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002245/0.4395, allocations: 83.89 kB / 0.5694 GB, free: 9.656 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002403/0.4419, allocations: 1.445 MB / 0.5708 GB, free: 8.207 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009944/0.4518, allocations: 5.72 MB / 0.5764 GB, free: 2.492 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03414/0.486, allocations: 26.76 MB / 0.6026 GB, free: 6.875 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00486/0.491, allocations: 2.161 MB / 0.6047 GB, free: 4.566 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001528/0.4926, allocations: 1.039 MB / 0.6057 GB, free: 3.516 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002225/0.4928, allocations: 182.5 kB / 0.6059 GB, free: 3.301 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.434e-05/0.4929, allocations: 42.83 kB / 0.6059 GB, free: 3.25 MB / 462.1 MB Notification: Performance of pre-optimization done (n=100): time 3.576e-06/0.4929, allocations: 0 / 0.6059 GB, free: 3.25 MB / 462.1 MB Notification: Performance of matching and sorting (n=112): time 0.01572/0.5086, allocations: 6.49 MB / 0.6122 GB, free: 12.74 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001187/0.5088, allocations: 144.7 kB / 0.6124 GB, free: 12.57 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004132/0.5129, allocations: 2.897 MB / 0.6152 GB, free: 9.66 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001594/0.5131, allocations: 37.64 kB / 0.6152 GB, free: 9.617 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001518/0.5146, allocations: 2.194 MB / 0.6174 GB, free: 7.402 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00047/0.5151, allocations: 468.5 kB / 0.6178 GB, free: 6.941 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001116/0.5162, allocations: 0.9091 MB / 0.6187 GB, free: 6.02 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001133/0.5163, allocations: 305.1 kB / 0.619 GB, free: 5.719 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002038/0.5184, allocations: 1.43 MB / 0.6204 GB, free: 4.281 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003953/0.5223, allocations: 4.295 MB / 0.6246 GB, free: 14.54 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006515/0.5289, allocations: 6.2 MB / 0.6307 GB, free: 6.902 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.047e-05/0.5289, allocations: 28 kB / 0.6307 GB, free: 6.875 MB / 494.1 MB Notification: Performance of matching and sorting (n=581) (initialization): time 0.00852/0.5375, allocations: 5.523 MB / 0.6361 GB, free: 1.348 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.835e-05/0.5376, allocations: 48.28 kB / 0.6361 GB, free: 1.301 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001002/0.5377, allocations: 104 kB / 0.6362 GB, free: 1.199 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001379/0.5378, allocations: 132 kB / 0.6363 GB, free: 1.07 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004225/0.5421, allocations: 1.24 MB / 0.6376 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000158/0.5422, allocations: 199.6 kB / 0.6377 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002846/0.5451, allocations: 243.6 kB / 0.638 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003756/0.5455, allocations: 280 kB / 0.6382 GB, free: 15.12 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.001921/0.5474, allocations: 1.384 MB / 0.6396 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005438/0.548, allocations: 250.3 kB / 0.6398 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002204/0.5502, allocations: 1.245 MB / 0.6411 GB, free: 12.22 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.162e-05/0.5502, allocations: 15.94 kB / 0.6411 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.758e-05/0.5502, allocations: 8 kB / 0.6411 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.153e-05/0.5503, allocations: 7.922 kB / 0.6411 GB, free: 12.19 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008296/0.5586, allocations: 4.543 MB / 0.6455 GB, free: 7.531 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.328e-05/0.5586, allocations: 12 kB / 0.6455 GB, free: 7.52 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001799/0.5604, allocations: 367.4 kB / 0.6459 GB, free: 7.16 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.254e-05/0.5605, allocations: 8 kB / 0.6459 GB, free: 7.152 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.298e-05/0.5605, allocations: 16 kB / 0.6459 GB, free: 7.137 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.465e-05/0.5606, allocations: 19.92 kB / 0.6459 GB, free: 7.117 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.961e-06/0.5606, allocations: 4 kB / 0.6459 GB, free: 7.113 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002804/0.5634, allocations: 2.176 MB / 0.6481 GB, free: 4.863 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009698/0.5644, allocations: 315.3 kB / 0.6484 GB, free: 4.535 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002555/0.5646, allocations: 23.98 kB / 0.6484 GB, free: 4.512 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008897/0.5655, allocations: 59.92 kB / 0.6484 GB, free: 4.453 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001532/0.5657, allocations: 63.81 kB / 0.6485 GB, free: 4.391 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001082/0.5658, allocations: 43.97 kB / 0.6485 GB, free: 4.348 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002843/0.5686, allocations: 1.811 MB / 0.6503 GB, free: 2.531 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5687, allocations: 0 / 0.6503 GB, free: 2.531 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.003665/0.5723, allocations: 0.6209 MB / 0.6509 GB, free: 1.91 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.0003995/0.5727, allocations: 158.9 kB / 0.6511 GB, free: 1.746 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.005088/0.5778, allocations: 3.282 MB / 0.6543 GB, free: 14.49 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 5.38e-06/0.5779, allocations: 0 / 0.6543 GB, free: 14.49 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.00104/0.5789, allocations: 0.7979 MB / 0.655 GB, free: 13.69 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001643/0.5806, allocations: 272.8 kB / 0.6553 GB, free: 13.43 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008833/0.5894, allocations: 5.63 MB / 0.6608 GB, free: 7.699 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002223/0.5917, allocations: 2.206 MB / 0.663 GB, free: 5.461 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.003317/0.595, allocations: 1.455 MB / 0.6644 GB, free: 4 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006139/0.5956, allocations: 171.4 kB / 0.6645 GB, free: 3.832 MB / 0.5138 GB Notification: Performance of SimCode: time 1.282e-06/0.5956, allocations: 0 / 0.6645 GB, free: 3.832 MB / 0.5138 GB Notification: Performance of Templates: time 0.06034/0.656, allocations: 19.57 MB / 0.6837 GB, free: 320 kB / 0.5294 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Rotational.TestMove.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches