Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.WorldGroundVisualization.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.MultiBody.WorldGroundVisualization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|visGroundAxis.n.1.|visGroundAxis.n.2.|visGroundAxis.n.3.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.WorldGroundVisualization") translateModel(ModelicaTest.MultiBody.WorldGroundVisualization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|visGroundAxis.n.1.|visGroundAxis.n.2.|visGroundAxis.n.3.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.WorldGroundVisualization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001363/0.001363, allocations: 115.8 kB / 18.4 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.001552/0.001552, allocations: 199.5 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.328/1.328, allocations: 227.4 MB / 247.5 MB, free: 10.38 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2083/0.2083, allocations: 46.11 MB / 344.9 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001399/0.001399, allocations: 73.58 kB / 419 MB, free: 19.02 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1128/0.1142, allocations: 62.45 MB / 481.4 MB, free: 4.539 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.WorldGroundVisualization): time 0.006015/0.1202, allocations: 5.406 MB / 486.8 MB, free: 15.1 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003052/0.1233, allocations: 1.799 MB / 488.6 MB, free: 13.3 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003777/0.1237, allocations: 23.94 kB / 488.7 MB, free: 13.27 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001098/0.1249, allocations: 0.5291 MB / 489.2 MB, free: 12.74 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001622/0.1265, allocations: 0.9065 MB / 490.1 MB, free: 11.84 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.155e-05/0.1266, allocations: 19.92 kB / 490.1 MB, free: 11.82 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001531/0.1281, allocations: 1.522 MB / 491.6 MB, free: 10.29 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008077/0.129, allocations: 0.7464 MB / 492.4 MB, free: 9.527 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005519/0.1295, allocations: 0.5252 MB / 492.9 MB, free: 9 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001726/0.1313, allocations: 1.613 MB / 494.5 MB, free: 7.383 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001956/0.1315, allocations: 88 kB / 494.6 MB, free: 7.297 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00056/0.132, allocations: 311.6 kB / 494.9 MB, free: 6.992 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006026/0.1326, allocations: 0.6972 MB / 495.6 MB, free: 6.293 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007018/0.1334, allocations: 0.869 MB / 496.5 MB, free: 5.418 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002409/0.1358, allocations: 2.805 MB / 499.3 MB, free: 2.602 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.1358, allocations: 0 / 499.3 MB, free: 2.602 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.364e-06/0.1358, allocations: 0 / 499.3 MB, free: 2.602 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.447e-05/0.1358, allocations: 0 / 499.3 MB, free: 2.602 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 774 * Number of variables: 774 Notification: Performance of Generate backend data structure: time 0.002945/0.1388, allocations: 2.046 MB / 0.4896 GB, free: 0.4961 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.359e-05/0.1388, allocations: 8.031 kB / 0.4896 GB, free: 500 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004546/0.1434, allocations: 1.499 MB / 0.4911 GB, free: 14.98 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001808/0.1452, allocations: 0.8565 MB / 0.4919 GB, free: 14.09 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.479e-05/0.1453, allocations: 90.47 kB / 0.492 GB, free: 14 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001953/0.1455, allocations: 111.8 kB / 0.4921 GB, free: 13.89 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005503/0.151, allocations: 4.976 MB / 0.497 GB, free: 8.441 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.71e-05/0.1511, allocations: 23.81 kB / 0.497 GB, free: 8.418 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001638/0.1512, allocations: 59.91 kB / 0.497 GB, free: 8.359 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001674/0.1529, allocations: 1.182 MB / 0.4982 GB, free: 7.172 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006268/0.1592, allocations: 4.262 MB / 0.5023 GB, free: 2.91 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2084/0.3677, allocations: 20.5 MB / 0.5224 GB, free: 23.29 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001271/0.369, allocations: 1.221 MB / 0.5236 GB, free: 22.42 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004528/0.3694, allocations: 388.9 kB / 0.5239 GB, free: 22.27 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.357e-05/0.3695, allocations: 5.547 kB / 0.5239 GB, free: 22.27 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.232e-05/0.3695, allocations: 35.66 kB / 0.524 GB, free: 22.23 MB / 382.1 MB Notification: Performance of pre-optimization done (n=69): time 2.355e-06/0.3695, allocations: 0 / 0.524 GB, free: 22.23 MB / 382.1 MB Notification: Performance of matching and sorting (n=69): time 0.001542/0.371, allocations: 1.148 MB / 0.5251 GB, free: 21.82 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.524e-05/0.3711, allocations: 134.9 kB / 0.5252 GB, free: 21.66 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002971/0.3741, allocations: 2.421 MB / 0.5276 GB, free: 20.74 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.19e-05/0.3741, allocations: 31.73 kB / 0.5276 GB, free: 20.7 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000886/0.375, allocations: 1.796 MB / 0.5294 GB, free: 19.3 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002153/0.3752, allocations: 308.6 kB / 0.5297 GB, free: 19.11 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008309/0.3761, allocations: 0.7896 MB / 0.5304 GB, free: 18.71 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001108/0.3762, allocations: 353.5 kB / 0.5308 GB, free: 18.39 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001404/0.3776, allocations: 1.037 MB / 0.5318 GB, free: 18.09 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002107/0.3797, allocations: 3.688 MB / 0.5354 GB, free: 14.09 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003839/0.3836, allocations: 5.17 MB / 0.5404 GB, free: 9.25 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.821e-05/0.3836, allocations: 27.22 kB / 0.5405 GB, free: 9.25 MB / 382.1 MB Notification: Performance of matching and sorting (n=508) (initialization): time 0.005503/0.3891, allocations: 4.444 MB / 0.5448 GB, free: 7.465 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.315e-05/0.3892, allocations: 48.84 kB / 0.5448 GB, free: 7.465 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.339e-05/0.3893, allocations: 93.38 kB / 0.5449 GB, free: 7.465 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.537e-05/0.3894, allocations: 126 kB / 0.5451 GB, free: 7.465 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001913/0.3913, allocations: 0.8702 MB / 0.5459 GB, free: 7.25 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.697e-05/0.3914, allocations: 183.8 kB / 0.5461 GB, free: 7.191 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002064/0.3935, allocations: 0.55 MB / 0.5466 GB, free: 6.832 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002119/0.3937, allocations: 255.7 kB / 0.5469 GB, free: 6.797 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 434 * Number of states: 0 () * Number of discrete variables: 17 (visGroundAxis.arrowLine.twoHeadedArrow,visGroundAxis.headAtOrigin,world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],visGroundAxis.color[3],visGroundAxis.color[2],visGroundAxis.color[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (476): * Single equations (assignments): 472 * Array equations: 4 * 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.001084/0.3948, allocations: 1.192 MB / 0.548 GB, free: 5.793 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001964/0.395, allocations: 185.5 kB / 0.5482 GB, free: 5.609 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000226/0.3952, allocations: 221.7 kB / 0.5484 GB, free: 5.391 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.269e-05/0.3953, allocations: 19.98 kB / 0.5484 GB, free: 5.371 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.027e-06/0.3953, allocations: 0 / 0.5484 GB, free: 5.371 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.3953, allocations: 4 kB / 0.5484 GB, free: 5.367 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002763/0.398, allocations: 2.063 MB / 0.5505 GB, free: 3.25 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/0.3981, allocations: 2.812 kB / 0.5505 GB, free: 3.25 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002397/0.3983, allocations: 71.83 kB / 0.5505 GB, free: 3.18 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.279e-06/0.3983, allocations: 4.109 kB / 0.5505 GB, free: 3.176 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.718e-05/0.3984, allocations: 11.94 kB / 0.5505 GB, free: 3.164 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.048e-06/0.3984, allocations: 0 / 0.5505 GB, free: 3.164 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.3984, allocations: 7.938 kB / 0.5505 GB, free: 3.156 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007943/0.3992, allocations: 1.182 MB / 0.5517 GB, free: 1.949 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002474/0.3994, allocations: 250.5 kB / 0.5519 GB, free: 1.684 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001432/0.3996, allocations: 11.2 kB / 0.552 GB, free: 1.676 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004609/0.4, allocations: 19.59 kB / 0.552 GB, free: 1.66 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.636e-05/0.4001, allocations: 27.91 kB / 0.552 GB, free: 1.633 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.49e-05/0.4001, allocations: 23.98 kB / 0.552 GB, free: 1.609 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001347/0.4015, allocations: 1.49 MB / 0.5535 GB, free: 104 kB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4015, allocations: 4 kB / 0.5535 GB, free: 100 kB / 382.1 MB Notification: Performance of remove unused functions: time 0.0022/0.4037, allocations: 0.5208 MB / 0.554 GB, free: 15.58 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (37): * Single equations (assignments): 33 * Array equations: 4 * 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.0002214/0.4039, allocations: 119.9 kB / 0.5541 GB, free: 15.46 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002877/0.4068, allocations: 2.36 MB / 0.5564 GB, free: 13.12 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.928e-06/0.4068, allocations: 4.125 kB / 0.5564 GB, free: 13.12 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003973/0.4072, allocations: 375.6 kB / 0.5568 GB, free: 12.75 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009469/0.4082, allocations: 167.5 kB / 0.5569 GB, free: 12.59 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005163/0.4134, allocations: 4.01 MB / 0.5608 GB, free: 8.543 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001566/0.415, allocations: 1.865 MB / 0.5627 GB, free: 6.645 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.002243/0.4172, allocations: 1.251 MB / 0.5639 GB, free: 5.387 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002381/0.4174, allocations: 131.4 kB / 0.564 GB, free: 5.258 MB / 398.1 MB Notification: Performance of SimCode: time 6.82e-07/0.4175, allocations: 4 kB / 0.564 GB, free: 5.254 MB / 398.1 MB Notification: Performance of Templates: time 0.0236/0.4411, allocations: 11.82 MB / 0.5756 GB, free: 9.473 MB / 414.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.WorldGroundVisualization.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.WorldGroundVisualization.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.WorldGroundVisualization.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.WorldGroundVisualization.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.WorldGroundVisualization.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.WorldGroundVisualization -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.WorldGroundVisualization.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.WorldGroundVisualization_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/WorldGroundVisualization/WorldGroundVisualization.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.WorldGroundVisualization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches