Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.WorldGroundVisualization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001137/0.001137, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002031/0.003168, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001172/0.001172, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001935/0.003107, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9237/0.9237, allocations: 173.4 MB / 186 MB, free: 7.531 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1759/1.1, allocations: 52.49 MB / 238.5 MB, free: 7.617 MB / 234.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1532/0.1532, allocations: 32.8 MB / 272 MB, free: 6.289 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.04013/0.1933, allocations: 12.54 MB / 284.5 MB, free: 9.707 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.WorldGroundVisualization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|visGroundAxis.n.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.WorldGroundVisualization") translateModel(ModelicaTest.MultiBody.WorldGroundVisualization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|visGroundAxis.n.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.WorldGroundVisualization") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.823e-06/1.823e-06, allocations: 3.938 kB / 285.8 MB, free: 8.441 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.524e-05/1.706e-05, allocations: 6.312 kB / 285.8 MB, free: 8.434 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.WorldGroundVisualization): time 0.004301/0.004319, allocations: 5.272 MB / 291.1 MB, free: 3.137 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002027/0.006346, allocations: 1.771 MB / 292.9 MB, free: 1.359 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003613/0.006707, allocations: 27.88 kB / 292.9 MB, free: 1.332 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007469/0.007454, allocations: 0.5407 MB / 293.4 MB, free: 0.7891 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001321/0.008775, allocations: 0.9683 MB / 294.4 MB, free: 15.82 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 7.161e-05/0.008847, allocations: 15.92 kB / 294.4 MB, free: 15.8 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001809/0.01066, allocations: 2.316 MB / 296.7 MB, free: 13.48 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009658/0.01162, allocations: 0.8331 MB / 297.6 MB, free: 12.63 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008015/0.01242, allocations: 0.8966 MB / 298.5 MB, free: 11.73 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000867/0.01329, allocations: 0.9196 MB / 299.4 MB, free: 10.81 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001391/0.01343, allocations: 88 kB / 299.5 MB, free: 10.72 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000422/0.01385, allocations: 275.5 kB / 299.7 MB, free: 10.45 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003801/0.01423, allocations: 0.6894 MB / 300.4 MB, free: 9.762 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003031/0.01453, allocations: 374.5 kB / 300.8 MB, free: 9.395 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001241/0.01577, allocations: 1.715 MB / 302.5 MB, free: 7.672 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.164e-05/0.01579, allocations: 0 / 302.5 MB, free: 7.672 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.01579, allocations: 3.938 kB / 302.5 MB, free: 7.668 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.914e-05/0.01583, allocations: 0 / 302.5 MB, free: 7.668 MB / 298.7 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.00184/0.01767, allocations: 2.277 MB / 304.8 MB, free: 5.352 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.768e-05/0.0177, allocations: 8.031 kB / 304.8 MB, free: 5.344 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001687/0.01939, allocations: 0.7354 MB / 305.5 MB, free: 4.59 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006753/0.02007, allocations: 0.6434 MB / 306.2 MB, free: 3.918 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.869e-05/0.02011, allocations: 90.41 kB / 306.3 MB, free: 3.828 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001351/0.02025, allocations: 112.3 kB / 306.4 MB, free: 3.719 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002025/0.02227, allocations: 2.477 MB / 308.8 MB, free: 0.7695 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.165e-05/0.02231, allocations: 27.73 kB / 308.9 MB, free: 0.7422 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000113/0.02242, allocations: 63.91 kB / 308.9 MB, free: 0.6797 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008918/0.02331, allocations: 0.9552 MB / 309.9 MB, free: 15.71 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001629/0.02494, allocations: 1.222 MB / 311.1 MB, free: 14.48 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.151/0.1759, allocations: 17.43 MB / 328.5 MB, free: 16.9 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004189/0.1764, allocations: 383.5 kB / 328.9 MB, free: 16.71 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.504e-05/0.1765, allocations: 90.42 kB / 329 MB, free: 16.68 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.441e-05/0.1765, allocations: 7.891 kB / 329 MB, free: 16.68 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.749e-05/0.1765, allocations: 42.31 kB / 329.1 MB, free: 16.64 MB / 314.7 MB Notification: Performance of pre-optimization done (n=69): time 2.254e-06/0.1765, allocations: 0 / 329.1 MB, free: 16.64 MB / 314.7 MB Notification: Performance of matching and sorting (n=69): time 0.0005345/0.177, allocations: 338.7 kB / 329.4 MB, free: 16.61 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.779e-05/0.1771, allocations: 138.5 kB / 329.5 MB, free: 16.45 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00133/0.1784, allocations: 1.709 MB / 331.2 MB, free: 16.12 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.474e-05/0.1784, allocations: 33.48 kB / 331.3 MB, free: 16.09 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005554/0.179, allocations: 1.832 MB / 333.1 MB, free: 14.81 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001476/0.1791, allocations: 310.6 kB / 333.4 MB, free: 14.65 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005325/0.1796, allocations: 0.7357 MB / 334.1 MB, free: 14.55 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.703e-05/0.1797, allocations: 340.3 kB / 334.5 MB, free: 14.25 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005439/0.1802, allocations: 406.1 kB / 334.9 MB, free: 14.23 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001078/0.1813, allocations: 2.941 MB / 337.8 MB, free: 10.79 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00212/0.1834, allocations: 4.099 MB / 341.9 MB, free: 7.312 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.105e-05/0.1835, allocations: 31.75 kB / 341.9 MB, free: 7.312 MB / 314.7 MB Notification: Performance of matching and sorting (n=508) (initialization): time 0.002435/0.1859, allocations: 2.626 MB / 344.6 MB, free: 6.625 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.611e-05/0.1859, allocations: 47.72 kB / 344.6 MB, free: 6.625 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.624e-05/0.186, allocations: 105.2 kB / 344.7 MB, free: 6.625 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.655e-05/0.1861, allocations: 122.8 kB / 344.8 MB, free: 6.625 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00134/0.1874, allocations: 0.95 MB / 345.8 MB, free: 6.539 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.541e-05/0.1875, allocations: 186.6 kB / 346 MB, free: 6.496 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001284/0.1888, allocations: 0.5255 MB / 346.5 MB, free: 6.211 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001448/0.1889, allocations: 219.7 kB / 346.7 MB, free: 6.211 MB / 314.7 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.0004417/0.1894, allocations: 453.8 kB / 347.1 MB, free: 5.938 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000111/0.1895, allocations: 95.44 kB / 347.2 MB, free: 5.938 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000142/0.1896, allocations: 161.5 kB / 347.4 MB, free: 5.918 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.9e-05/0.1896, allocations: 13.28 kB / 347.4 MB, free: 5.918 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.1896, allocations: 1.25 kB / 347.4 MB, free: 5.918 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.199e-06/0.1897, allocations: 9.094 kB / 347.4 MB, free: 5.914 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001447/0.1911, allocations: 1.208 MB / 348.6 MB, free: 5.629 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.124e-05/0.1911, allocations: 6.125 kB / 348.6 MB, free: 5.629 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001405/0.1912, allocations: 56.48 kB / 348.7 MB, free: 5.625 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.41e-05/0.1913, allocations: 153.4 kB / 348.8 MB, free: 5.52 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.1913, allocations: 3.125 kB / 348.8 MB, free: 5.52 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.787e-05/0.1914, allocations: 14.62 kB / 348.9 MB, free: 5.516 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.1914, allocations: 3.938 kB / 348.9 MB, free: 5.512 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.1914, allocations: 3.125 kB / 348.9 MB, free: 5.512 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003113/0.1917, allocations: 0.7495 MB / 349.6 MB, free: 4.883 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.164e-05/0.1918, allocations: 15.78 kB / 349.6 MB, free: 4.883 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002168/0.192, allocations: 15.19 kB / 349.6 MB, free: 4.875 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.687e-05/0.192, allocations: 29.14 kB / 349.7 MB, free: 4.859 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.437e-05/0.192, allocations: 19.44 kB / 349.7 MB, free: 4.844 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0003655/0.1924, allocations: 0.6331 MB / 350.3 MB, free: 4.352 MB / 314.7 MB Notification: Performance of sort global known variables: time 2.5e-07/0.1924, allocations: 0 / 350.3 MB, free: 4.352 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001344/0.1937, allocations: 0.5636 MB / 350.9 MB, free: 3.852 MB / 314.7 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.0001807/0.1939, allocations: 114.5 kB / 351 MB, free: 3.746 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001085/0.195, allocations: 1.511 MB / 352.5 MB, free: 2.574 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 8.602e-05/0.1951, allocations: 63.72 kB / 352.6 MB, free: 2.512 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002069/0.1953, allocations: 260.5 kB / 352.8 MB, free: 2.324 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007227/0.196, allocations: 0.8768 MB / 353.7 MB, free: 1.586 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003781/0.1998, allocations: 3.385 MB / 357.1 MB, free: 14.43 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004585/0.2003, allocations: 0.5667 MB / 357.7 MB, free: 13.84 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0005856/0.2008, allocations: 278.8 kB / 357.9 MB, free: 13.57 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002307/0.2011, allocations: 263.4 kB / 358.2 MB, free: 13.31 MB / 330.7 MB Notification: Performance of SimCode: time 1.001e-06/0.2011, allocations: 0 / 358.2 MB, free: 13.31 MB / 330.7 MB Notification: Performance of Templates: time 0.01775/0.2188, allocations: 8.734 MB / 366.9 MB, free: 4.602 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.WorldGroundVisualization.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.WorldGroundVisualization.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.WorldGroundVisualization.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.WorldGroundVisualization.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.WorldGroundVisualization.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.WorldGroundVisualization -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.WorldGroundVisualization.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_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","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.0728057958185673]