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.0008331/0.0008333, allocations: 93.14 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.000945/0.0009452, allocations: 203.6 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.449/1.449, allocations: 227.7 MB / 246.8 MB, free: 11.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2278/0.2278, allocations: 46.19 MB / 345.2 MB, free: 11.42 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003434/0.0003435, allocations: 11.94 kB / 419.5 MB, free: 19.78 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1494/0.1497, allocations: 63.55 MB / 483.1 MB, free: 4.203 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.WorldGroundVisualization): time 0.009279/0.159, allocations: 8.407 MB / 491.5 MB, free: 11.75 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005586/0.1647, allocations: 2.325 MB / 493.8 MB, free: 9.422 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001118/0.1658, allocations: 31.94 kB / 493.8 MB, free: 9.391 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006699/0.1665, allocations: 223.1 kB / 494.1 MB, free: 9.172 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001979/0.1685, allocations: 0.8605 MB / 494.9 MB, free: 8.309 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.86e-05/0.1686, allocations: 15.92 kB / 494.9 MB, free: 8.293 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.00384/0.1725, allocations: 3.266 MB / 498.2 MB, free: 5.02 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001569/0.1741, allocations: 0.9622 MB / 499.2 MB, free: 4.023 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006251/0.1747, allocations: 425.9 kB / 499.6 MB, free: 3.605 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008909/0.1756, allocations: 0.755 MB / 0.4886 GB, free: 2.848 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001247/0.1757, allocations: 63.94 kB / 0.4887 GB, free: 2.785 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005475/0.1763, allocations: 291.5 kB / 0.4889 GB, free: 2.5 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000597/0.1769, allocations: 0.6932 MB / 0.4896 GB, free: 1.805 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006981/0.1776, allocations: 0.8707 MB / 0.4905 GB, free: 0.9219 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002398/0.18, allocations: 2.569 MB / 0.493 GB, free: 14.34 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.094e-06/0.18, allocations: 3.984 kB / 0.493 GB, free: 14.34 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.18, allocations: 0 / 0.493 GB, free: 14.34 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.369e-05/0.1801, allocations: 4 kB / 0.493 GB, free: 14.33 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: 774 * Number of variables: 774 Notification: Performance of Generate backend data structure: time 0.002424/0.1825, allocations: 1.68 MB / 0.4946 GB, free: 12.6 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.93e-05/0.1826, allocations: 12.03 kB / 0.4946 GB, free: 12.59 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005286/0.1879, allocations: 1.542 MB / 0.4961 GB, free: 11.04 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001647/0.1895, allocations: 0.8526 MB / 0.497 GB, free: 10.15 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.168e-05/0.1896, allocations: 86.47 kB / 0.4971 GB, free: 10.06 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000247/0.1899, allocations: 111.8 kB / 0.4972 GB, free: 9.953 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006746/0.1966, allocations: 4.972 MB / 0.502 GB, free: 4.512 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.718e-05/0.1967, allocations: 19.81 kB / 0.502 GB, free: 4.492 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001954/0.1969, allocations: 67.89 kB / 0.5021 GB, free: 4.426 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00192/0.1988, allocations: 1.182 MB / 0.5033 GB, free: 3.238 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2833/0.4821, allocations: 4.247 MB / 0.5074 GB, free: 37.39 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02231/0.5045, allocations: 20.61 MB / 0.5275 GB, free: 22.1 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001576/0.5061, allocations: 1.184 MB / 0.5287 GB, free: 21.25 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005506/0.5067, allocations: 340.6 kB / 0.529 GB, free: 21.12 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.064e-05/0.5067, allocations: 3.438 kB / 0.529 GB, free: 21.12 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.798e-05/0.5067, allocations: 42.5 kB / 0.5291 GB, free: 21.08 MB / 382.1 MB Notification: Performance of pre-optimization done (n=60): time 3.657e-06/0.5067, allocations: 4.938 kB / 0.5291 GB, free: 21.07 MB / 382.1 MB Notification: Performance of matching and sorting (n=60): time 0.002058/0.5088, allocations: 1.042 MB / 0.5301 GB, free: 20.69 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.095e-05/0.5089, allocations: 111.2 kB / 0.5302 GB, free: 20.56 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004411/0.5133, allocations: 2.468 MB / 0.5326 GB, free: 19.61 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.584e-05/0.5134, allocations: 32.3 kB / 0.5326 GB, free: 19.57 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001311/0.5147, allocations: 1.818 MB / 0.5344 GB, free: 18.15 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003066/0.515, allocations: 279.9 kB / 0.5347 GB, free: 17.97 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004698/0.5155, allocations: 333.7 kB / 0.535 GB, free: 17.82 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001489/0.5156, allocations: 360 kB / 0.5353 GB, free: 17.5 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001616/0.5173, allocations: 1.023 MB / 0.5363 GB, free: 17.2 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002755/0.52, allocations: 3.727 MB / 0.54 GB, free: 12.94 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004978/0.525, allocations: 5.177 MB / 0.545 GB, free: 7.766 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.989e-05/0.5251, allocations: 28.88 kB / 0.545 GB, free: 7.766 MB / 382.1 MB Notification: Performance of matching and sorting (n=508) (initialization): time 0.006046/0.5311, allocations: 4.46 MB / 0.5494 GB, free: 5.566 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.023e-05/0.5312, allocations: 46.72 kB / 0.5494 GB, free: 5.566 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.485e-05/0.5313, allocations: 97.38 kB / 0.5495 GB, free: 5.566 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.273e-05/0.5314, allocations: 126.2 kB / 0.5497 GB, free: 5.566 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001992/0.5334, allocations: 0.8896 MB / 0.5505 GB, free: 4.934 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.042e-05/0.5335, allocations: 187.9 kB / 0.5507 GB, free: 4.75 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002351/0.5359, allocations: 0.5648 MB / 0.5513 GB, free: 4.18 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002148/0.5361, allocations: 256 kB / 0.5515 GB, free: 3.93 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 442 * 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 (484): * Single equations (assignments): 481 * 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.001223/0.5373, allocations: 1.192 MB / 0.5527 GB, free: 2.723 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001829/0.5375, allocations: 185.5 kB / 0.5528 GB, free: 2.539 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00028/0.5378, allocations: 221.9 kB / 0.5531 GB, free: 2.32 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.762e-05/0.5378, allocations: 8 kB / 0.5531 GB, free: 2.312 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.252e-05/0.5378, allocations: 4 kB / 0.5531 GB, free: 2.309 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/0.5378, allocations: 3.984 kB / 0.5531 GB, free: 2.305 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002713/0.5405, allocations: 2.036 MB / 0.5551 GB, free: 220 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/0.5406, allocations: 4.219 kB / 0.5551 GB, free: 216 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002433/0.5408, allocations: 67.89 kB / 0.5551 GB, free: 148 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.522e-06/0.5408, allocations: 4 kB / 0.5551 GB, free: 144 kB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.908e-05/0.5409, allocations: 13.27 kB / 0.5551 GB, free: 132 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.015e-06/0.5409, allocations: 0 / 0.5551 GB, free: 132 kB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.235e-06/0.5409, allocations: 0 / 0.5551 GB, free: 132 kB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001164/0.5421, allocations: 1.054 MB / 0.5562 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003736/0.5424, allocations: 254.5 kB / 0.5564 GB, free: 14.79 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001374/0.5426, allocations: 11 kB / 0.5564 GB, free: 14.78 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004361/0.543, allocations: 19.97 kB / 0.5564 GB, free: 14.76 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.019e-05/0.5431, allocations: 23.92 kB / 0.5565 GB, free: 14.73 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.287e-05/0.5431, allocations: 21.16 kB / 0.5565 GB, free: 14.71 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001979/0.5451, allocations: 1.514 MB / 0.558 GB, free: 13.18 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.5451, allocations: 0 / 0.558 GB, free: 13.18 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002622/0.5478, allocations: 0.5191 MB / 0.5585 GB, free: 12.67 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (36): * Single equations (assignments): 33 * 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.0003131/0.5481, allocations: 134.2 kB / 0.5586 GB, free: 12.54 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003664/0.5518, allocations: 2.313 MB / 0.5609 GB, free: 10.24 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.5518, allocations: 384 / 0.5609 GB, free: 10.24 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004121/0.5522, allocations: 342.5 kB / 0.5612 GB, free: 9.91 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001172/0.5534, allocations: 166.3 kB / 0.5613 GB, free: 9.746 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007022/0.5604, allocations: 4.899 MB / 0.5661 GB, free: 4.809 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001891/0.5623, allocations: 1.858 MB / 0.5679 GB, free: 2.918 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.002991/0.5653, allocations: 1.267 MB / 0.5692 GB, free: 1.645 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002663/0.5656, allocations: 127.4 kB / 0.5693 GB, free: 1.52 MB / 398.1 MB Notification: Performance of SimCode: time 1.432e-06/0.5656, allocations: 0 / 0.5693 GB, free: 1.52 MB / 398.1 MB Notification: Performance of Templates: time 0.02813/0.5938, allocations: 12.71 MB / 0.5817 GB, free: 4.887 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 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.WorldGroundVisualization.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.WorldGroundVisualization_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/WorldGroundVisualization/WorldGroundVisualization.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.WorldGroundVisualization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches