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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001424/0.001424, allocations: 80.41 kB / 22.21 MB, free: 2.289 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009907/0.0009907, allocations: 174.4 kB / 25.61 MB, free: 8.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9091/0.9091, allocations: 177.1 MB / 206 MB, free: 4.5 MB / 186.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.1578/0.1578, allocations: 32.8 MB / 295.4 MB, free: 15.39 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.493e-06/1.493e-06, allocations: 0 / 377.2 MB, free: 25.61 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.291e-05/2.441e-05, allocations: 2.312 kB / 377.2 MB, free: 25.6 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.008292/0.008316, allocations: 8.219 MB / 385.5 MB, free: 17.34 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.004861/0.01318, allocations: 2.232 MB / 387.7 MB, free: 15.11 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000912/0.01409, allocations: 43.88 kB / 387.7 MB, free: 15.06 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001622/0.01571, allocations: 1.631 MB / 389.4 MB, free: 13.43 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006044/0.01632, allocations: 0.4968 MB / 389.9 MB, free: 12.93 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001838/0.0165, allocations: 75.77 kB / 389.9 MB, free: 12.85 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.000538/0.01704, allocations: 0.96 MB / 390.9 MB, free: 11.89 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000895/0.01793, allocations: 1.229 MB / 392.1 MB, free: 10.63 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007969/0.01873, allocations: 0.7989 MB / 392.9 MB, free: 9.828 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008364/0.01956, allocations: 0.6426 MB / 393.6 MB, free: 9.184 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001722/0.01974, allocations: 120 kB / 393.7 MB, free: 9.066 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000246/0.01998, allocations: 135.9 kB / 393.8 MB, free: 8.934 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004957/0.02048, allocations: 0.7752 MB / 394.6 MB, free: 8.156 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004498/0.02093, allocations: 0.4906 MB / 395.1 MB, free: 7.664 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001287/0.02222, allocations: 1.427 MB / 396.5 MB, free: 6.23 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.02222, allocations: 0 / 396.5 MB, free: 6.23 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.02222, allocations: 0 / 396.5 MB, free: 6.23 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.217e-05/0.02225, allocations: 0 / 396.5 MB, free: 6.23 MB / 314.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.002103/0.02435, allocations: 2.105 MB / 398.6 MB, free: 4.078 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.424e-05/0.02439, allocations: 15.98 kB / 398.6 MB, free: 4.062 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000502/0.02489, allocations: 347.4 kB / 399 MB, free: 3.723 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006933/0.02558, allocations: 0.5942 MB / 399.6 MB, free: 3.102 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.171e-05/0.02566, allocations: 115.4 kB / 399.7 MB, free: 2.988 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001437/0.0258, allocations: 148.3 kB / 399.8 MB, free: 2.844 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001847/0.02765, allocations: 2.115 MB / 401.9 MB, free: 288 kB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.487e-05/0.02769, allocations: 23.8 kB / 402 MB, free: 264 kB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001126/0.0278, allocations: 71.94 kB / 402 MB, free: 192 kB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007359/0.02854, allocations: 0.6189 MB / 402.7 MB, free: 15.57 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001524/0.03006, allocations: 0.6974 MB / 403.3 MB, free: 14.87 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007461/0.03753, allocations: 16.47 MB / 419.8 MB, free: 13.86 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.151e-05/0.03762, allocations: 269.4 kB / 420.1 MB, free: 13.58 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.309e-05/0.03765, allocations: 126.9 kB / 420.2 MB, free: 13.45 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.078e-05/0.03768, allocations: 123.2 kB / 420.3 MB, free: 13.33 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.352e-05/0.03772, allocations: 156.6 kB / 420.5 MB, free: 13.16 MB / 346.7 MB Notification: Performance of pre-optimization done (n=0): time 1.172e-06/0.03773, allocations: 0 / 420.5 MB, free: 13.16 MB / 346.7 MB Notification: Performance of matching and sorting (n=0): time 0.0001346/0.03786, allocations: 137 kB / 420.6 MB, free: 13.02 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.119e-05/0.03792, allocations: 178.5 kB / 420.8 MB, free: 12.84 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009229/0.03884, allocations: 1.364 MB / 422.2 MB, free: 11.46 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.095e-06/0.03885, allocations: 29.64 kB / 422.2 MB, free: 11.43 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006742/0.03953, allocations: 1.519 MB / 423.7 MB, free: 9.887 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.829e-05/0.03956, allocations: 43.95 kB / 423.7 MB, free: 9.844 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003647/0.03992, allocations: 452.7 kB / 424.2 MB, free: 9.391 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001499/0.04007, allocations: 0.5081 MB / 424.7 MB, free: 8.875 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001325/0.0402, allocations: 135.9 kB / 424.8 MB, free: 8.738 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00133/0.04153, allocations: 2.444 MB / 427.3 MB, free: 5.18 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001916/0.04345, allocations: 2.882 MB / 430.2 MB, free: 1.199 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.61e-05/0.04348, allocations: 16 kB / 430.2 MB, free: 1.184 MB / 346.7 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.002071/0.04555, allocations: 1.713 MB / 431.9 MB, free: 15.46 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.13e-05/0.04558, allocations: 28 kB / 431.9 MB, free: 15.44 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.426e-05/0.04562, allocations: 60 kB / 432 MB, free: 15.38 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.989e-05/0.04567, allocations: 72.81 kB / 432 MB, free: 15.31 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006331/0.0463, allocations: 487 kB / 432.5 MB, free: 14.83 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.12e-05/0.04636, allocations: 119.5 kB / 432.6 MB, free: 14.71 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000691/0.04705, allocations: 293.8 kB / 432.9 MB, free: 14.43 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.492e-05/0.04713, allocations: 124 kB / 433 MB, free: 14.3 MB / 362.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.000307/0.04744, allocations: 490.3 kB / 433.5 MB, free: 13.81 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.829e-05/0.04754, allocations: 252.2 kB / 433.8 MB, free: 13.56 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.9e-05/0.04764, allocations: 238.1 kB / 434 MB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.428e-05/0.04769, allocations: 272.1 kB / 434.3 MB, free: 13.04 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.376e-05/0.04774, allocations: 268 kB / 434.5 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.365e-05/0.0478, allocations: 268 kB / 434.8 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006237/0.04842, allocations: 0.9555 MB / 435.7 MB, free: 11.51 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.293e-05/0.04845, allocations: 156.8 kB / 435.9 MB, free: 11.35 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.143e-05/0.04849, allocations: 148.9 kB / 436 MB, free: 11.2 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.601e-05/0.04854, allocations: 268.2 kB / 436.3 MB, free: 10.93 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.092e-05/0.0486, allocations: 276 kB / 436.6 MB, free: 10.65 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.203e-05/0.04866, allocations: 264.1 kB / 436.8 MB, free: 10.39 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.272e-05/0.04872, allocations: 268 kB / 437.1 MB, free: 10.12 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001833/0.0489, allocations: 0.5488 MB / 437.6 MB, free: 9.543 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001071/0.04901, allocations: 240.1 kB / 437.9 MB, free: 9.301 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001005/0.04911, allocations: 264.1 kB / 438.1 MB, free: 9.035 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003928/0.0495, allocations: 148.8 kB / 438.3 MB, free: 8.883 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.053e-05/0.04956, allocations: 276.1 kB / 438.5 MB, free: 8.605 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.837e-05/0.04959, allocations: 144.9 kB / 438.7 MB, free: 8.457 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003702/0.04996, allocations: 0.5856 MB / 439.3 MB, free: 7.867 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.04996, allocations: 0 / 439.3 MB, free: 7.867 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0008423/0.0508, allocations: 458.3 kB / 439.7 MB, free: 7.418 MB / 362.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.0001109/0.05091, allocations: 218.4 kB / 439.9 MB, free: 7.195 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005586/0.05147, allocations: 0.7246 MB / 440.7 MB, free: 6.473 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.442e-06/0.05147, allocations: 3.938 kB / 440.7 MB, free: 6.469 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.525e-06/0.05148, allocations: 4 kB / 440.7 MB, free: 6.465 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004593/0.05194, allocations: 0.7884 MB / 441.5 MB, free: 5.676 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002237/0.05417, allocations: 2.598 MB / 444.1 MB, free: 3.027 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002979/0.05447, allocations: 463.5 kB / 444.5 MB, free: 2.547 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002724/0.05474, allocations: 150.2 kB / 444.7 MB, free: 2.398 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001223/0.05487, allocations: 202.2 kB / 444.9 MB, free: 2.199 MB / 362.7 MB Notification: Performance of SimCode: time 8.72e-07/0.05487, allocations: 0 / 444.9 MB, free: 2.199 MB / 362.7 MB Notification: Performance of Templates: time 0.01231/0.06717, allocations: 6.63 MB / 451.5 MB, free: 11.71 MB / 378.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 -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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.2255025869235396]