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.00127/0.00127, allocations: 103.5 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001426/0.001426, allocations: 216.5 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.418/1.418, allocations: 227.4 MB / 246.8 MB, free: 10.56 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2289/0.2289, allocations: 46.11 MB / 344.1 MB, free: 11.59 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001367/0.001367, allocations: 77.27 kB / 417.6 MB, free: 19.76 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1577/0.1591, allocations: 62.44 MB / 480 MB, free: 5.297 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.WorldGroundVisualization): time 0.008021/0.1672, allocations: 5.409 MB / 485.4 MB, free: 15.86 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003713/0.1709, allocations: 1.803 MB / 487.2 MB, free: 14.05 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007037/0.1716, allocations: 20 kB / 487.2 MB, free: 14.03 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001446/0.1732, allocations: 0.5291 MB / 487.8 MB, free: 13.5 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002425/0.1756, allocations: 0.9068 MB / 488.7 MB, free: 12.59 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002043/0.1758, allocations: 19.97 kB / 488.7 MB, free: 12.57 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.00203/0.1779, allocations: 1.518 MB / 490.2 MB, free: 11.05 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001392/0.1793, allocations: 0.7503 MB / 491 MB, free: 10.28 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001434/0.1807, allocations: 0.5135 MB / 491.5 MB, free: 9.766 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00351/0.1843, allocations: 1.617 MB / 493.1 MB, free: 8.145 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006573/0.185, allocations: 88 kB / 493.2 MB, free: 8.059 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001325/0.1863, allocations: 315.5 kB / 493.5 MB, free: 7.75 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001304/0.1876, allocations: 0.7011 MB / 494.2 MB, free: 7.047 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002161/0.1898, allocations: 0.8729 MB / 495.1 MB, free: 6.168 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004754/0.1946, allocations: 2.64 MB / 497.7 MB, free: 3.52 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.714e-06/0.1946, allocations: 0 / 497.7 MB, free: 3.52 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.475e-06/0.1946, allocations: 0 / 497.7 MB, free: 3.52 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001361/0.1948, allocations: 0 / 497.7 MB, free: 3.52 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.006144/0.2009, allocations: 2.038 MB / 499.7 MB, free: 1.422 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.662e-05/0.201, allocations: 12.03 kB / 499.7 MB, free: 1.41 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00826/0.2093, allocations: 1.495 MB / 0.4895 GB, free: 15.91 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002812/0.2121, allocations: 0.8565 MB / 0.4903 GB, free: 15.01 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001416/0.2123, allocations: 86.47 kB / 0.4904 GB, free: 14.93 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000589/0.2129, allocations: 107.8 kB / 0.4905 GB, free: 14.82 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01117/0.2241, allocations: 4.984 MB / 0.4954 GB, free: 9.367 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.832e-05/0.2242, allocations: 23.75 kB / 0.4954 GB, free: 9.344 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004664/0.2247, allocations: 63.91 kB / 0.4955 GB, free: 9.281 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003113/0.2278, allocations: 1.181 MB / 0.4966 GB, free: 8.098 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.011/0.2389, allocations: 4.258 MB / 0.5008 GB, free: 3.84 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3438/0.5827, allocations: 20.57 MB / 0.5209 GB, free: 23.25 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001328/0.5841, allocations: 1.223 MB / 0.5221 GB, free: 22.38 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000442/0.5845, allocations: 387.7 kB / 0.5224 GB, free: 22.23 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.651e-05/0.5845, allocations: 3.844 kB / 0.5224 GB, free: 22.23 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.437e-05/0.5846, allocations: 42.61 kB / 0.5225 GB, free: 22.19 MB / 382.1 MB Notification: Performance of pre-optimization done (n=69): time 2.665e-06/0.5846, allocations: 0 / 0.5225 GB, free: 22.19 MB / 382.1 MB Notification: Performance of matching and sorting (n=69): time 0.001683/0.5863, allocations: 1.137 MB / 0.5236 GB, free: 21.79 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.909e-05/0.5863, allocations: 140.8 kB / 0.5237 GB, free: 21.63 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003343/0.5897, allocations: 2.425 MB / 0.5261 GB, free: 20.7 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.448e-05/0.5897, allocations: 31.92 kB / 0.5261 GB, free: 20.66 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000948/0.5907, allocations: 1.797 MB / 0.5279 GB, free: 19.26 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002383/0.5909, allocations: 304.9 kB / 0.5282 GB, free: 19.06 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001106/0.592, allocations: 0.7829 MB / 0.5289 GB, free: 18.68 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001247/0.5922, allocations: 352.2 kB / 0.5293 GB, free: 18.35 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00184/0.594, allocations: 1.035 MB / 0.5303 GB, free: 18.05 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002764/0.5968, allocations: 3.692 MB / 0.5339 GB, free: 14.06 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004459/0.6013, allocations: 5.172 MB / 0.5389 GB, free: 9.215 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.305e-05/0.6013, allocations: 27.44 kB / 0.539 GB, free: 9.215 MB / 382.1 MB Notification: Performance of matching and sorting (n=508) (initialization): time 0.00606/0.6074, allocations: 4.442 MB / 0.5433 GB, free: 7.512 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.66e-05/0.6075, allocations: 43.41 kB / 0.5433 GB, free: 7.512 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-05/0.6075, allocations: 94.5 kB / 0.5434 GB, free: 7.512 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.989e-05/0.6076, allocations: 123.2 kB / 0.5435 GB, free: 7.512 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001914/0.6095, allocations: 0.8758 MB / 0.5444 GB, free: 7.395 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.662e-05/0.6097, allocations: 182.5 kB / 0.5446 GB, free: 7.355 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002237/0.6119, allocations: 0.5626 MB / 0.5451 GB, free: 6.992 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002354/0.6121, allocations: 250.3 kB / 0.5454 GB, free: 6.965 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.001347/0.6135, allocations: 1.187 MB / 0.5465 GB, free: 6.223 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002512/0.6138, allocations: 188.3 kB / 0.5467 GB, free: 6.117 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002659/0.614, allocations: 224.9 kB / 0.5469 GB, free: 5.992 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.649e-05/0.6141, allocations: 14.25 kB / 0.5469 GB, free: 5.992 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.154e-05/0.6141, allocations: 0 / 0.5469 GB, free: 5.992 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.78e-06/0.6141, allocations: 7.5 kB / 0.5469 GB, free: 5.988 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002852/0.617, allocations: 2.071 MB / 0.549 GB, free: 4.059 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.329e-06/0.617, allocations: 7.328 kB / 0.549 GB, free: 4.055 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002436/0.6172, allocations: 67.89 kB / 0.549 GB, free: 3.988 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.6172, allocations: 0 / 0.549 GB, free: 3.988 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.735e-05/0.6173, allocations: 8 kB / 0.549 GB, free: 3.98 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.477e-06/0.6173, allocations: 4 kB / 0.549 GB, free: 3.977 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.6173, allocations: 0 / 0.549 GB, free: 3.977 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008795/0.6182, allocations: 1.19 MB / 0.5502 GB, free: 2.77 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002215/0.6184, allocations: 254.5 kB / 0.5504 GB, free: 2.5 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001565/0.6186, allocations: 4 kB / 0.5504 GB, free: 2.496 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004768/0.619, allocations: 15.98 kB / 0.5505 GB, free: 2.48 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.244e-05/0.6191, allocations: 27.97 kB / 0.5505 GB, free: 2.453 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.478e-05/0.6192, allocations: 27.98 kB / 0.5505 GB, free: 2.426 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001428/0.6206, allocations: 1.486 MB / 0.552 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of sort global known variables: time 7.12e-07/0.6206, allocations: 0 / 0.552 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002215/0.6228, allocations: 0.5323 MB / 0.5525 GB, free: 404 kB / 382.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.0002395/0.6231, allocations: 122.3 kB / 0.5526 GB, free: 280 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003346/0.6264, allocations: 2.461 MB / 0.555 GB, free: 13.84 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.6264, allocations: 320 / 0.555 GB, free: 13.84 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004393/0.6269, allocations: 371.7 kB / 0.5554 GB, free: 13.48 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001013/0.6279, allocations: 167.9 kB / 0.5555 GB, free: 13.31 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005955/0.6339, allocations: 4.069 MB / 0.5595 GB, free: 9.207 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00199/0.6359, allocations: 1.858 MB / 0.5613 GB, free: 7.312 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.002974/0.6389, allocations: 1.255 MB / 0.5625 GB, free: 6.051 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003948/0.6393, allocations: 131.4 kB / 0.5627 GB, free: 5.922 MB / 398.1 MB Notification: Performance of SimCode: time 7.81e-07/0.6393, allocations: 0 / 0.5627 GB, free: 5.922 MB / 398.1 MB Notification: Performance of Templates: time 0.02869/0.668, allocations: 13.15 MB / 0.5755 GB, free: 8.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