Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001584/0.001584, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.001721/0.001721, allocations: 169 kB / 24.91 MB, free: 8.723 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 1.009/1.009, allocations: 177.1 MB / 205.3 MB, free: 5.078 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2762/0.2762, allocations: 34.26 MB / 296.1 MB, free: 0.6797 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.0_ModelicaTest.MultiBody.Visualizers.Shapes") translateModel(ModelicaTest.MultiBody.Visualizers.Shapes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Shapes") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.512e-06/1.512e-06, allocations: 0 / 325.2 MB, free: 7.75 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.902e-05/3.054e-05, allocations: 5.781 kB / 325.2 MB, free: 7.746 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.008062/0.008092, allocations: 8.226 MB / 333.5 MB, free: 15.47 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.004317/0.01241, allocations: 2.336 MB / 335.8 MB, free: 13.13 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000984/0.01339, allocations: 39.94 kB / 335.8 MB, free: 13.09 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001958/0.01535, allocations: 1.639 MB / 337.5 MB, free: 11.45 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001098/0.01645, allocations: 0.5085 MB / 338 MB, free: 10.93 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002568/0.01671, allocations: 71.72 kB / 338 MB, free: 10.86 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001129/0.01784, allocations: 0.9536 MB / 339 MB, free: 9.906 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001174/0.01901, allocations: 1.268 MB / 340.3 MB, free: 8.602 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009705/0.01998, allocations: 0.8028 MB / 341.1 MB, free: 7.797 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009858/0.02097, allocations: 0.6037 MB / 341.7 MB, free: 7.191 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002535/0.02122, allocations: 120 kB / 341.8 MB, free: 7.074 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002889/0.02151, allocations: 151.8 kB / 341.9 MB, free: 6.926 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004954/0.022, allocations: 0.7673 MB / 342.7 MB, free: 6.156 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000417/0.02242, allocations: 498.3 kB / 343.2 MB, free: 5.668 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001152/0.02357, allocations: 1.431 MB / 344.6 MB, free: 4.23 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.359e-06/0.02358, allocations: 0 / 344.6 MB, free: 4.23 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.392e-06/0.02358, allocations: 0 / 344.6 MB, free: 4.23 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.552e-05/0.02362, allocations: 0 / 344.6 MB, free: 4.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.002164/0.02579, allocations: 1.853 MB / 346.5 MB, free: 2.344 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/0.02583, allocations: 8.031 kB / 346.5 MB, free: 2.336 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003852/0.02621, allocations: 240.7 kB / 346.7 MB, free: 2.102 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006175/0.02683, allocations: 0.5485 MB / 347.3 MB, free: 1.527 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.494e-05/0.02689, allocations: 115.4 kB / 347.4 MB, free: 1.414 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001073/0.027, allocations: 144.3 kB / 347.5 MB, free: 1.273 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001601/0.0286, allocations: 1.883 MB / 349.4 MB, free: 15.05 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.548e-05/0.02864, allocations: 15.81 kB / 349.4 MB, free: 15.04 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.584e-05/0.02872, allocations: 79.94 kB / 349.5 MB, free: 14.96 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004747/0.0292, allocations: 0.615 MB / 350.1 MB, free: 14.35 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009021/0.0301, allocations: 0.6769 MB / 350.8 MB, free: 13.67 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006751/0.03685, allocations: 11.44 MB / 362.2 MB, free: 1.801 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.373e-05/0.03694, allocations: 173.1 kB / 362.4 MB, free: 1.621 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.409e-05/0.03696, allocations: 84.08 kB / 362.5 MB, free: 1.535 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.983e-05/0.03698, allocations: 79.28 kB / 362.6 MB, free: 1.457 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.286e-05/0.03702, allocations: 113.8 kB / 362.7 MB, free: 1.336 MB / 330.7 MB Notification: Performance of pre-optimization done (n=0): time 1.673e-06/0.03702, allocations: 0 / 362.7 MB, free: 1.336 MB / 330.7 MB Notification: Performance of matching and sorting (n=0): time 0.0001508/0.03717, allocations: 81.62 kB / 362.8 MB, free: 1.25 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.263e-05/0.03723, allocations: 134.6 kB / 362.9 MB, free: 1.105 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008133/0.03804, allocations: 1.15 MB / 364 MB, free: 15.95 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.716e-06/0.03805, allocations: 25.7 kB / 364.1 MB, free: 15.91 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005772/0.03863, allocations: 1.397 MB / 365.5 MB, free: 14.5 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.924e-05/0.03866, allocations: 43.95 kB / 365.5 MB, free: 14.46 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002421/0.0389, allocations: 407 kB / 365.9 MB, free: 14.05 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.342e-05/0.03898, allocations: 341.9 kB / 366.2 MB, free: 13.71 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001176/0.0391, allocations: 139.9 kB / 366.4 MB, free: 13.57 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008211/0.03992, allocations: 1.714 MB / 368.1 MB, free: 11.04 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001515/0.04143, allocations: 2.166 MB / 370.2 MB, free: 8.07 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.941e-05/0.04146, allocations: 16 kB / 370.3 MB, free: 8.055 MB / 346.7 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.001471/0.04293, allocations: 1.472 MB / 371.7 MB, free: 6.578 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.491e-05/0.04297, allocations: 40.09 kB / 371.8 MB, free: 6.539 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.995e-05/0.04301, allocations: 60 kB / 371.8 MB, free: 6.48 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.636e-05/0.04306, allocations: 72 kB / 371.9 MB, free: 6.41 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006632/0.04372, allocations: 487 kB / 372.4 MB, free: 5.934 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.588e-05/0.04378, allocations: 115.5 kB / 372.5 MB, free: 5.82 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008853/0.04466, allocations: 289.9 kB / 372.8 MB, free: 5.535 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.056e-05/0.04475, allocations: 124 kB / 372.9 MB, free: 5.414 MB / 346.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.0005794/0.04533, allocations: 406.5 kB / 373.3 MB, free: 5.004 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.499e-05/0.04543, allocations: 160.9 kB / 373.4 MB, free: 4.84 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001034/0.04553, allocations: 190.3 kB / 373.6 MB, free: 4.645 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.744e-05/0.04558, allocations: 180.2 kB / 373.8 MB, free: 4.461 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.245e-05/0.04562, allocations: 176.3 kB / 374 MB, free: 4.281 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.065e-05/0.04567, allocations: 188.1 kB / 374.2 MB, free: 4.09 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007792/0.04645, allocations: 0.6766 MB / 374.8 MB, free: 3.387 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.68e-05/0.04648, allocations: 101 kB / 374.9 MB, free: 3.281 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.614e-05/0.0465, allocations: 104.9 kB / 375 MB, free: 3.172 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.855e-05/0.04656, allocations: 192.3 kB / 375.2 MB, free: 2.977 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.014e-05/0.04661, allocations: 180.2 kB / 375.4 MB, free: 2.793 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.189e-05/0.04665, allocations: 180.2 kB / 375.6 MB, free: 2.609 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.618e-05/0.0467, allocations: 184.2 kB / 375.8 MB, free: 2.422 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001496/0.04685, allocations: 357.5 kB / 376.1 MB, free: 2.051 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001202/0.04697, allocations: 184.4 kB / 376.3 MB, free: 1.863 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.747e-05/0.04706, allocations: 184.3 kB / 376.5 MB, free: 1.676 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001578/0.04721, allocations: 108.9 kB / 376.6 MB, free: 1.562 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.259e-05/0.04727, allocations: 184.2 kB / 376.8 MB, free: 1.375 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.466e-05/0.04729, allocations: 101 kB / 376.9 MB, free: 1.27 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003616/0.04765, allocations: 439.3 kB / 377.3 MB, free: 0.8359 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.11e-07/0.04765, allocations: 4 kB / 377.3 MB, free: 0.832 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001114/0.04877, allocations: 466.3 kB / 377.7 MB, free: 384 kB / 346.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.0001576/0.04892, allocations: 155.6 kB / 377.9 MB, free: 220 kB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000699/0.04962, allocations: 0.6991 MB / 378.6 MB, free: 15.52 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.37e-05/0.04969, allocations: 43.94 kB / 378.6 MB, free: 15.47 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.646e-06/0.04969, allocations: 4.75 kB / 378.6 MB, free: 15.47 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004292/0.05012, allocations: 0.5356 MB / 379.2 MB, free: 14.93 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003103/0.05322, allocations: 2.645 MB / 381.8 MB, free: 12.23 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003629/0.05359, allocations: 463.5 kB / 382.3 MB, free: 11.75 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003198/0.05391, allocations: 150.2 kB / 382.4 MB, free: 11.61 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001369/0.05404, allocations: 179.3 kB / 382.6 MB, free: 11.43 MB / 362.7 MB Notification: Performance of SimCode: time 1.342e-06/0.05404, allocations: 0 / 382.6 MB, free: 11.43 MB / 362.7 MB Notification: Performance of Templates: time 0.01289/0.06693, allocations: 6.5 MB / 389.1 MB, free: 5.012 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Shapes.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Shapes.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Shapes.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Shapes.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Shapes.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Shapes -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Shapes.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Shapes_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.0361367319710553]