Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes.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.001184/0.001184, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00191/0.003094, 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.001029/0.001029, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001562/0.002591, 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.9817/0.9817, allocations: 173.4 MB / 186 MB, free: 7.539 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1685/1.15, allocations: 52.48 MB / 238.5 MB, free: 7.633 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.1814/0.1814, allocations: 32.79 MB / 272 MB, free: 6.309 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02425/0.2056, allocations: 12.54 MB / 284.5 MB, free: 9.723 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.Visualizers.Shapes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes") translateModel(ModelicaTest.MultiBody.Visualizers.Shapes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 285.8 MB, free: 8.438 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.074e-05/2.247e-05, allocations: 2.312 kB / 285.8 MB, free: 8.434 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.006866/0.006889, allocations: 8.363 MB / 294.2 MB, free: 32 kB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002877/0.009766, allocations: 2.308 MB / 296.5 MB, free: 13.71 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004264/0.01019, allocations: 51.88 kB / 296.6 MB, free: 13.66 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001442/0.01163, allocations: 1.534 MB / 298.1 MB, free: 12.12 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005964/0.01223, allocations: 0.5045 MB / 298.6 MB, free: 11.62 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001742/0.0124, allocations: 79.77 kB / 298.7 MB, free: 11.54 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007095/0.01311, allocations: 0.9795 MB / 299.7 MB, free: 10.55 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009171/0.01403, allocations: 1.229 MB / 300.9 MB, free: 9.297 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000591/0.01462, allocations: 0.8721 MB / 301.8 MB, free: 8.418 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006155/0.01524, allocations: 0.6037 MB / 302.4 MB, free: 7.812 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001325/0.01537, allocations: 120 kB / 302.5 MB, free: 7.695 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002232/0.01559, allocations: 140 kB / 302.6 MB, free: 7.559 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003886/0.01598, allocations: 0.7052 MB / 303.3 MB, free: 6.852 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003033/0.01629, allocations: 422.7 kB / 303.7 MB, free: 6.438 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009316/0.01722, allocations: 1.404 MB / 305.1 MB, free: 5.027 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.458e-06/0.01723, allocations: 0 / 305.1 MB, free: 5.027 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.853e-06/0.01723, allocations: 0 / 305.1 MB, free: 5.027 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.978e-05/0.01727, allocations: 0 / 305.1 MB, free: 5.027 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: 645 * Number of variables: 645 Notification: Performance of Generate backend data structure: time 0.001794/0.01906, allocations: 2.207 MB / 307.3 MB, free: 2.785 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.059e-05/0.01909, allocations: 8.031 kB / 307.3 MB, free: 2.777 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004285/0.01952, allocations: 321.8 kB / 307.7 MB, free: 2.445 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006342/0.02016, allocations: 0.5485 MB / 308.2 MB, free: 1.867 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.19e-05/0.02022, allocations: 115.4 kB / 308.3 MB, free: 1.754 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001078/0.02033, allocations: 152.3 kB / 308.5 MB, free: 1.605 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001478/0.0218, allocations: 1.875 MB / 310.3 MB, free: 15.4 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.232e-05/0.02184, allocations: 23.75 kB / 310.4 MB, free: 15.38 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.487e-05/0.02191, allocations: 71.94 kB / 310.4 MB, free: 15.3 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004323/0.02234, allocations: 0.5798 MB / 311 MB, free: 14.73 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009464/0.02329, allocations: 0.6808 MB / 311.7 MB, free: 14.04 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006058/0.02935, allocations: 11.46 MB / 323.2 MB, free: 2.16 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.865e-05/0.0294, allocations: 169.1 kB / 323.3 MB, free: 1.984 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.861e-05/0.02942, allocations: 80.14 kB / 323.4 MB, free: 1.902 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.019e-05/0.02944, allocations: 83.22 kB / 323.5 MB, free: 1.82 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.457e-05/0.02948, allocations: 105.8 kB / 323.6 MB, free: 1.707 MB / 314.7 MB Notification: Performance of pre-optimization done (n=0): time 1.493e-06/0.02948, allocations: 0 / 323.6 MB, free: 1.707 MB / 314.7 MB Notification: Performance of matching and sorting (n=0): time 0.0001147/0.02959, allocations: 89.58 kB / 323.7 MB, free: 1.613 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.028e-05/0.02963, allocations: 126.7 kB / 323.8 MB, free: 1.477 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007112/0.03035, allocations: 1.166 MB / 325 MB, free: 308 kB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.696e-06/0.03035, allocations: 25.7 kB / 325 MB, free: 276 kB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.1294/0.1597, allocations: 1.388 MB / 326.4 MB, free: 32.45 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.323e-05/0.1598, allocations: 45.89 kB / 326.4 MB, free: 32.45 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003431/0.1602, allocations: 409.7 kB / 326.8 MB, free: 32.38 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.605e-05/0.1602, allocations: 339.4 kB / 327.2 MB, free: 32.08 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001616/0.1604, allocations: 135.9 kB / 327.3 MB, free: 32.07 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006017/0.161, allocations: 1.714 MB / 329 MB, free: 29.99 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001731/0.1627, allocations: 2.353 MB / 331.4 MB, free: 27.94 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.135e-05/0.1628, allocations: 16.19 kB / 331.4 MB, free: 27.94 MB / 314.7 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.001727/0.1645, allocations: 1.477 MB / 332.9 MB, free: 27.51 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.606e-05/0.1645, allocations: 30.03 kB / 332.9 MB, free: 27.51 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.069e-05/0.1646, allocations: 57.95 kB / 332.9 MB, free: 27.51 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.869e-05/0.1647, allocations: 74.09 kB / 333 MB, free: 27.51 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007904/0.1655, allocations: 0.5239 MB / 333.5 MB, free: 27.46 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.785e-05/0.1656, allocations: 116.5 kB / 333.7 MB, free: 27.44 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008163/0.1664, allocations: 301.7 kB / 333.9 MB, free: 27.29 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001181/0.1665, allocations: 124.1 kB / 334.1 MB, free: 27.29 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 260 * Number of states: 0 () * Number of discrete variables: 39 (fixed.color[1],fixed.color[2],fixed.color[3],box.color[1],box.color[2],box.color[3],sphere.color[1],sphere.color[2],sphere.color[3],cylinder.color[1],cylinder.color[2],cylinder.color[3],pipe.color[1],pipe.color[2],pipe.color[3],beam.color[1],beam.color[2],beam.color[3],gearwheel.color[1],gearwheel.color[2],gearwheel.color[3],spring.color[1],spring.color[2],spring.color[3],cone.color[1],cone.color[2],cone.color[3],world.axisColor_x[1],world.axisColor_x[2],world.axisColor_x[3],world.gravityArrowColor[1],world.gravityArrowColor[2],world.gravityArrowColor[3],world.gravitySphereColor[1],world.gravitySphereColor[2],world.gravitySphereColor[3],world.groundColor[1],world.groundColor[2],world.groundColor[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (260): * Single equations (assignments): 260 * Array equations: 0 * 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.0005275/0.167, allocations: 401.2 kB / 334.5 MB, free: 27 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.374e-05/0.1671, allocations: 154.9 kB / 334.6 MB, free: 26.9 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.678e-05/0.1672, allocations: 190.7 kB / 334.8 MB, free: 26.77 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.886e-05/0.1672, allocations: 182.6 kB / 335 MB, free: 26.59 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.034e-05/0.1673, allocations: 185.2 kB / 335.2 MB, free: 26.41 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.639e-05/0.1673, allocations: 178.2 kB / 335.3 MB, free: 26.23 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007319/0.168, allocations: 0.6752 MB / 336 MB, free: 25.9 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-05/0.168, allocations: 112.3 kB / 336.1 MB, free: 25.79 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.047e-05/0.168, allocations: 101.8 kB / 336.2 MB, free: 25.68 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.052e-05/0.1681, allocations: 194.9 kB / 336.4 MB, free: 25.51 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.557e-05/0.1681, allocations: 179.5 kB / 336.6 MB, free: 25.33 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.617e-05/0.1681, allocations: 184.5 kB / 336.8 MB, free: 25.15 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-05/0.1682, allocations: 181 kB / 336.9 MB, free: 24.96 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.781e-05/0.1682, allocations: 180.2 kB / 337.1 MB, free: 24.79 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001083/0.1683, allocations: 364 kB / 337.5 MB, free: 24.47 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.739e-05/0.1683, allocations: 183.3 kB / 337.6 MB, free: 24.29 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000124/0.1685, allocations: 105.9 kB / 337.7 MB, free: 24.18 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.049e-05/0.1685, allocations: 182.9 kB / 337.9 MB, free: 24 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.011e-05/0.1685, allocations: 109.9 kB / 338 MB, free: 23.89 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0003788/0.1689, allocations: 450 kB / 338.5 MB, free: 23.84 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1689, allocations: 2 kB / 338.5 MB, free: 23.84 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001079/0.1699, allocations: 456.5 kB / 338.9 MB, free: 23.73 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * Array equations: 0 * 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.0001277/0.1701, allocations: 151.9 kB / 339.1 MB, free: 23.59 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0008191/0.1709, allocations: 0.7519 MB / 339.8 MB, free: 23.44 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.497e-05/0.171, allocations: 45.89 kB / 339.9 MB, free: 23.43 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.867e-06/0.171, allocations: 4 kB / 339.9 MB, free: 23.42 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005382/0.1715, allocations: 1.055 MB / 340.9 MB, free: 22.58 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003112/0.1746, allocations: 2.704 MB / 343.6 MB, free: 21.32 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003732/0.175, allocations: 461.2 kB / 344.1 MB, free: 21.22 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0003316/0.1753, allocations: 154.3 kB / 344.2 MB, free: 21.17 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001307/0.1754, allocations: 176.8 kB / 344.4 MB, free: 21.12 MB / 314.7 MB Notification: Performance of SimCode: time 1.122e-06/0.1755, allocations: 0 / 344.4 MB, free: 21.12 MB / 314.7 MB Notification: Performance of Templates: time 0.01074/0.1862, allocations: 4.279 MB / 348.7 MB, free: 18.02 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Visualizers/Shapes/Shapes.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.07393195386976]