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.001497/0.001497, allocations: 85.91 kB / 22.22 MB, free: 2.285 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.001022/0.001022, allocations: 159.4 kB / 25.61 MB, free: 8.582 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.011/1.011, allocations: 177 MB / 205.9 MB, free: 4.453 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.1869/0.1869, allocations: 34.87 MB / 297.4 MB, free: 13.33 MB / 282.7 MB " [Timeout remaining time 179] 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.764e-06/1.764e-06, allocations: 0 / 380 MB, free: 22.76 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.686e-05/2.863e-05, allocations: 5.266 kB / 380 MB, free: 22.75 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.005827/0.005856, allocations: 8.217 MB / 388.2 MB, free: 14.5 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.004215/0.01007, allocations: 2.228 MB / 390.4 MB, free: 12.27 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000966/0.01104, allocations: 43.94 kB / 390.5 MB, free: 12.22 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001723/0.01276, allocations: 1.628 MB / 392.1 MB, free: 10.59 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008662/0.01363, allocations: 0.5007 MB / 392.6 MB, free: 10.09 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002642/0.01389, allocations: 75.7 kB / 392.7 MB, free: 10.01 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008527/0.01474, allocations: 0.9562 MB / 393.6 MB, free: 9.051 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001101/0.01584, allocations: 1.237 MB / 394.9 MB, free: 7.785 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008182/0.01666, allocations: 0.8028 MB / 395.7 MB, free: 6.98 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007989/0.01746, allocations: 0.6349 MB / 396.3 MB, free: 6.344 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000167/0.01763, allocations: 120 kB / 396.4 MB, free: 6.227 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002618/0.01789, allocations: 143.9 kB / 396.6 MB, free: 6.086 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004458/0.01834, allocations: 0.7713 MB / 397.3 MB, free: 5.312 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004189/0.01876, allocations: 494.4 kB / 397.8 MB, free: 4.828 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001162/0.01992, allocations: 1.435 MB / 399.3 MB, free: 3.387 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.01992, allocations: 0 / 399.3 MB, free: 3.387 MB / 314.7 MB Notification: Performance of FrontEnd: time 8.61e-07/0.01992, allocations: 4 kB / 399.3 MB, free: 3.383 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.273e-05/0.01997, allocations: 0 / 399.3 MB, free: 3.383 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.001926/0.02189, allocations: 2.098 MB / 401.4 MB, free: 1.238 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.871e-05/0.02193, allocations: 8.031 kB / 401.4 MB, free: 1.23 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004771/0.02241, allocations: 351.3 kB / 401.7 MB, free: 0.8867 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006206/0.02303, allocations: 0.6019 MB / 402.3 MB, free: 264 kB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.968e-05/0.02309, allocations: 115.4 kB / 402.4 MB, free: 148 kB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001392/0.02323, allocations: 156.4 kB / 402.6 MB, free: 15.99 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002108/0.02534, allocations: 2.107 MB / 404.7 MB, free: 13.43 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.828e-05/0.02537, allocations: 19.81 kB / 404.7 MB, free: 13.41 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001053/0.02548, allocations: 67.95 kB / 404.8 MB, free: 13.35 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006253/0.0261, allocations: 0.6189 MB / 405.4 MB, free: 12.73 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00127/0.02737, allocations: 0.6896 MB / 406.1 MB, free: 12.04 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009559/0.03693, allocations: 16.48 MB / 422.6 MB, free: 11.01 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001006/0.03703, allocations: 273.4 kB / 422.8 MB, free: 10.73 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.67e-05/0.03707, allocations: 126.9 kB / 423 MB, free: 10.6 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.004e-05/0.0371, allocations: 119.2 kB / 423.1 MB, free: 10.48 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.127e-05/0.03715, allocations: 156.6 kB / 423.2 MB, free: 10.32 MB / 346.7 MB Notification: Performance of pre-optimization done (n=0): time 2.775e-06/0.03715, allocations: 0 / 423.2 MB, free: 10.32 MB / 346.7 MB Notification: Performance of matching and sorting (n=0): time 0.0001825/0.03734, allocations: 133 kB / 423.4 MB, free: 10.18 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.474e-05/0.0374, allocations: 178.5 kB / 423.5 MB, free: 9.996 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001207/0.03861, allocations: 1.36 MB / 424.9 MB, free: 8.625 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.967e-06/0.03862, allocations: 25.7 kB / 424.9 MB, free: 8.594 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008598/0.03948, allocations: 1.523 MB / 426.4 MB, free: 7.051 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.705e-05/0.03952, allocations: 51.89 kB / 426.5 MB, free: 7 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003869/0.0399, allocations: 452.7 kB / 426.9 MB, free: 6.547 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001585/0.04006, allocations: 0.5081 MB / 427.4 MB, free: 6.031 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001719/0.04023, allocations: 128 kB / 427.6 MB, free: 5.902 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001437/0.04167, allocations: 2.448 MB / 430 MB, free: 2.34 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002009/0.04368, allocations: 2.878 MB / 432.9 MB, free: 14.36 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.43e-05/0.0437, allocations: 16 kB / 432.9 MB, free: 14.35 MB / 362.7 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.002105/0.04581, allocations: 1.717 MB / 434.6 MB, free: 12.62 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.037e-05/0.04585, allocations: 33.56 kB / 434.7 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.671e-05/0.04589, allocations: 56 kB / 434.7 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.196e-05/0.04596, allocations: 72 kB / 434.8 MB, free: 12.47 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009164/0.04687, allocations: 491 kB / 435.3 MB, free: 11.99 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.072e-05/0.04694, allocations: 111.5 kB / 435.4 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001051/0.04799, allocations: 293.9 kB / 435.7 MB, free: 11.59 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001077/0.0481, allocations: 120 kB / 435.8 MB, free: 11.47 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.0005105/0.04861, allocations: 494.6 kB / 436.3 MB, free: 10.98 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001321/0.04875, allocations: 248.2 kB / 436.5 MB, free: 10.73 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001341/0.04888, allocations: 242.1 kB / 436.7 MB, free: 10.48 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.221e-05/0.04894, allocations: 264.1 kB / 437 MB, free: 10.21 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.539e-05/0.04901, allocations: 268 kB / 437.3 MB, free: 9.945 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.586e-05/0.04907, allocations: 272 kB / 437.5 MB, free: 9.672 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009151/0.04999, allocations: 0.9672 MB / 438.5 MB, free: 8.668 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.808e-05/0.05003, allocations: 152.8 kB / 438.6 MB, free: 8.512 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.746e-05/0.05006, allocations: 144.9 kB / 438.8 MB, free: 8.363 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.827e-05/0.05013, allocations: 268.2 kB / 439 MB, free: 8.094 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.988e-05/0.0502, allocations: 272 kB / 439.3 MB, free: 7.82 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.39e-05/0.05027, allocations: 268.1 kB / 439.6 MB, free: 7.551 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.717e-05/0.05034, allocations: 276 kB / 439.8 MB, free: 7.273 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002225/0.05057, allocations: 0.5371 MB / 440.4 MB, free: 6.711 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001497/0.05071, allocations: 240.1 kB / 440.6 MB, free: 6.469 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001347/0.05085, allocations: 272 kB / 440.9 MB, free: 6.195 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002103/0.05106, allocations: 148.8 kB / 441 MB, free: 6.043 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.605e-05/0.05114, allocations: 272.1 kB / 441.3 MB, free: 5.77 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.217e-05/0.05118, allocations: 152.9 kB / 441.4 MB, free: 5.613 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0005182/0.0517, allocations: 0.5778 MB / 442 MB, free: 5.031 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.0517, allocations: 0 / 442 MB, free: 5.031 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001364/0.05306, allocations: 458.3 kB / 442.5 MB, free: 4.582 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.0001543/0.05321, allocations: 218.4 kB / 442.7 MB, free: 4.359 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0008089/0.05402, allocations: 0.726 MB / 443.4 MB, free: 3.637 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.05403, allocations: 4.062 kB / 443.4 MB, free: 3.633 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.254e-06/0.05403, allocations: 0 / 443.4 MB, free: 3.633 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006386/0.05467, allocations: 0.801 MB / 444.2 MB, free: 2.832 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003028/0.05769, allocations: 2.595 MB / 446.8 MB, free: 192 kB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004197/0.05811, allocations: 459.5 kB / 447.2 MB, free: 15.71 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003897/0.0585, allocations: 150.2 kB / 447.4 MB, free: 15.56 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001742/0.05868, allocations: 202.2 kB / 447.6 MB, free: 15.36 MB / 378.7 MB Notification: Performance of SimCode: time 9.42e-07/0.05868, allocations: 0 / 447.6 MB, free: 15.36 MB / 378.7 MB Notification: Performance of Templates: time 0.02187/0.08055, allocations: 6.621 MB / 454.2 MB, free: 8.883 MB / 378.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 -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: 3.495516006834805]