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.001834/0.001834, allocations: 91.61 kB / 20.96 MB, free: 3.465 MB / 18.57 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.002316/0.002316, allocations: 165.3 kB / 24.28 MB, free: 156 kB / 18.57 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.565/1.565, allocations: 177.1 MB / 204.6 MB, free: 5.609 MB / 186.7 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.347/0.347, allocations: 32.8 MB / 293.9 MB, free: 1.215 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.934e-06/1.934e-06, allocations: 0 / 375.2 MB, free: 5.02 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.236e-05/3.43e-05, allocations: 6.25 kB / 375.3 MB, free: 5.012 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.01218/0.01222, allocations: 8.356 MB / 383.6 MB, free: 12.61 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.005875/0.01809, allocations: 2.25 MB / 385.9 MB, free: 10.36 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009164/0.01901, allocations: 43.88 kB / 385.9 MB, free: 10.31 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003647/0.02266, allocations: 1.647 MB / 387.5 MB, free: 8.66 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001838/0.0245, allocations: 0.4968 MB / 388 MB, free: 8.16 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003477/0.02484, allocations: 75.78 kB / 388.1 MB, free: 8.086 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001573/0.02642, allocations: 0.96 MB / 389.1 MB, free: 7.121 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001647/0.02806, allocations: 1.229 MB / 390.3 MB, free: 5.867 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001215/0.02928, allocations: 0.8028 MB / 391.1 MB, free: 5.062 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001107/0.03039, allocations: 0.6466 MB / 391.8 MB, free: 4.414 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002076/0.03059, allocations: 116 kB / 391.9 MB, free: 4.301 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003586/0.03095, allocations: 147.9 kB / 392 MB, free: 4.156 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009444/0.0319, allocations: 0.7752 MB / 392.8 MB, free: 3.379 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006585/0.03255, allocations: 494.4 kB / 393.3 MB, free: 2.895 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003075/0.03563, allocations: 2.265 MB / 395.5 MB, free: 0.6211 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.03563, allocations: 0 / 395.5 MB, free: 0.6211 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.03564, allocations: 0 / 395.5 MB, free: 0.6211 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.117e-05/0.0357, allocations: 0 / 395.5 MB, free: 0.6211 MB / 362.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.003615/0.03931, allocations: 2.235 MB / 397.8 MB, free: 14.34 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.197e-05/0.03935, allocations: 12.03 kB / 397.8 MB, free: 14.33 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007238/0.04008, allocations: 347.4 kB / 398.1 MB, free: 13.99 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001359/0.04144, allocations: 0.6527 MB / 398.8 MB, free: 13.31 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001185/0.04155, allocations: 119.4 kB / 398.9 MB, free: 13.19 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002076/0.04176, allocations: 148.3 kB / 399 MB, free: 13.05 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003556/0.04532, allocations: 2.366 MB / 401.4 MB, free: 10.23 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.504e-05/0.04537, allocations: 23.75 kB / 401.4 MB, free: 10.21 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001402/0.04551, allocations: 71.94 kB / 401.5 MB, free: 10.14 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001122/0.04664, allocations: 0.6189 MB / 402.1 MB, free: 9.523 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002037/0.04867, allocations: 0.8041 MB / 402.9 MB, free: 8.719 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01833/0.06701, allocations: 17.5 MB / 420.4 MB, free: 6.672 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001953/0.0672, allocations: 273.4 kB / 420.7 MB, free: 6.391 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.619e-05/0.06728, allocations: 126.9 kB / 420.8 MB, free: 6.262 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.596e-05/0.06734, allocations: 119.2 kB / 420.9 MB, free: 6.145 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.086e-05/0.06743, allocations: 152.6 kB / 421.1 MB, free: 5.984 MB / 394.7 MB Notification: Performance of pre-optimization done (n=0): time 1.433e-06/0.06744, allocations: 0 / 421.1 MB, free: 5.984 MB / 394.7 MB Notification: Performance of matching and sorting (n=0): time 0.0002525/0.06769, allocations: 140.9 kB / 421.2 MB, free: 5.84 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001079/0.0678, allocations: 174.6 kB / 421.4 MB, free: 5.656 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002194/0.06999, allocations: 1.631 MB / 423 MB, free: 4.016 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.955e-05/0.07001, allocations: 25.7 kB / 423 MB, free: 3.984 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001735/0.07174, allocations: 1.563 MB / 424.6 MB, free: 2.402 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.338e-05/0.0718, allocations: 43.95 kB / 424.6 MB, free: 2.359 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006541/0.07245, allocations: 0.493 MB / 425.1 MB, free: 1.855 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000311/0.07276, allocations: 0.5199 MB / 425.7 MB, free: 1.328 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003555/0.07312, allocations: 168 kB / 425.8 MB, free: 1.16 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002689/0.07581, allocations: 2.518 MB / 428.3 MB, free: 13.53 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003863/0.07967, allocations: 2.96 MB / 431.3 MB, free: 9.469 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.215e-05/0.0797, allocations: 16 kB / 431.3 MB, free: 9.453 MB / 410.7 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.00321/0.08291, allocations: 1.818 MB / 433.1 MB, free: 7.629 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.927e-05/0.08296, allocations: 32 kB / 433.2 MB, free: 7.598 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.249e-05/0.08303, allocations: 56 kB / 433.2 MB, free: 7.543 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.273e-05/0.08313, allocations: 80.67 kB / 433.3 MB, free: 7.465 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00124/0.08437, allocations: 487.1 kB / 433.8 MB, free: 6.988 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001128/0.08448, allocations: 119.5 kB / 433.9 MB, free: 6.871 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001388/0.08587, allocations: 301.8 kB / 434.2 MB, free: 6.574 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001798/0.08605, allocations: 136 kB / 434.3 MB, free: 6.441 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.0007833/0.08683, allocations: 0.4946 MB / 434.8 MB, free: 5.934 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002344/0.08706, allocations: 252.2 kB / 435.1 MB, free: 5.68 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000203/0.08727, allocations: 242.1 kB / 435.3 MB, free: 5.434 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001507/0.08742, allocations: 276 kB / 435.6 MB, free: 5.156 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001463/0.08756, allocations: 272 kB / 435.8 MB, free: 4.883 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001392/0.0877, allocations: 264.1 kB / 436.1 MB, free: 4.617 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002376/0.09008, allocations: 1.594 MB / 437.7 MB, free: 2.977 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.717e-05/0.09016, allocations: 152.8 kB / 437.8 MB, free: 2.82 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.644e-05/0.09023, allocations: 148.8 kB / 438 MB, free: 2.668 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001443/0.09038, allocations: 276 kB / 438.2 MB, free: 2.391 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001505/0.09053, allocations: 268.1 kB / 438.5 MB, free: 2.121 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001395/0.09067, allocations: 264.1 kB / 438.8 MB, free: 1.855 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001431/0.09081, allocations: 272 kB / 439 MB, free: 1.582 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003968/0.09121, allocations: 0.5489 MB / 439.6 MB, free: 1.008 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002675/0.09147, allocations: 228.2 kB / 439.8 MB, free: 0.7773 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002187/0.09169, allocations: 268.1 kB / 440.1 MB, free: 0.5078 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002971/0.09199, allocations: 156.8 kB / 440.2 MB, free: 356 kB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001479/0.09214, allocations: 268 kB / 440.5 MB, free: 80 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.745e-05/0.09224, allocations: 152.8 kB / 440.6 MB, free: 15.92 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001029/0.09326, allocations: 0.707 MB / 441.3 MB, free: 15.21 MB / 426.7 MB Notification: Performance of sort global known variables: time 8e-08/0.09326, allocations: 0 / 441.3 MB, free: 15.21 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001727/0.09499, allocations: 454.4 kB / 441.8 MB, free: 14.77 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.0002239/0.09522, allocations: 214.4 kB / 442 MB, free: 14.55 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001455/0.09667, allocations: 0.8225 MB / 442.8 MB, free: 13.73 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.09667, allocations: 0 / 442.8 MB, free: 13.73 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 2.946e-06/0.09668, allocations: 0 / 442.8 MB, free: 13.73 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001181/0.09786, allocations: 0.7901 MB / 443.6 MB, free: 12.93 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005147/0.103, allocations: 2.61 MB / 446.2 MB, free: 10.27 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001379/0.1044, allocations: 0.9174 MB / 447.1 MB, free: 9.309 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001052/0.1054, allocations: 425.7 kB / 447.5 MB, free: 8.891 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001132/0.1055, allocations: 64.5 kB / 447.6 MB, free: 8.824 MB / 426.7 MB Notification: Performance of SimCode: time 1.713e-06/0.1055, allocations: 4 kB / 447.6 MB, free: 8.82 MB / 426.7 MB Notification: Performance of Templates: time 0.01597/0.1215, allocations: 6.039 MB / 453.7 MB, free: 2.914 MB / 426.7 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Visualizers/Shapes/Shapes.csv","/var/lib/jenkins/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.29165893397294]