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.001062/0.001062, allocations: 91.5 kB / 21.2 MB, free: 3.375 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.0009963/0.0009963, allocations: 156.5 kB / 24.55 MB, free: 20 kB / 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 0.9606/0.9606, allocations: 177 MB / 204.8 MB, free: 5.594 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.2731/0.2731, allocations: 34.87 MB / 296.3 MB, free: 0.5469 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.412e-06/1.412e-06, allocations: 0 / 378.7 MB, free: 2.105 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.669e-05/1.81e-05, allocations: 7.156 kB / 378.8 MB, free: 2.098 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.00722/0.007238, allocations: 8.415 MB / 387.2 MB, free: 9.641 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.003426/0.01066, allocations: 2.262 MB / 389.4 MB, free: 7.371 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004601/0.01112, allocations: 47.88 kB / 389.5 MB, free: 7.324 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00178/0.0129, allocations: 1.655 MB / 391.1 MB, free: 5.664 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006421/0.01355, allocations: 0.4929 MB / 391.6 MB, free: 5.168 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002018/0.01375, allocations: 71.77 kB / 391.7 MB, free: 5.098 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008225/0.01457, allocations: 0.9561 MB / 392.7 MB, free: 4.137 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001287/0.01586, allocations: 1.225 MB / 393.9 MB, free: 2.887 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007023/0.01656, allocations: 0.8145 MB / 394.7 MB, free: 2.07 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006993/0.01726, allocations: 0.6349 MB / 395.3 MB, free: 1.434 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001425/0.0174, allocations: 120 kB / 395.4 MB, free: 1.316 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002251/0.01763, allocations: 140 kB / 395.6 MB, free: 1.18 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004783/0.0181, allocations: 0.779 MB / 396.4 MB, free: 408 kB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003973/0.0185, allocations: 0.4907 MB / 396.8 MB, free: 15.9 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001158/0.01966, allocations: 1.435 MB / 398.3 MB, free: 14.46 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.01966, allocations: 0 / 398.3 MB, free: 14.46 MB / 378.7 MB Notification: Performance of FrontEnd: time 7.11e-07/0.01966, allocations: 0 / 398.3 MB, free: 14.46 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.334e-05/0.01971, allocations: 0 / 398.3 MB, free: 14.46 MB / 378.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.002066/0.02177, allocations: 2.075 MB / 400.4 MB, free: 12.34 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.415e-05/0.02181, allocations: 12.03 kB / 400.4 MB, free: 12.33 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004069/0.02221, allocations: 347.4 kB / 400.7 MB, free: 11.99 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006369/0.02285, allocations: 0.6488 MB / 401.4 MB, free: 11.32 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.261e-05/0.02292, allocations: 115.4 kB / 401.5 MB, free: 11.2 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001128/0.02304, allocations: 152.3 kB / 401.6 MB, free: 11.05 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001853/0.02489, allocations: 2.229 MB / 403.8 MB, free: 8.379 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.493e-05/0.02493, allocations: 23.75 kB / 403.9 MB, free: 8.355 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.964e-05/0.025, allocations: 71.94 kB / 403.9 MB, free: 8.285 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004325/0.02544, allocations: 0.615 MB / 404.6 MB, free: 7.672 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001443/0.02688, allocations: 0.8241 MB / 405.4 MB, free: 6.844 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008047/0.03493, allocations: 16.82 MB / 422.2 MB, free: 5.477 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.738e-05/0.035, allocations: 269.4 kB / 422.5 MB, free: 5.199 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.052e-05/0.03504, allocations: 126.9 kB / 422.6 MB, free: 5.07 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.49e-05/0.03506, allocations: 119.2 kB / 422.7 MB, free: 4.953 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.978e-05/0.0351, allocations: 156.6 kB / 422.9 MB, free: 4.789 MB / 394.7 MB Notification: Performance of pre-optimization done (n=0): time 1.533e-06/0.0351, allocations: 0 / 422.9 MB, free: 4.789 MB / 394.7 MB Notification: Performance of matching and sorting (n=0): time 0.0001293/0.03523, allocations: 148.8 kB / 423 MB, free: 4.637 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.977e-05/0.03528, allocations: 170.6 kB / 423.2 MB, free: 4.457 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009789/0.03626, allocations: 1.357 MB / 424.5 MB, free: 3.09 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.05e-05/0.03627, allocations: 25.7 kB / 424.6 MB, free: 3.059 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006433/0.03691, allocations: 1.512 MB / 426.1 MB, free: 1.527 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.815e-05/0.03694, allocations: 47.95 kB / 426.1 MB, free: 1.48 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002802/0.03722, allocations: 448.8 kB / 426.5 MB, free: 1.031 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001163/0.03734, allocations: 0.5004 MB / 427 MB, free: 0.5234 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001876/0.03753, allocations: 167.9 kB / 427.2 MB, free: 364 kB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001448/0.03897, allocations: 2.468 MB / 429.7 MB, free: 12.77 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001783/0.04076, allocations: 2.898 MB / 432.6 MB, free: 8.777 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.256e-05/0.04078, allocations: 16 kB / 432.6 MB, free: 8.762 MB / 410.7 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.002022/0.0428, allocations: 1.815 MB / 434.4 MB, free: 6.941 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.298e-05/0.04283, allocations: 34.66 kB / 434.4 MB, free: 6.91 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.538e-05/0.04287, allocations: 56 kB / 434.5 MB, free: 6.855 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.604e-05/0.04292, allocations: 75.94 kB / 434.6 MB, free: 6.781 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006377/0.04355, allocations: 495 kB / 435.1 MB, free: 6.297 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.017e-05/0.0436, allocations: 107.6 kB / 435.2 MB, free: 6.191 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006639/0.04427, allocations: 297.8 kB / 435.4 MB, free: 5.898 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.811e-05/0.04436, allocations: 136 kB / 435.6 MB, free: 5.766 MB / 410.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 (world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],cone.color[3],cone.color[2],cone.color[1],spring.color[3],spring.color[2],spring.color[1],gearwheel.color[3],gearwheel.color[2],gearwheel.color[1],beam.color[3],beam.color[2],beam.color[1],pipe.color[3],pipe.color[2],pipe.color[1],cylinder.color[3],cylinder.color[2],cylinder.color[1],sphere.color[3],sphere.color[2],sphere.color[1],box.color[3],box.color[2],box.color[1],fixed.color[3],fixed.color[2],fixed.color[1]) * 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.0003089/0.04466, allocations: 490.6 kB / 436.1 MB, free: 5.273 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001096/0.04477, allocations: 256.1 kB / 436.3 MB, free: 5.016 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001093/0.04488, allocations: 238.2 kB / 436.5 MB, free: 4.773 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.391e-05/0.04495, allocations: 268 kB / 436.8 MB, free: 4.504 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.571e-05/0.04501, allocations: 272 kB / 437.1 MB, free: 4.23 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.949e-05/0.04507, allocations: 268.1 kB / 437.3 MB, free: 3.961 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008827/0.04595, allocations: 1.301 MB / 438.6 MB, free: 2.613 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.712e-05/0.046, allocations: 152.9 kB / 438.8 MB, free: 2.457 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.284e-05/0.04604, allocations: 144.9 kB / 438.9 MB, free: 2.309 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.925e-05/0.04613, allocations: 272 kB / 439.2 MB, free: 2.035 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.122e-05/0.04622, allocations: 268.1 kB / 439.5 MB, free: 1.766 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.717e-05/0.04629, allocations: 268 kB / 439.7 MB, free: 1.496 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.387e-05/0.04638, allocations: 272 kB / 440 MB, free: 1.223 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001986/0.04657, allocations: 0.5372 MB / 440.5 MB, free: 0.6602 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001022/0.04668, allocations: 236.2 kB / 440.7 MB, free: 432 kB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001095/0.04679, allocations: 272 kB / 441 MB, free: 152 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001373/0.04692, allocations: 148.9 kB / 441.2 MB, free: 16 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000311/0.04723, allocations: 276 kB / 441.4 MB, free: 15.72 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.106e-05/0.04727, allocations: 148.9 kB / 441.6 MB, free: 15.57 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0004877/0.04775, allocations: 0.6133 MB / 442.2 MB, free: 14.95 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.04775, allocations: 0 / 442.2 MB, free: 14.95 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0008327/0.04859, allocations: 466.3 kB / 442.6 MB, free: 14.49 MB / 426.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.0001445/0.04873, allocations: 214.4 kB / 442.9 MB, free: 14.27 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000638/0.04937, allocations: 0.7611 MB / 443.6 MB, free: 13.52 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.392e-06/0.04937, allocations: 128 / 443.6 MB, free: 13.52 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 3.126e-06/0.04937, allocations: 8.234 kB / 443.6 MB, free: 13.51 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004735/0.04985, allocations: 0.7889 MB / 444.4 MB, free: 12.71 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00243/0.05228, allocations: 2.591 MB / 447 MB, free: 10.07 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003081/0.05259, allocations: 467.5 kB / 447.5 MB, free: 9.586 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0005447/0.05313, allocations: 421.7 kB / 447.9 MB, free: 9.172 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.888e-05/0.05319, allocations: 64.5 kB / 447.9 MB, free: 9.105 MB / 426.7 MB Notification: Performance of SimCode: time 7.41e-07/0.05319, allocations: 0 / 447.9 MB, free: 9.105 MB / 426.7 MB Notification: Performance of Templates: time 0.01074/0.06393, allocations: 6.311 MB / 454.2 MB, free: 2.922 MB / 426.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.2246159138157964]