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.001319/0.001319, allocations: 109.3 kB / 17.33 MB, free: 5.98 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001353/0.001353, allocations: 209.8 kB / 18.27 MB, free: 5.055 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.416/1.416, allocations: 227.4 MB / 246.4 MB, free: 10.79 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2358/0.2358, allocations: 46.11 MB / 343.8 MB, free: 11.75 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002185/0.002185, allocations: 73.14 kB / 417 MB, free: 20.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1648/0.167, allocations: 62.45 MB / 479.5 MB, free: 5.621 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.WorldGroundVisualization): time 0.01093/0.178, allocations: 8.87 MB / 488.4 MB, free: 12.7 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005232/0.1833, allocations: 2.329 MB / 490.7 MB, free: 10.37 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001426/0.1847, allocations: 31.94 kB / 490.7 MB, free: 10.34 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001488/0.1863, allocations: 0.5062 MB / 491.2 MB, free: 9.828 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002337/0.1887, allocations: 0.8411 MB / 492.1 MB, free: 8.984 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001898/0.1889, allocations: 19.98 kB / 492.1 MB, free: 8.965 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003653/0.1925, allocations: 2.65 MB / 494.7 MB, free: 6.309 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001533/0.1941, allocations: 0.7974 MB / 495.5 MB, free: 5.496 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009848/0.1951, allocations: 0.4901 MB / 496 MB, free: 5.004 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001199/0.1963, allocations: 0.8136 MB / 496.8 MB, free: 4.188 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002936/0.1966, allocations: 88 kB / 496.9 MB, free: 4.102 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007889/0.1974, allocations: 331.5 kB / 497.2 MB, free: 3.777 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009159/0.1984, allocations: 0.705 MB / 497.9 MB, free: 3.07 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001185/0.1996, allocations: 0.8923 MB / 498.8 MB, free: 2.172 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002866/0.2024, allocations: 2.667 MB / 0.4898 GB, free: 15.5 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.2025, allocations: 0 / 0.4898 GB, free: 15.5 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.2025, allocations: 0 / 0.4898 GB, free: 15.5 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001072/0.2026, allocations: 0 / 0.4898 GB, free: 15.5 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.004189/0.2068, allocations: 2.046 MB / 0.4917 GB, free: 13.39 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.742e-05/0.2069, allocations: 8.031 kB / 0.4918 GB, free: 13.38 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005205/0.2121, allocations: 1.499 MB / 0.4932 GB, free: 11.88 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001715/0.2138, allocations: 0.8565 MB / 0.4941 GB, free: 10.98 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.764e-05/0.2139, allocations: 86.47 kB / 0.4941 GB, free: 10.9 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003681/0.2143, allocations: 111.8 kB / 0.4942 GB, free: 10.79 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007876/0.2222, allocations: 4.976 MB / 0.4991 GB, free: 5.344 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.213e-05/0.2223, allocations: 19.81 kB / 0.4991 GB, free: 5.324 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002789/0.2226, allocations: 67.84 kB / 0.4992 GB, free: 5.258 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002084/0.2247, allocations: 1.185 MB / 0.5003 GB, free: 4.07 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2509/0.4756, allocations: 4.243 MB / 0.5045 GB, free: 38.66 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0205/0.4961, allocations: 20.6 MB / 0.5246 GB, free: 23.14 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001202/0.4974, allocations: 1.174 MB / 0.5257 GB, free: 22.29 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003999/0.4978, allocations: 342.8 kB / 0.5261 GB, free: 22.16 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.344e-05/0.4978, allocations: 8.984 kB / 0.5261 GB, free: 22.16 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.05e-05/0.4979, allocations: 46.53 kB / 0.5261 GB, free: 22.11 MB / 382.1 MB Notification: Performance of pre-optimization done (n=60): time 2.966e-06/0.4979, allocations: 0 / 0.5261 GB, free: 22.11 MB / 382.1 MB Notification: Performance of matching and sorting (n=60): time 0.001614/0.4995, allocations: 1.044 MB / 0.5271 GB, free: 21.73 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.898e-05/0.4995, allocations: 111.8 kB / 0.5273 GB, free: 21.6 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003615/0.5032, allocations: 2.465 MB / 0.5297 GB, free: 20.64 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.277e-05/0.5033, allocations: 34.09 kB / 0.5297 GB, free: 20.61 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009207/0.5042, allocations: 1.819 MB / 0.5315 GB, free: 19.18 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002255/0.5044, allocations: 278.7 kB / 0.5317 GB, free: 19 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008689/0.5053, allocations: 0.7937 MB / 0.5325 GB, free: 18.61 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.063e-05/0.5054, allocations: 352.7 kB / 0.5328 GB, free: 18.28 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001275/0.5067, allocations: 1.022 MB / 0.5338 GB, free: 17.98 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002221/0.5089, allocations: 3.728 MB / 0.5375 GB, free: 13.92 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004898/0.5138, allocations: 5.187 MB / 0.5426 GB, free: 8.762 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001156/0.514, allocations: 27.88 kB / 0.5426 GB, free: 8.762 MB / 382.1 MB Notification: Performance of matching and sorting (n=508) (initialization): time 0.006467/0.5204, allocations: 4.458 MB / 0.5469 GB, free: 6.559 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.457e-05/0.5205, allocations: 47.5 kB / 0.547 GB, free: 6.559 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.341e-05/0.5206, allocations: 99.41 kB / 0.5471 GB, free: 6.559 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001151/0.5208, allocations: 125.2 kB / 0.5472 GB, free: 6.559 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002021/0.5228, allocations: 0.8831 MB / 0.5481 GB, free: 6.344 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001671/0.523, allocations: 198.7 kB / 0.5482 GB, free: 6.273 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002374/0.5254, allocations: 0.5575 MB / 0.5488 GB, free: 5.711 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002321/0.5256, allocations: 256 kB / 0.549 GB, free: 5.461 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.001271/0.5269, allocations: 1.191 MB / 0.5502 GB, free: 4.258 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002158/0.5271, allocations: 189.5 kB / 0.5504 GB, free: 4.07 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002733/0.5274, allocations: 221.9 kB / 0.5506 GB, free: 3.852 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.619e-05/0.5274, allocations: 8 kB / 0.5506 GB, free: 3.844 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.177e-06/0.5274, allocations: 0 / 0.5506 GB, free: 3.844 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.88e-06/0.5274, allocations: 4 kB / 0.5506 GB, free: 3.84 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002475/0.5299, allocations: 2.045 MB / 0.5526 GB, free: 1.742 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.5299, allocations: 0 / 0.5526 GB, free: 1.742 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002566/0.5302, allocations: 63.91 kB / 0.5527 GB, free: 1.68 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.471e-06/0.5302, allocations: 3.938 kB / 0.5527 GB, free: 1.676 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.75e-05/0.5302, allocations: 8 kB / 0.5527 GB, free: 1.668 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.358e-06/0.5302, allocations: 4 kB / 0.5527 GB, free: 1.664 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.5302, allocations: 7.984 kB / 0.5527 GB, free: 1.656 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007809/0.531, allocations: 1.054 MB / 0.5537 GB, free: 0.5859 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002951/0.5313, allocations: 242.5 kB / 0.5539 GB, free: 336 kB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001547/0.5315, allocations: 11.12 kB / 0.554 GB, free: 328 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004358/0.5319, allocations: 19.97 kB / 0.554 GB, free: 308 kB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.188e-05/0.532, allocations: 31.91 kB / 0.554 GB, free: 276 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.282e-05/0.532, allocations: 16 kB / 0.554 GB, free: 260 kB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001801/0.5339, allocations: 1.51 MB / 0.5555 GB, free: 14.73 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5339, allocations: 0 / 0.5555 GB, free: 14.73 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002536/0.5364, allocations: 0.5179 MB / 0.556 GB, free: 14.21 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.0002436/0.5367, allocations: 130 kB / 0.5561 GB, free: 14.08 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003417/0.5401, allocations: 2.423 MB / 0.5585 GB, free: 11.68 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.5401, allocations: 8.062 kB / 0.5585 GB, free: 11.68 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003763/0.5405, allocations: 338.5 kB / 0.5588 GB, free: 11.35 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009719/0.5415, allocations: 171.9 kB / 0.559 GB, free: 11.19 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006564/0.548, allocations: 4.879 MB / 0.5637 GB, free: 6.273 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001666/0.5497, allocations: 1.857 MB / 0.5656 GB, free: 4.383 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.002796/0.5525, allocations: 1.263 MB / 0.5668 GB, free: 3.113 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002569/0.5528, allocations: 127.4 kB / 0.5669 GB, free: 2.988 MB / 398.1 MB Notification: Performance of SimCode: time 9.22e-07/0.5528, allocations: 4 kB / 0.5669 GB, free: 2.984 MB / 398.1 MB Notification: Performance of Templates: time 0.02568/0.5785, allocations: 13.19 MB / 0.5798 GB, free: 5.82 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