Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.002562/0.002562, 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.002052/0.002052, allocations: 165.3 kB / 24.27 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.556/1.556, allocations: 177.1 MB / 204.6 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.3494/0.3494, allocations: 34.26 MB / 295.3 MB, free: 0.6797 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.0_ModelicaTest.MultiBody.Visualizers.Shapes") translateModel(ModelicaTest.MultiBody.Visualizers.Shapes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Shapes") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 377.3 MB, free: 3.008 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.846e-05/3.012e-05, allocations: 6.312 kB / 377.3 MB, free: 3 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.01242/0.01245, allocations: 8.353 MB / 385.6 MB, free: 10.6 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.005253/0.0177, allocations: 2.254 MB / 387.9 MB, free: 8.34 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008125/0.01852, allocations: 39.94 kB / 387.9 MB, free: 8.301 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003611/0.02213, allocations: 1.647 MB / 389.6 MB, free: 6.648 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001212/0.02334, allocations: 0.5046 MB / 390.1 MB, free: 6.141 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002813/0.02362, allocations: 67.78 kB / 390.1 MB, free: 6.074 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001237/0.02486, allocations: 0.96 MB / 391.1 MB, free: 5.109 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001896/0.02675, allocations: 1.229 MB / 392.3 MB, free: 3.855 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001169/0.02792, allocations: 0.8028 MB / 393.1 MB, free: 3.051 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001098/0.02902, allocations: 0.6465 MB / 393.8 MB, free: 2.402 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002359/0.02926, allocations: 120 kB / 393.9 MB, free: 2.285 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003633/0.02962, allocations: 143.9 kB / 394 MB, free: 2.145 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000834/0.03045, allocations: 0.7713 MB / 394.8 MB, free: 1.371 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006602/0.03111, allocations: 0.4906 MB / 395.3 MB, free: 0.8789 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002755/0.03387, allocations: 2.261 MB / 397.6 MB, free: 14.61 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.03387, allocations: 0 / 397.6 MB, free: 14.61 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.03387, allocations: 0 / 397.6 MB, free: 14.61 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.37e-05/0.03392, allocations: 4 kB / 397.6 MB, free: 14.61 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.003646/0.03756, allocations: 2.231 MB / 399.8 MB, free: 12.33 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.105e-05/0.03761, allocations: 8.031 kB / 399.8 MB, free: 12.32 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006982/0.0383, allocations: 347.4 kB / 400.1 MB, free: 11.98 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001344/0.03965, allocations: 0.6566 MB / 400.8 MB, free: 11.3 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000109/0.03976, allocations: 115.4 kB / 400.9 MB, free: 11.18 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001987/0.03996, allocations: 148.3 kB / 401.1 MB, free: 11.04 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003559/0.04351, allocations: 2.362 MB / 403.4 MB, free: 8.23 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.916e-05/0.04356, allocations: 23.81 kB / 403.4 MB, free: 8.207 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001437/0.04371, allocations: 71.94 kB / 403.5 MB, free: 8.137 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000858/0.04456, allocations: 0.6228 MB / 404.1 MB, free: 7.516 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00191/0.04647, allocations: 0.8041 MB / 404.9 MB, free: 6.707 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01802/0.0645, allocations: 17.5 MB / 422.4 MB, free: 4.656 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001901/0.06469, allocations: 265.4 kB / 422.7 MB, free: 4.383 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.313e-05/0.06476, allocations: 130.8 kB / 422.8 MB, free: 4.25 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.861e-05/0.06483, allocations: 119.2 kB / 422.9 MB, free: 4.133 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.253e-05/0.06492, allocations: 156.6 kB / 423.1 MB, free: 3.969 MB / 394.7 MB Notification: Performance of pre-optimization done (n=0): time 1.673e-06/0.06493, allocations: 8 kB / 423.1 MB, free: 3.961 MB / 394.7 MB Notification: Performance of matching and sorting (n=0): time 0.00026/0.06518, allocations: 132.9 kB / 423.2 MB, free: 3.824 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000109/0.06529, allocations: 170.6 kB / 423.4 MB, free: 3.645 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002139/0.06743, allocations: 1.631 MB / 425 MB, free: 2.004 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.694e-05/0.06745, allocations: 25.7 kB / 425.1 MB, free: 1.973 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001343/0.06879, allocations: 1.563 MB / 426.6 MB, free: 400 kB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.876e-05/0.06884, allocations: 43.95 kB / 426.7 MB, free: 356 kB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006528/0.06949, allocations: 0.497 MB / 427.2 MB, free: 15.84 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0005165/0.07001, allocations: 0.516 MB / 427.7 MB, free: 15.31 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003378/0.07035, allocations: 168 kB / 427.8 MB, free: 15.14 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002624/0.07297, allocations: 2.526 MB / 430.4 MB, free: 11.5 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003585/0.07656, allocations: 2.956 MB / 433.3 MB, free: 7.449 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-05/0.0766, allocations: 16 kB / 433.3 MB, free: 7.434 MB / 410.7 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.003341/0.07994, allocations: 1.823 MB / 435.2 MB, free: 5.605 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.086e-05/0.07999, allocations: 28 kB / 435.2 MB, free: 5.578 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.594e-05/0.08006, allocations: 60.03 kB / 435.2 MB, free: 5.52 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.887e-05/0.08016, allocations: 83.94 kB / 435.3 MB, free: 5.438 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001232/0.08139, allocations: 483.1 kB / 435.8 MB, free: 4.965 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001038/0.08149, allocations: 107.6 kB / 435.9 MB, free: 4.859 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00135/0.08284, allocations: 309.8 kB / 436.2 MB, free: 4.555 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001682/0.08301, allocations: 140 kB / 436.3 MB, free: 4.418 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.0007668/0.08378, allocations: 0.4984 MB / 436.8 MB, free: 3.906 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000233/0.08401, allocations: 256.2 kB / 437.1 MB, free: 3.648 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001931/0.0842, allocations: 226.2 kB / 437.3 MB, free: 3.418 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001409/0.08434, allocations: 276 kB / 437.6 MB, free: 3.141 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001431/0.08449, allocations: 276.1 kB / 437.8 MB, free: 2.863 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001357/0.08462, allocations: 268 kB / 438.1 MB, free: 2.594 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002156/0.08678, allocations: 1.594 MB / 439.7 MB, free: 0.9531 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002143/0.08699, allocations: 148.9 kB / 439.9 MB, free: 0.8008 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.832e-05/0.08707, allocations: 148.8 kB / 440 MB, free: 0.6484 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001429/0.08722, allocations: 268.1 kB / 440.3 MB, free: 388 kB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001415/0.08736, allocations: 272 kB / 440.5 MB, free: 108 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001526/0.08751, allocations: 264.1 kB / 440.8 MB, free: 15.84 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001461/0.08766, allocations: 284 kB / 441.1 MB, free: 15.55 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004405/0.0881, allocations: 0.5333 MB / 441.6 MB, free: 15 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003084/0.0884, allocations: 240.1 kB / 441.8 MB, free: 14.75 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000213/0.08862, allocations: 268.1 kB / 442.1 MB, free: 14.48 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000322/0.08894, allocations: 148.8 kB / 442.2 MB, free: 14.33 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000141/0.08908, allocations: 268 kB / 442.5 MB, free: 14.06 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.27e-05/0.08916, allocations: 152.9 kB / 442.6 MB, free: 13.91 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001058/0.09022, allocations: 0.7031 MB / 443.3 MB, free: 13.2 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.09022, allocations: 0 / 443.3 MB, free: 13.2 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001776/0.092, allocations: 466.3 kB / 443.8 MB, free: 12.74 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.0002185/0.09222, allocations: 222.4 kB / 444 MB, free: 12.52 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001417/0.09363, allocations: 0.8118 MB / 444.8 MB, free: 11.71 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.09364, allocations: 0 / 444.8 MB, free: 11.71 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 2.114e-06/0.09364, allocations: 0 / 444.8 MB, free: 11.71 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000901/0.09454, allocations: 0.7965 MB / 445.6 MB, free: 10.91 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004793/0.09933, allocations: 2.606 MB / 448.2 MB, free: 8.254 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001264/0.1006, allocations: 0.929 MB / 449.2 MB, free: 7.281 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001066/0.1017, allocations: 421.7 kB / 449.6 MB, free: 6.867 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001351/0.1018, allocations: 64.5 kB / 449.6 MB, free: 6.801 MB / 426.7 MB Notification: Performance of SimCode: time 2.184e-06/0.1018, allocations: 4 kB / 449.6 MB, free: 6.797 MB / 426.7 MB Notification: Performance of Templates: time 0.01617/0.118, allocations: 6.028 MB / 455.7 MB, free: 0.9023 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Shapes.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Shapes.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Shapes.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Shapes.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Shapes.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Shapes -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Shapes.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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.195438661030494]