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.000961/0.000961, allocations: 91.61 kB / 21.19 MB, free: 3.387 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.000945/0.000945, allocations: 160.5 kB / 24.55 MB, free: 28 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.9866/0.9866, allocations: 177 MB / 204.8 MB, free: 5.27 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.2999/0.2999, allocations: 34.87 MB / 296.3 MB, free: 0.4961 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.924e-06/1.924e-06, allocations: 3.938 kB / 378.7 MB, free: 2.113 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.283e-05/2.476e-05, allocations: 2.312 kB / 378.7 MB, free: 2.109 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.007382/0.007407, allocations: 8.417 MB / 387.2 MB, free: 9.648 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.004081/0.01149, allocations: 2.266 MB / 389.4 MB, free: 7.375 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006658/0.01215, allocations: 39.94 kB / 389.5 MB, free: 7.336 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001862/0.01402, allocations: 1.655 MB / 391.1 MB, free: 5.676 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007697/0.01479, allocations: 0.5007 MB / 391.6 MB, free: 5.172 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002197/0.01501, allocations: 71.72 kB / 391.7 MB, free: 5.102 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008889/0.01589, allocations: 0.9562 MB / 392.7 MB, free: 4.141 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001046/0.01694, allocations: 1.229 MB / 393.9 MB, free: 2.887 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009762/0.01792, allocations: 0.795 MB / 394.7 MB, free: 2.09 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007471/0.01866, allocations: 0.6504 MB / 395.3 MB, free: 1.438 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001555/0.01882, allocations: 120 kB / 395.4 MB, free: 1.32 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002308/0.01905, allocations: 139.9 kB / 395.6 MB, free: 1.184 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004794/0.01953, allocations: 0.7752 MB / 396.4 MB, free: 416 kB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003633/0.01989, allocations: 498.4 kB / 396.8 MB, free: 15.91 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001041/0.02093, allocations: 1.431 MB / 398.3 MB, free: 14.48 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.02094, allocations: 0 / 398.3 MB, free: 14.48 MB / 378.7 MB Notification: Performance of FrontEnd: time 8.32e-07/0.02094, allocations: 0 / 398.3 MB, free: 14.48 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.152e-05/0.02096, allocations: 0 / 398.3 MB, free: 14.48 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.001687/0.02265, allocations: 2.086 MB / 400.4 MB, free: 12.35 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.949e-05/0.02269, allocations: 8.031 kB / 400.4 MB, free: 12.34 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004/0.02309, allocations: 351.3 kB / 400.7 MB, free: 12 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000645/0.02373, allocations: 0.6411 MB / 401.4 MB, free: 11.33 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.042e-05/0.02379, allocations: 115.4 kB / 401.5 MB, free: 11.21 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001089/0.0239, allocations: 148.3 kB / 401.6 MB, free: 11.07 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002326/0.02623, allocations: 2.233 MB / 403.8 MB, free: 8.391 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.866e-05/0.02626, allocations: 23.8 kB / 403.9 MB, free: 8.367 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.412e-05/0.02635, allocations: 75.94 kB / 403.9 MB, free: 8.293 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005054/0.02685, allocations: 0.6111 MB / 404.6 MB, free: 7.684 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001147/0.028, allocations: 0.8241 MB / 405.4 MB, free: 6.855 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008429/0.03643, allocations: 16.83 MB / 422.2 MB, free: 5.48 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.584e-05/0.03652, allocations: 269.4 kB / 422.5 MB, free: 5.203 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.493e-05/0.03655, allocations: 130.8 kB / 422.6 MB, free: 5.07 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.534e-05/0.03658, allocations: 119.2 kB / 422.7 MB, free: 4.953 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.376e-05/0.03662, allocations: 160.6 kB / 422.9 MB, free: 4.785 MB / 394.7 MB Notification: Performance of pre-optimization done (n=0): time 1.383e-06/0.03662, allocations: 0 / 422.9 MB, free: 4.785 MB / 394.7 MB Notification: Performance of matching and sorting (n=0): time 0.0001333/0.03675, allocations: 140.9 kB / 423 MB, free: 4.641 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.192e-05/0.03681, allocations: 170.6 kB / 423.2 MB, free: 4.461 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001258/0.03806, allocations: 1.361 MB / 424.5 MB, free: 3.09 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 8.706e-06/0.03807, allocations: 25.7 kB / 424.6 MB, free: 3.059 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006329/0.03871, allocations: 1.516 MB / 426.1 MB, free: 1.523 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.736e-05/0.03873, allocations: 43.95 kB / 426.1 MB, free: 1.48 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002847/0.03902, allocations: 444.8 kB / 426.5 MB, free: 1.035 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001305/0.03915, allocations: 0.5082 MB / 427.1 MB, free: 0.5195 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002008/0.03935, allocations: 163.9 kB / 427.2 MB, free: 364 kB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0015/0.04085, allocations: 2.464 MB / 429.7 MB, free: 12.78 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0016/0.04245, allocations: 2.902 MB / 432.6 MB, free: 8.777 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-05/0.04247, allocations: 16 kB / 432.6 MB, free: 8.762 MB / 410.7 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.001678/0.04414, allocations: 1.807 MB / 434.4 MB, free: 6.949 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.114e-05/0.04418, allocations: 31.94 kB / 434.4 MB, free: 6.918 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.443e-05/0.04421, allocations: 56.88 kB / 434.5 MB, free: 6.863 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.302e-05/0.04426, allocations: 79.94 kB / 434.6 MB, free: 6.785 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006652/0.04493, allocations: 491 kB / 435 MB, free: 6.305 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.278e-05/0.04498, allocations: 107.6 kB / 435.2 MB, free: 6.199 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006826/0.04566, allocations: 297.8 kB / 435.4 MB, free: 5.906 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.964e-05/0.04575, allocations: 144 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.0005177/0.04627, allocations: 482.4 kB / 436.1 MB, free: 5.281 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001097/0.04638, allocations: 264.1 kB / 436.3 MB, free: 5.016 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001042/0.04648, allocations: 230.2 kB / 436.5 MB, free: 4.781 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.899e-05/0.04654, allocations: 276 kB / 436.8 MB, free: 4.504 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.794e-05/0.0466, allocations: 268.1 kB / 437.1 MB, free: 4.234 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.424e-05/0.04666, allocations: 268 kB / 437.3 MB, free: 3.965 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008841/0.04754, allocations: 1.297 MB / 438.6 MB, free: 2.621 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.995e-05/0.04757, allocations: 144.9 kB / 438.8 MB, free: 2.473 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.016e-05/0.0476, allocations: 152.8 kB / 438.9 MB, free: 2.316 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.232e-05/0.04765, allocations: 268.1 kB / 439.2 MB, free: 2.047 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.384e-05/0.04771, allocations: 272 kB / 439.4 MB, free: 1.773 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.121e-05/0.04776, allocations: 272.1 kB / 439.7 MB, free: 1.5 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.318e-05/0.04781, allocations: 276 kB / 440 MB, free: 1.223 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001671/0.04798, allocations: 0.5372 MB / 440.5 MB, free: 0.6602 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001096/0.04809, allocations: 236.1 kB / 440.8 MB, free: 432 kB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.674e-05/0.04818, allocations: 268.1 kB / 441 MB, free: 156 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000156/0.04834, allocations: 152.9 kB / 441.2 MB, free: 15.99 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.455e-05/0.04839, allocations: 272 kB / 441.4 MB, free: 15.72 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.831e-05/0.04842, allocations: 148.9 kB / 441.6 MB, free: 15.57 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0004887/0.04891, allocations: 0.6172 MB / 442.2 MB, free: 14.95 MB / 426.7 MB Notification: Performance of sort global known variables: time 8e-08/0.04891, allocations: 0 / 442.2 MB, free: 14.95 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0009249/0.04984, allocations: 454.4 kB / 442.6 MB, free: 14.5 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.000138/0.04997, allocations: 222.3 kB / 442.9 MB, free: 14.27 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0008594/0.05083, allocations: 0.7596 MB / 443.6 MB, free: 13.52 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.05084, allocations: 0 / 443.6 MB, free: 13.52 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 2.224e-06/0.05084, allocations: 304 / 443.6 MB, free: 13.52 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005111/0.05135, allocations: 0.7905 MB / 444.4 MB, free: 12.72 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002342/0.05369, allocations: 2.595 MB / 447 MB, free: 10.07 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003152/0.05401, allocations: 455.5 kB / 447.4 MB, free: 9.602 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0005759/0.05458, allocations: 425.7 kB / 447.9 MB, free: 9.184 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.648e-05/0.05465, allocations: 64.5 kB / 447.9 MB, free: 9.117 MB / 426.7 MB Notification: Performance of SimCode: time 1.182e-06/0.05465, allocations: 3.828 kB / 447.9 MB, free: 9.117 MB / 426.7 MB Notification: Performance of Templates: time 0.01062/0.06527, allocations: 6.041 MB / 454 MB, free: 3.211 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.4492390481755137]