Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001729/0.001729, allocations: 70.5 kB / 21.24 MB, free: 0.5391 MB / 14.72 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.002193/0.002193, allocations: 161.9 kB / 24.5 MB, free: 3.711 MB / 14.72 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.471/1.471, allocations: 177.2 MB / 204.9 MB, free: 8.996 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2462/0.2462, allocations: 32.81 MB / 294.1 MB, free: 28 kB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.0_ModelicaTest.MultiBody.Visualizers.Shapes") translateModel(ModelicaTest.MultiBody.Visualizers.Shapes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002127/0.002127, allocations: 67.91 kB / 440.6 MB, free: 9.422 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3442/0.3463, allocations: 65.44 MB / 0.4942 GB, free: 31.4 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.007249/0.3535, allocations: 7.681 MB / 0.5017 GB, free: 26.39 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004173/0.3577, allocations: 2.189 MB / 0.5038 GB, free: 25 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006264/0.3583, allocations: 45.97 kB / 0.5038 GB, free: 24.99 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002421/0.3608, allocations: 1.488 MB / 0.5053 GB, free: 24.34 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007582/0.3615, allocations: 499.2 kB / 0.5058 GB, free: 24.05 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002249/0.3617, allocations: 70.62 kB / 0.5058 GB, free: 24.01 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007199/0.3625, allocations: 0.9218 MB / 0.5067 GB, free: 23.59 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009858/0.3634, allocations: 1.196 MB / 0.5079 GB, free: 23.04 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004194/0.3639, allocations: 0.5465 MB / 0.5084 GB, free: 22.79 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007141/0.3646, allocations: 0.6544 MB / 0.5091 GB, free: 22.52 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001529/0.3647, allocations: 120.6 kB / 0.5092 GB, free: 22.52 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002506/0.365, allocations: 113.2 kB / 0.5093 GB, free: 22.52 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004165/0.3654, allocations: 0.7455 MB / 0.51 GB, free: 22.23 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004193/0.3658, allocations: 0.6446 MB / 0.5107 GB, free: 21.84 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001861/0.3677, allocations: 2.35 MB / 0.513 GB, free: 20.89 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.3677, allocations: 1.25 kB / 0.513 GB, free: 20.89 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.3677, allocations: 0 / 0.513 GB, free: 20.89 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.96e-05/0.3677, allocations: 0 / 0.513 GB, free: 20.89 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.002447/0.3702, allocations: 1.926 MB / 0.5148 GB, free: 19.66 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.874e-05/0.3702, allocations: 9.625 kB / 0.5148 GB, free: 19.66 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005363/0.3708, allocations: 222.6 kB / 0.5151 GB, free: 19.54 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00102/0.3718, allocations: 0.6681 MB / 0.5157 GB, free: 19.09 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.534e-05/0.3719, allocations: 115.9 kB / 0.5158 GB, free: 19.04 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001701/0.372, allocations: 149.4 kB / 0.516 GB, free: 18.99 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003537/0.3756, allocations: 3.386 MB / 0.5193 GB, free: 17.2 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.514e-05/0.3756, allocations: 17.94 kB / 0.5193 GB, free: 17.19 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001177/0.3757, allocations: 74.81 kB / 0.5194 GB, free: 17.14 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007641/0.3765, allocations: 0.6163 MB / 0.52 GB, free: 17.03 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00357/0.3801, allocations: 1.861 MB / 0.5218 GB, free: 16.4 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01007/0.3901, allocations: 12.41 MB / 0.5339 GB, free: 5.949 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.046e-05/0.3902, allocations: 170.5 kB / 0.5341 GB, free: 5.773 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.94e-05/0.3902, allocations: 80.14 kB / 0.5341 GB, free: 5.691 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.764e-05/0.3902, allocations: 77.36 kB / 0.5342 GB, free: 5.617 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.451e-05/0.3903, allocations: 115.1 kB / 0.5343 GB, free: 5.496 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 2.945e-06/0.3903, allocations: 3.938 kB / 0.5343 GB, free: 5.492 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 0.0002706/0.3905, allocations: 135.5 kB / 0.5344 GB, free: 5.398 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.264e-05/0.3906, allocations: 132.8 kB / 0.5346 GB, free: 5.258 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001704/0.3923, allocations: 1.432 MB / 0.536 GB, free: 4.641 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.355e-06/0.3923, allocations: 25.7 kB / 0.536 GB, free: 4.609 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007953/0.3931, allocations: 1.447 MB / 0.5374 GB, free: 3.457 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.004e-05/0.3931, allocations: 45.03 kB / 0.5375 GB, free: 3.441 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004731/0.3936, allocations: 426.3 kB / 0.5379 GB, free: 3.223 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001056/0.3937, allocations: 338.7 kB / 0.5382 GB, free: 2.902 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006356/0.3944, allocations: 372.2 kB / 0.5385 GB, free: 2.801 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001294/0.3956, allocations: 1.929 MB / 0.5404 GB, free: 0.5234 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002863/0.3985, allocations: 2.509 MB / 0.5429 GB, free: 13.88 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.96e-05/0.3985, allocations: 16.03 kB / 0.5429 GB, free: 13.88 MB / 462.1 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.003542/0.4021, allocations: 2.097 MB / 0.5449 GB, free: 13.03 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.433e-05/0.4021, allocations: 34.12 kB / 0.545 GB, free: 13.03 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.276e-05/0.4022, allocations: 60.59 kB / 0.545 GB, free: 13.02 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001122/0.4023, allocations: 73.75 kB / 0.5451 GB, free: 13.02 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001157/0.4035, allocations: 487.9 kB / 0.5456 GB, free: 12.96 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001017/0.4036, allocations: 112.7 kB / 0.5457 GB, free: 12.93 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001565/0.4051, allocations: 301.5 kB / 0.546 GB, free: 12.75 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001699/0.4053, allocations: 137.8 kB / 0.5461 GB, free: 12.73 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.001536/0.4068, allocations: 0.8627 MB / 0.5469 GB, free: 12.24 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000258/0.4071, allocations: 211.1 kB / 0.5471 GB, free: 12.07 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002249/0.4073, allocations: 213.6 kB / 0.5473 GB, free: 11.91 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.033e-05/0.4074, allocations: 179.6 kB / 0.5475 GB, free: 11.73 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.056e-05/0.4075, allocations: 185.4 kB / 0.5477 GB, free: 11.55 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.582e-05/0.4076, allocations: 182.2 kB / 0.5479 GB, free: 11.36 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001494/0.4091, allocations: 0.9761 MB / 0.5488 GB, free: 10.8 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.822e-05/0.4091, allocations: 111.1 kB / 0.5489 GB, free: 10.68 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.758e-05/0.4092, allocations: 103.2 kB / 0.549 GB, free: 10.58 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.216e-05/0.4093, allocations: 182.5 kB / 0.5492 GB, free: 10.39 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001023/0.4094, allocations: 186 kB / 0.5494 GB, free: 10.21 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000119/0.4095, allocations: 182.6 kB / 0.5495 GB, free: 10.02 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.559e-05/0.4096, allocations: 182.2 kB / 0.5497 GB, free: 9.84 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002891/0.4099, allocations: 409.3 kB / 0.5501 GB, free: 9.469 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002421/0.4101, allocations: 190.7 kB / 0.5503 GB, free: 9.301 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001908/0.4103, allocations: 182.6 kB / 0.5505 GB, free: 9.117 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002742/0.4106, allocations: 116 kB / 0.5506 GB, free: 9 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.467e-05/0.4106, allocations: 182.8 kB / 0.5507 GB, free: 8.816 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.351e-05/0.4107, allocations: 106.1 kB / 0.5508 GB, free: 8.707 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001085/0.4118, allocations: 0.7979 MB / 0.5516 GB, free: 8.406 MB / 462.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.4118, allocations: 4 kB / 0.5516 GB, free: 8.402 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001849/0.4136, allocations: 463.1 kB / 0.5521 GB, free: 8.246 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.0001887/0.4138, allocations: 169 kB / 0.5522 GB, free: 8.086 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001469/0.4153, allocations: 0.8676 MB / 0.5531 GB, free: 7.785 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/0.4153, allocations: 0 / 0.5531 GB, free: 7.785 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 3.076e-06/0.4153, allocations: 1.281 kB / 0.5531 GB, free: 7.785 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007292/0.416, allocations: 0.5367 MB / 0.5536 GB, free: 7.281 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005215/0.4212, allocations: 2.801 MB / 0.5563 GB, free: 5.891 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001579/0.4228, allocations: 0.9888 MB / 0.5573 GB, free: 5.293 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001237/0.424, allocations: 467.1 kB / 0.5578 GB, free: 5.008 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001088/0.4242, allocations: 68.5 kB / 0.5578 GB, free: 4.941 MB / 462.1 MB Notification: Performance of SimCode: time 1.332e-06/0.4242, allocations: 0 / 0.5578 GB, free: 4.941 MB / 462.1 MB Notification: Performance of Templates: time 0.01612/0.4403, allocations: 6.05 MB / 0.5637 GB, free: 15.04 MB / 478.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Visualizers/Shapes/Shapes.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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.196435629972257]