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.001406/0.001406, allocations: 79.73 kB / 21.25 MB, free: 396 kB / 14.72 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.001539/0.001539, allocations: 165.7 kB / 24.5 MB, free: 3.453 MB / 14.72 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.457/1.457, allocations: 177.1 MB / 204.7 MB, free: 8.855 MB / 190.1 MB " [Timeout remaining time 178] 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.2061/0.2061, allocations: 34.27 MB / 295.4 MB, free: 14.49 MB / 286.1 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 0.002466/0.002466, allocations: 83.86 kB / 443.2 MB, free: 6.484 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3414/0.3439, allocations: 66.04 MB / 0.4973 GB, free: 29.8 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.006605/0.3505, allocations: 7.675 MB / 0.5048 GB, free: 24.8 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003909/0.3544, allocations: 2.183 MB / 0.5069 GB, free: 23.4 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005217/0.3549, allocations: 43.09 kB / 0.5069 GB, free: 23.4 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002282/0.3572, allocations: 1.499 MB / 0.5084 GB, free: 22.74 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000745/0.358, allocations: 487.2 kB / 0.5089 GB, free: 22.46 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000219/0.3582, allocations: 78.48 kB / 0.5089 GB, free: 22.42 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007176/0.3589, allocations: 0.9268 MB / 0.5099 GB, free: 21.98 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009222/0.3598, allocations: 1.194 MB / 0.511 GB, free: 21.44 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003685/0.3602, allocations: 0.5471 MB / 0.5116 GB, free: 21.19 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008227/0.361, allocations: 0.6436 MB / 0.5122 GB, free: 20.93 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000192/0.3612, allocations: 119.4 kB / 0.5123 GB, free: 20.93 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002912/0.3615, allocations: 122.4 kB / 0.5124 GB, free: 20.92 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006628/0.3622, allocations: 0.7482 MB / 0.5131 GB, free: 20.63 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005758/0.3627, allocations: 0.641 MB / 0.5138 GB, free: 20.24 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002344/0.3651, allocations: 2.352 MB / 0.5161 GB, free: 19.29 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.3651, allocations: 2.438 kB / 0.5161 GB, free: 19.29 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.3651, allocations: 0.9688 kB / 0.5161 GB, free: 19.29 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.626e-05/0.3651, allocations: 0 / 0.5161 GB, free: 19.29 MB / 446.1 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.002415/0.3675, allocations: 1.921 MB / 0.5179 GB, free: 18.07 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.84e-05/0.3676, allocations: 8.594 kB / 0.518 GB, free: 18.07 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005207/0.3681, allocations: 227.6 kB / 0.5182 GB, free: 17.94 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001011/0.3691, allocations: 0.6634 MB / 0.5188 GB, free: 17.5 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.129e-05/0.3692, allocations: 117.2 kB / 0.5189 GB, free: 17.45 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001804/0.3694, allocations: 157.2 kB / 0.5191 GB, free: 17.39 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004541/0.3739, allocations: 3.381 MB / 0.5224 GB, free: 15.6 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.806e-05/0.374, allocations: 18.72 kB / 0.5224 GB, free: 15.59 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001777/0.3741, allocations: 73.25 kB / 0.5225 GB, free: 15.54 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009627/0.3751, allocations: 0.6184 MB / 0.5231 GB, free: 15.43 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00287/0.378, allocations: 1.864 MB / 0.5249 GB, free: 14.8 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008323/0.3863, allocations: 12.4 MB / 0.537 GB, free: 4.355 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.142e-05/0.3864, allocations: 174.4 kB / 0.5372 GB, free: 4.176 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.646e-05/0.3864, allocations: 81.48 kB / 0.5372 GB, free: 4.094 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.542e-05/0.3864, allocations: 75.98 kB / 0.5373 GB, free: 4.02 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.492e-05/0.3864, allocations: 112.2 kB / 0.5374 GB, free: 3.902 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 2.064e-06/0.3864, allocations: 0 / 0.5374 GB, free: 3.902 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 0.0001953/0.3866, allocations: 135.9 kB / 0.5376 GB, free: 3.809 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.78e-05/0.3866, allocations: 131.7 kB / 0.5377 GB, free: 3.668 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001528/0.3882, allocations: 1.444 MB / 0.5391 GB, free: 3.039 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.4e-06/0.3882, allocations: 25.7 kB / 0.5391 GB, free: 3.008 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000604/0.3888, allocations: 1.448 MB / 0.5405 GB, free: 1.855 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.691e-05/0.3888, allocations: 43.56 kB / 0.5406 GB, free: 1.84 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003731/0.3892, allocations: 428 kB / 0.541 GB, free: 1.621 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.379e-05/0.3892, allocations: 330.3 kB / 0.5413 GB, free: 1.309 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004732/0.3897, allocations: 371.8 kB / 0.5417 GB, free: 1.207 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001464/0.3912, allocations: 1.93 MB / 0.5435 GB, free: 14.93 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002822/0.394, allocations: 2.512 MB / 0.546 GB, free: 12.28 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.898e-05/0.394, allocations: 16.72 kB / 0.546 GB, free: 12.28 MB / 462.1 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.003324/0.3974, allocations: 2.096 MB / 0.5481 GB, free: 11.44 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.729e-05/0.3974, allocations: 36.67 kB / 0.5481 GB, free: 11.43 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.331e-05/0.3975, allocations: 60.77 kB / 0.5481 GB, free: 11.43 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.159e-05/0.3976, allocations: 74.25 kB / 0.5482 GB, free: 11.43 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001156/0.3987, allocations: 486.7 kB / 0.5487 GB, free: 11.37 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001075/0.3988, allocations: 113.8 kB / 0.5488 GB, free: 11.34 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001373/0.4002, allocations: 305.8 kB / 0.5491 GB, free: 11.14 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001475/0.4003, allocations: 137.7 kB / 0.5492 GB, free: 11.13 MB / 462.1 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.001278/0.4016, allocations: 0.862 MB / 0.5501 GB, free: 10.64 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001879/0.4018, allocations: 211.8 kB / 0.5503 GB, free: 10.47 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001826/0.402, allocations: 214.3 kB / 0.5505 GB, free: 10.31 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.447e-05/0.4021, allocations: 186.3 kB / 0.5506 GB, free: 10.12 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.251e-05/0.4022, allocations: 182.1 kB / 0.5508 GB, free: 9.941 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.517e-05/0.4022, allocations: 182 kB / 0.551 GB, free: 9.758 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001281/0.4035, allocations: 0.9723 MB / 0.5519 GB, free: 9.195 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.517e-05/0.4036, allocations: 114.7 kB / 0.552 GB, free: 9.078 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.487e-05/0.4036, allocations: 103.4 kB / 0.5521 GB, free: 8.973 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.236e-05/0.4037, allocations: 178 kB / 0.5523 GB, free: 8.793 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.491e-05/0.4038, allocations: 187.1 kB / 0.5525 GB, free: 8.605 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.416e-05/0.4039, allocations: 178.2 kB / 0.5527 GB, free: 8.426 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.549e-05/0.404, allocations: 181.9 kB / 0.5528 GB, free: 8.242 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000259/0.4042, allocations: 409.1 kB / 0.5532 GB, free: 7.871 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002087/0.4044, allocations: 198.8 kB / 0.5534 GB, free: 7.695 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001604/0.4046, allocations: 187.1 kB / 0.5536 GB, free: 7.508 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002555/0.4049, allocations: 107.2 kB / 0.5537 GB, free: 7.398 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.37e-05/0.4049, allocations: 179.7 kB / 0.5539 GB, free: 7.219 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.916e-05/0.405, allocations: 101 kB / 0.554 GB, free: 7.113 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001054/0.406, allocations: 0.8012 MB / 0.5547 GB, free: 6.809 MB / 462.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.406, allocations: 1.125 kB / 0.5547 GB, free: 6.809 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001704/0.4077, allocations: 463.1 kB / 0.5552 GB, free: 6.652 MB / 462.1 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.0001743/0.4079, allocations: 176.4 kB / 0.5554 GB, free: 6.484 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001291/0.4092, allocations: 0.8685 MB / 0.5562 GB, free: 6.156 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.4092, allocations: 0 / 0.5562 GB, free: 6.156 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 2.174e-06/0.4092, allocations: 0 / 0.5562 GB, free: 6.156 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007064/0.4099, allocations: 0.5248 MB / 0.5567 GB, free: 5.66 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004233/0.4142, allocations: 2.81 MB / 0.5595 GB, free: 3.078 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001357/0.4155, allocations: 0.9956 MB / 0.5604 GB, free: 2.039 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001031/0.4165, allocations: 457.7 kB / 0.5609 GB, free: 1.59 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.563e-05/0.4166, allocations: 64.5 kB / 0.5609 GB, free: 1.527 MB / 462.1 MB Notification: Performance of SimCode: time 9.01e-07/0.4166, allocations: 0 / 0.5609 GB, free: 1.527 MB / 462.1 MB Notification: Performance of Templates: time 0.0154/0.432, allocations: 6.052 MB / 0.5668 GB, free: 11.61 MB / 478.1 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=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Visualizers/Shapes/Shapes.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.224144877051003]