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.0009332/0.0009332, allocations: 80.8 kB / 21.5 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.0009657/0.0009657, allocations: 170 kB / 24.92 MB, free: 9.211 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.984/0.984, allocations: 177.1 MB / 205.3 MB, free: 5.461 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.2407/0.2407, allocations: 32.81 MB / 294.6 MB, free: 1.25 MB / 266.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.262e-06/1.262e-06, allocations: 0 / 323.2 MB, free: 9.684 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.399e-05/2.526e-05, allocations: 4 kB / 323.3 MB, free: 9.68 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.00697/0.006995, allocations: 8.266 MB / 331.5 MB, free: 1.371 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005017/0.01201, allocations: 2.335 MB / 333.9 MB, free: 15.02 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001502/0.01351, allocations: 43.88 kB / 333.9 MB, free: 14.98 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002255/0.01577, allocations: 1.608 MB / 335.5 MB, free: 13.37 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001516/0.01729, allocations: 0.5085 MB / 336 MB, free: 12.86 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002883/0.01757, allocations: 75.72 kB / 336.1 MB, free: 12.78 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001338/0.01891, allocations: 0.9523 MB / 337 MB, free: 11.82 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001371/0.02028, allocations: 1.268 MB / 338.3 MB, free: 10.52 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001088/0.02137, allocations: 0.8028 MB / 339.1 MB, free: 9.715 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008857/0.02226, allocations: 0.6037 MB / 339.7 MB, free: 9.109 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002092/0.02247, allocations: 120 kB / 339.8 MB, free: 8.992 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003347/0.0228, allocations: 147.8 kB / 340 MB, free: 8.848 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005947/0.0234, allocations: 0.7635 MB / 340.7 MB, free: 8.082 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005673/0.02396, allocations: 0.4906 MB / 341.2 MB, free: 7.59 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001519/0.02548, allocations: 1.424 MB / 342.7 MB, free: 6.16 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.506e-06/0.02549, allocations: 4 kB / 342.7 MB, free: 6.156 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.964e-06/0.02549, allocations: 0 / 342.7 MB, free: 6.156 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001086/0.0256, allocations: 4 kB / 342.7 MB, free: 6.152 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.002545/0.02814, allocations: 1.849 MB / 344.5 MB, free: 4.27 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.686e-05/0.0282, allocations: 8.031 kB / 344.5 MB, free: 4.262 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004685/0.02867, allocations: 248.6 kB / 344.8 MB, free: 4.02 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007173/0.02939, allocations: 0.5446 MB / 345.3 MB, free: 3.449 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.911e-05/0.02946, allocations: 119.4 kB / 345.4 MB, free: 3.332 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001081/0.02956, allocations: 148.3 kB / 345.6 MB, free: 3.188 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001777/0.03134, allocations: 1.879 MB / 347.4 MB, free: 0.9727 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.113e-05/0.03139, allocations: 19.81 kB / 347.5 MB, free: 0.9531 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001009/0.03149, allocations: 71.94 kB / 347.5 MB, free: 0.8828 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004701/0.03196, allocations: 0.615 MB / 348.1 MB, free: 276 kB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001051/0.03301, allocations: 0.677 MB / 348.8 MB, free: 15.59 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007659/0.04067, allocations: 11.45 MB / 360.3 MB, free: 3.715 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.368e-05/0.04075, allocations: 173.1 kB / 360.4 MB, free: 3.535 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.365e-05/0.04077, allocations: 80.14 kB / 360.5 MB, free: 3.453 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.016e-05/0.04079, allocations: 79.22 kB / 360.6 MB, free: 3.375 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.739e-05/0.04083, allocations: 105.8 kB / 360.7 MB, free: 3.262 MB / 330.7 MB Notification: Performance of pre-optimization done (n=0): time 1.843e-06/0.04083, allocations: 4 kB / 360.7 MB, free: 3.258 MB / 330.7 MB Notification: Performance of matching and sorting (n=0): time 0.0001618/0.04099, allocations: 77.62 kB / 360.8 MB, free: 3.176 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.125e-05/0.04104, allocations: 134.7 kB / 360.9 MB, free: 3.031 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008712/0.04191, allocations: 1.146 MB / 362.1 MB, free: 1.875 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 9.558e-06/0.04192, allocations: 25.7 kB / 362.1 MB, free: 1.844 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006615/0.04259, allocations: 1.401 MB / 363.5 MB, free: 436 kB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.492e-05/0.04262, allocations: 47.89 kB / 363.5 MB, free: 388 kB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002971/0.04292, allocations: 411.1 kB / 363.9 MB, free: 15.96 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.679e-05/0.04301, allocations: 337.8 kB / 364.3 MB, free: 15.63 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001351/0.04315, allocations: 136 kB / 364.4 MB, free: 15.5 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008968/0.04405, allocations: 1.718 MB / 366.1 MB, free: 12.96 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001603/0.04565, allocations: 2.166 MB / 368.3 MB, free: 9.992 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.991e-05/0.04568, allocations: 20 kB / 368.3 MB, free: 9.973 MB / 346.7 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.00157/0.04725, allocations: 1.475 MB / 369.8 MB, free: 8.492 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.604e-05/0.04728, allocations: 28 kB / 369.8 MB, free: 8.465 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.414e-05/0.04733, allocations: 60 kB / 369.9 MB, free: 8.406 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.86e-05/0.04738, allocations: 72 kB / 369.9 MB, free: 8.336 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006759/0.04805, allocations: 0.4913 MB / 370.4 MB, free: 7.844 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.168e-05/0.0481, allocations: 111.5 kB / 370.5 MB, free: 7.734 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008443/0.04895, allocations: 293.9 kB / 370.8 MB, free: 7.445 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.884e-05/0.04904, allocations: 124.4 kB / 370.9 MB, free: 7.324 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.0005886/0.04963, allocations: 406.5 kB / 371.3 MB, free: 6.914 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001035/0.04973, allocations: 152.9 kB / 371.5 MB, free: 6.758 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001127/0.04984, allocations: 194.2 kB / 371.7 MB, free: 6.559 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.163e-05/0.04989, allocations: 180.3 kB / 371.9 MB, free: 6.375 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.354e-05/0.04995, allocations: 180.3 kB / 372 MB, free: 6.191 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.016e-05/0.05001, allocations: 188.1 kB / 372.2 MB, free: 6 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008595/0.05087, allocations: 0.6727 MB / 372.9 MB, free: 5.301 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.897e-05/0.0509, allocations: 108.9 kB / 373 MB, free: 5.188 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.569e-05/0.05092, allocations: 101 kB / 373.1 MB, free: 5.082 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.267e-05/0.05097, allocations: 180.3 kB / 373.3 MB, free: 4.898 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.09e-05/0.05103, allocations: 184.2 kB / 373.4 MB, free: 4.711 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.199e-05/0.05107, allocations: 184.3 kB / 373.6 MB, free: 4.523 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-05/0.05111, allocations: 180.2 kB / 373.8 MB, free: 4.34 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001627/0.05127, allocations: 357.5 kB / 374.2 MB, free: 3.969 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001094/0.05138, allocations: 196.4 kB / 374.3 MB, free: 3.77 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.821e-05/0.05146, allocations: 176.3 kB / 374.5 MB, free: 3.59 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001351/0.05159, allocations: 120.9 kB / 374.6 MB, free: 3.465 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.177e-05/0.05164, allocations: 180.3 kB / 374.8 MB, free: 3.281 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.085e-05/0.0517, allocations: 101 kB / 374.9 MB, free: 3.176 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003252/0.05202, allocations: 451.2 kB / 375.4 MB, free: 2.73 MB / 346.7 MB Notification: Performance of sort global known variables: time 7e-08/0.05202, allocations: 3.938 kB / 375.4 MB, free: 2.727 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001033/0.05305, allocations: 454.4 kB / 375.8 MB, free: 2.281 MB / 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.0001379/0.05319, allocations: 155.6 kB / 376 MB, free: 2.121 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0007183/0.05391, allocations: 0.7034 MB / 376.7 MB, free: 1.422 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.471e-05/0.05398, allocations: 48.69 kB / 376.7 MB, free: 1.371 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 2.725e-06/0.05398, allocations: 0 / 376.7 MB, free: 1.371 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004102/0.05439, allocations: 0.5322 MB / 377.2 MB, free: 0.8359 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002834/0.05722, allocations: 2.646 MB / 379.9 MB, free: 14.14 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004522/0.05767, allocations: 463.5 kB / 380.3 MB, free: 13.66 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003062/0.05798, allocations: 154.2 kB / 380.5 MB, free: 13.51 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001308/0.05811, allocations: 171.4 kB / 380.7 MB, free: 13.34 MB / 362.7 MB Notification: Performance of SimCode: time 1.182e-06/0.05811, allocations: 0 / 380.7 MB, free: 13.34 MB / 362.7 MB Notification: Performance of Templates: time 0.01347/0.07158, allocations: 6.5 MB / 387.2 MB, free: 6.93 MB / 362.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 -s gbode -gbm=radauIIA3 -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: 2.984514059033245]