Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000963/0.000963, allocations: 84.73 kB / 21.5 MB, free: 2.984 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001061/0.001061, allocations: 162 kB / 24.91 MB, free: 8.777 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.008/1.008, allocations: 177 MB / 205.2 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2585/0.2585, allocations: 34.86 MB / 296.6 MB, free: 0.5156 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Visualizers.Shapes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes") translateModel(ModelicaTest.MultiBody.Visualizers.Shapes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 325.9 MB, free: 7.141 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.083e-05/2.233e-05, allocations: 3.078 kB / 325.9 MB, free: 7.137 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.006905/0.006927, allocations: 8.267 MB / 334.2 MB, free: 14.83 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0035/0.01043, allocations: 2.328 MB / 336.5 MB, free: 12.49 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004023/0.01083, allocations: 51.88 kB / 336.6 MB, free: 12.44 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00198/0.01281, allocations: 1.623 MB / 338.2 MB, free: 10.81 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006139/0.01342, allocations: 0.4929 MB / 338.7 MB, free: 10.32 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001925/0.01362, allocations: 75.7 kB / 338.8 MB, free: 10.24 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006434/0.01426, allocations: 0.9568 MB / 339.7 MB, free: 9.281 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009284/0.01519, allocations: 1.268 MB / 341 MB, free: 7.977 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005526/0.01574, allocations: 0.8028 MB / 341.8 MB, free: 7.172 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00059/0.01633, allocations: 0.6115 MB / 342.4 MB, free: 6.559 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001015/0.01643, allocations: 116 kB / 342.5 MB, free: 6.445 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00019/0.01662, allocations: 139.9 kB / 342.7 MB, free: 6.309 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004343/0.01706, allocations: 0.7751 MB / 343.4 MB, free: 5.531 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003202/0.01738, allocations: 498.3 kB / 343.9 MB, free: 5.043 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001356/0.01873, allocations: 1.424 MB / 345.3 MB, free: 3.613 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.01874, allocations: 0 / 345.3 MB, free: 3.613 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.01874, allocations: 0 / 345.3 MB, free: 3.613 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.328e-05/0.01875, allocations: 0 / 345.3 MB, free: 3.613 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.00142/0.02017, allocations: 1.853 MB / 347.2 MB, free: 1.727 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.367e-05/0.0202, allocations: 12.02 kB / 347.2 MB, free: 1.715 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003177/0.02052, allocations: 240.7 kB / 347.4 MB, free: 1.48 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005064/0.02103, allocations: 0.5486 MB / 348 MB, free: 0.9062 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.685e-05/0.02109, allocations: 115.4 kB / 348.1 MB, free: 0.793 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001052/0.02119, allocations: 148.3 kB / 348.3 MB, free: 0.6484 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001364/0.02255, allocations: 1.884 MB / 350.1 MB, free: 14.43 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.09e-05/0.02259, allocations: 15.81 kB / 350.2 MB, free: 14.41 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.163e-05/0.02266, allocations: 75.94 kB / 350.2 MB, free: 14.34 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004482/0.02311, allocations: 0.615 MB / 350.8 MB, free: 13.73 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008164/0.02392, allocations: 0.6738 MB / 351.5 MB, free: 13.05 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005846/0.02977, allocations: 11.45 MB / 363 MB, free: 1.176 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.095e-05/0.02984, allocations: 173.1 kB / 363.1 MB, free: 0.9961 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.206e-05/0.02986, allocations: 80.14 kB / 363.2 MB, free: 0.9141 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.841e-05/0.02988, allocations: 79.31 kB / 363.3 MB, free: 0.8359 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.41e-05/0.02991, allocations: 109.8 kB / 363.4 MB, free: 0.7188 MB / 330.7 MB Notification: Performance of pre-optimization done (n=0): time 1.102e-06/0.02991, allocations: 0 / 363.4 MB, free: 0.7188 MB / 330.7 MB Notification: Performance of matching and sorting (n=0): time 9.93e-05/0.03001, allocations: 81.62 kB / 363.5 MB, free: 0.6328 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.422e-05/0.03006, allocations: 130.6 kB / 363.6 MB, free: 0.4922 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007003/0.03076, allocations: 1.158 MB / 364.8 MB, free: 15.32 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.397e-06/0.03077, allocations: 25.7 kB / 364.8 MB, free: 15.29 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007125/0.03148, allocations: 1.397 MB / 366.2 MB, free: 13.88 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.677e-05/0.03151, allocations: 51.88 kB / 366.2 MB, free: 13.83 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002428/0.03175, allocations: 407 kB / 366.6 MB, free: 13.42 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.854e-05/0.03184, allocations: 333.9 kB / 367 MB, free: 13.09 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001169/0.03195, allocations: 136 kB / 367.1 MB, free: 12.95 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009132/0.03287, allocations: 1.722 MB / 368.8 MB, free: 10.41 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001385/0.03425, allocations: 2.166 MB / 371 MB, free: 7.445 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.567e-05/0.03427, allocations: 16 kB / 371 MB, free: 7.43 MB / 346.7 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.001413/0.03568, allocations: 1.472 MB / 372.5 MB, free: 5.953 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.081e-05/0.03571, allocations: 28 kB / 372.5 MB, free: 5.926 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-05/0.03575, allocations: 60.16 kB / 372.6 MB, free: 5.867 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.615e-05/0.0358, allocations: 76 kB / 372.6 MB, free: 5.793 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000663/0.03646, allocations: 0.4913 MB / 373.1 MB, free: 5.301 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.319e-05/0.03651, allocations: 119.5 kB / 373.2 MB, free: 5.184 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006673/0.03718, allocations: 289.9 kB / 373.5 MB, free: 4.898 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.047e-05/0.03726, allocations: 124 kB / 373.6 MB, free: 4.777 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.0003115/0.03757, allocations: 402.5 kB / 374 MB, free: 4.371 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.367e-05/0.03765, allocations: 152.9 kB / 374.2 MB, free: 4.215 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001023/0.03775, allocations: 194.2 kB / 374.4 MB, free: 4.016 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.844e-05/0.03779, allocations: 176.3 kB / 374.5 MB, free: 3.836 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.738e-05/0.03782, allocations: 180.3 kB / 374.7 MB, free: 3.652 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.243e-05/0.03787, allocations: 188.1 kB / 374.9 MB, free: 3.461 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004937/0.03836, allocations: 0.6766 MB / 375.6 MB, free: 2.758 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.177e-05/0.03839, allocations: 108.9 kB / 375.7 MB, free: 2.645 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.876e-05/0.03842, allocations: 101 kB / 375.8 MB, free: 2.539 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.278e-05/0.03847, allocations: 184.2 kB / 376 MB, free: 2.352 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.955e-05/0.03852, allocations: 184.2 kB / 376.1 MB, free: 2.164 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.375e-05/0.03857, allocations: 180.2 kB / 376.3 MB, free: 1.98 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.866e-05/0.03862, allocations: 196.2 kB / 376.5 MB, free: 1.781 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001347/0.03875, allocations: 361.6 kB / 376.9 MB, free: 1.406 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.876e-05/0.03885, allocations: 188.3 kB / 377 MB, free: 1.215 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.904e-05/0.03893, allocations: 184.2 kB / 377.2 MB, free: 1.027 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001247/0.03905, allocations: 104.9 kB / 377.3 MB, free: 0.918 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.61e-05/0.0391, allocations: 184.3 kB / 377.5 MB, free: 0.7305 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.334e-05/0.03912, allocations: 108.9 kB / 377.6 MB, free: 0.6172 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003038/0.03943, allocations: 439.3 kB / 378 MB, free: 188 kB / 346.7 MB Notification: Performance of sort global known variables: time 7e-08/0.03943, allocations: 4 kB / 378 MB, free: 184 kB / 346.7 MB Notification: Performance of remove unused functions: time 0.0009665/0.04039, allocations: 458.4 kB / 378.5 MB, free: 15.73 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.0001118/0.04051, allocations: 151.6 kB / 378.6 MB, free: 15.57 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007523/0.04126, allocations: 0.6992 MB / 379.3 MB, free: 14.88 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.35e-05/0.04132, allocations: 47.94 kB / 379.4 MB, free: 14.83 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.703e-06/0.04132, allocations: 0 / 379.4 MB, free: 14.83 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004058/0.04173, allocations: 0.5318 MB / 379.9 MB, free: 14.3 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002465/0.04419, allocations: 2.644 MB / 382.6 MB, free: 11.6 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000313/0.04451, allocations: 463.5 kB / 383 MB, free: 11.12 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002887/0.0448, allocations: 154.2 kB / 383.2 MB, free: 10.97 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001306/0.04493, allocations: 175.4 kB / 383.3 MB, free: 10.8 MB / 362.7 MB Notification: Performance of SimCode: time 1.422e-06/0.04493, allocations: 0 / 383.3 MB, free: 10.8 MB / 362.7 MB Notification: Performance of Templates: time 0.01441/0.05934, allocations: 6.491 MB / 389.8 MB, free: 4.391 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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: 2.9421187806874514]