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.001217/0.001217, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001789/0.003006, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.001055/0.001055, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001223/0.002278, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.055/1.055, allocations: 177.2 MB / 189.8 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1132/1.168, allocations: 53.65 MB / 243.4 MB, free: 15.51 MB / 250.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.3213/0.3213, allocations: 34.26 MB / 278.4 MB, free: 15.28 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03235/0.3536, allocations: 13.1 MB / 291.5 MB, free: 7.336 MB / 282.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 2.555e-06/2.555e-06, allocations: 0 / 292.8 MB, free: 6.23 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.188e-05/3.444e-05, allocations: 7.016 kB / 292.8 MB, free: 6.223 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.009427/0.009461, allocations: 8.33 MB / 301.1 MB, free: 13.85 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005741/0.0152, allocations: 2.351 MB / 303.5 MB, free: 11.49 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001009/0.01621, allocations: 43.88 kB / 303.5 MB, free: 11.45 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001724/0.01793, allocations: 1.553 MB / 305.1 MB, free: 9.891 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007609/0.0187, allocations: 0.4929 MB / 305.6 MB, free: 9.395 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002236/0.01892, allocations: 79.7 kB / 305.7 MB, free: 9.316 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006579/0.01958, allocations: 0.9649 MB / 306.6 MB, free: 8.348 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009832/0.02056, allocations: 1.229 MB / 307.9 MB, free: 7.09 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006407/0.0212, allocations: 0.8604 MB / 308.7 MB, free: 6.223 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006196/0.02182, allocations: 0.6115 MB / 309.3 MB, free: 5.609 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001174/0.02194, allocations: 116 kB / 309.4 MB, free: 5.496 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002251/0.02216, allocations: 136 kB / 309.6 MB, free: 5.363 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004078/0.02257, allocations: 0.6935 MB / 310.3 MB, free: 4.668 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000322/0.02289, allocations: 414.7 kB / 310.7 MB, free: 4.262 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001078/0.02397, allocations: 1.377 MB / 312.1 MB, free: 2.879 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.179e-05/0.02398, allocations: 0 / 312.1 MB, free: 2.879 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.02398, allocations: 0 / 312.1 MB, free: 2.879 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.513e-05/0.02401, allocations: 4 kB / 312.1 MB, free: 2.875 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.001826/0.02584, allocations: 2.2 MB / 314.3 MB, free: 0.6367 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.521e-05/0.02587, allocations: 8.031 kB / 314.3 MB, free: 0.6289 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003986/0.02627, allocations: 321.8 kB / 314.6 MB, free: 304 kB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000607/0.02688, allocations: 0.5419 MB / 315.1 MB, free: 15.72 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.327e-05/0.02694, allocations: 111.4 kB / 315.2 MB, free: 15.61 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000117/0.02706, allocations: 148.3 kB / 315.4 MB, free: 15.47 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001515/0.02857, allocations: 1.879 MB / 317.3 MB, free: 13.26 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.646e-05/0.02861, allocations: 23.75 kB / 317.3 MB, free: 13.23 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.863e-05/0.02869, allocations: 75.94 kB / 317.4 MB, free: 13.16 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004486/0.02914, allocations: 0.5798 MB / 317.9 MB, free: 12.58 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008534/0.02999, allocations: 0.6692 MB / 318.6 MB, free: 11.91 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007241/0.03723, allocations: 11.48 MB / 330.1 MB, free: 12 kB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001027/0.03733, allocations: 173.1 kB / 330.2 MB, free: 15.83 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.757e-05/0.03736, allocations: 84.14 kB / 330.3 MB, free: 15.75 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.244e-05/0.03738, allocations: 75.28 kB / 330.4 MB, free: 15.67 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.066e-05/0.03743, allocations: 113.8 kB / 330.5 MB, free: 15.55 MB / 330.7 MB Notification: Performance of pre-optimization done (n=0): time 4.318e-06/0.03744, allocations: 0 / 330.5 MB, free: 15.55 MB / 330.7 MB Notification: Performance of matching and sorting (n=0): time 0.0001759/0.03761, allocations: 81.56 kB / 330.6 MB, free: 15.46 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.394e-05/0.03766, allocations: 130.7 kB / 330.7 MB, free: 15.32 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008887/0.03855, allocations: 1.146 MB / 331.9 MB, free: 14.17 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.11e-05/0.03856, allocations: 29.7 kB / 331.9 MB, free: 14.13 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006611/0.03922, allocations: 1.393 MB / 333.3 MB, free: 12.72 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.583e-05/0.03926, allocations: 47.94 kB / 333.3 MB, free: 12.68 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004008/0.03967, allocations: 411 kB / 333.7 MB, free: 12.27 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001041/0.03977, allocations: 341.9 kB / 334.1 MB, free: 11.93 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001401/0.03991, allocations: 136 kB / 334.2 MB, free: 11.79 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009983/0.04091, allocations: 1.714 MB / 335.9 MB, free: 9.258 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002031/0.04294, allocations: 2.354 MB / 338.3 MB, free: 6.102 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.02e-05/0.04298, allocations: 16 kB / 338.3 MB, free: 6.086 MB / 330.7 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.001751/0.04473, allocations: 1.476 MB / 339.8 MB, free: 4.605 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.798e-05/0.04477, allocations: 28 kB / 339.8 MB, free: 4.578 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.737e-05/0.04482, allocations: 56 kB / 339.8 MB, free: 4.523 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.021e-05/0.04488, allocations: 76 kB / 339.9 MB, free: 4.449 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007757/0.04565, allocations: 0.5225 MB / 340.4 MB, free: 3.926 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.778e-05/0.04573, allocations: 119.5 kB / 340.6 MB, free: 3.809 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009111/0.04664, allocations: 293.8 kB / 340.8 MB, free: 3.52 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.226e-05/0.04673, allocations: 124 kB / 341 MB, free: 3.398 MB / 330.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.0005982/0.04733, allocations: 398.7 kB / 341.4 MB, free: 2.996 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001067/0.04744, allocations: 156.9 kB / 341.5 MB, free: 2.836 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001102/0.04755, allocations: 198.3 kB / 341.7 MB, free: 2.629 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.707e-05/0.04759, allocations: 180.3 kB / 341.9 MB, free: 2.445 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.553e-05/0.04764, allocations: 180.2 kB / 342.1 MB, free: 2.262 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.814e-05/0.04769, allocations: 184.2 kB / 342.2 MB, free: 2.074 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007448/0.04843, allocations: 0.6805 MB / 342.9 MB, free: 1.367 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.997e-05/0.04846, allocations: 104.9 kB / 343 MB, free: 1.258 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.705e-05/0.04849, allocations: 105 kB / 343.1 MB, free: 1.148 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001136/0.0486, allocations: 200.1 kB / 343.3 MB, free: 0.9453 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.877e-05/0.04865, allocations: 180.2 kB / 343.5 MB, free: 0.7617 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.729e-05/0.0487, allocations: 180.3 kB / 343.7 MB, free: 0.5781 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.603e-05/0.04875, allocations: 180.2 kB / 343.8 MB, free: 404 kB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.647e-05/0.04879, allocations: 180.3 kB / 344 MB, free: 216 kB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001758/0.04897, allocations: 357.4 kB / 344.4 MB, free: 15.84 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.463e-05/0.04906, allocations: 188.2 kB / 344.5 MB, free: 15.65 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001418/0.0492, allocations: 101 kB / 344.6 MB, free: 15.54 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.494e-05/0.04927, allocations: 180.2 kB / 344.8 MB, free: 15.36 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.749e-05/0.0493, allocations: 108.9 kB / 344.9 MB, free: 15.25 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003595/0.04966, allocations: 443.3 kB / 345.4 MB, free: 14.81 MB / 346.7 MB Notification: Performance of sort global known variables: time 5e-08/0.04966, allocations: 0 / 345.4 MB, free: 14.81 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001044/0.0507, allocations: 462.4 kB / 345.8 MB, free: 14.36 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.0001622/0.05086, allocations: 155.6 kB / 346 MB, free: 14.2 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0009055/0.05177, allocations: 0.7465 MB / 346.7 MB, free: 13.46 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 8.332e-05/0.05185, allocations: 43.94 kB / 346.8 MB, free: 13.41 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 4.558e-06/0.05186, allocations: 0 / 346.8 MB, free: 13.41 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007243/0.05258, allocations: 1.063 MB / 347.8 MB, free: 12.26 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004224/0.05681, allocations: 2.688 MB / 350.5 MB, free: 9.523 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004892/0.05729, allocations: 459.5 kB / 351 MB, free: 9.047 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0004578/0.05775, allocations: 154.2 kB / 351.1 MB, free: 8.895 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002031/0.05796, allocations: 171.4 kB / 351.3 MB, free: 8.727 MB / 346.7 MB Notification: Performance of SimCode: time 2.154e-06/0.05796, allocations: 0 / 351.3 MB, free: 8.727 MB / 346.7 MB Notification: Performance of Templates: time 0.01335/0.07131, allocations: 4.265 MB / 355.5 MB, free: 4.492 MB / 346.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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.1139475498348475]