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.0009075/0.0009075, allocations: 87.62 kB / 21.43 MB, free: 3.133 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.004954/0.004954, allocations: 161.2 kB / 24.7 MB, free: 9.43 MB / 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 0.8962/0.8962, allocations: 177.1 MB / 205 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] 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.2641/0.2641, allocations: 32.79 MB / 294.2 MB, free: 1.191 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.463e-06/1.463e-06, allocations: 0 / 440.8 MB, free: 3.762 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.769e-05/2.916e-05, allocations: 8.609 kB / 440.8 MB, free: 3.754 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.1845/0.1845, allocations: 7.669 MB / 448.5 MB, free: 42.49 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003417/0.1879, allocations: 2.185 MB / 450.7 MB, free: 41.5 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000574/0.1885, allocations: 47.06 kB / 450.7 MB, free: 41.49 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001487/0.19, allocations: 1.577 MB / 452.3 MB, free: 40.8 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005983/0.1906, allocations: 0.4945 MB / 452.8 MB, free: 40.5 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002063/0.1908, allocations: 76.39 kB / 452.9 MB, free: 40.46 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000527/0.1913, allocations: 0.9516 MB / 453.8 MB, free: 40 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007434/0.192, allocations: 1.212 MB / 455 MB, free: 39.45 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004714/0.1925, allocations: 0.8113 MB / 455.9 MB, free: 39.09 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004815/0.193, allocations: 0.61 MB / 456.5 MB, free: 38.89 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 8.407e-05/0.1931, allocations: 118.5 kB / 456.6 MB, free: 38.89 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001823/0.1933, allocations: 141.8 kB / 456.7 MB, free: 38.88 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002974/0.1936, allocations: 0.7732 MB / 457.5 MB, free: 38.55 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002316/0.1938, allocations: 499 kB / 458 MB, free: 38.31 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001034/0.1948, allocations: 2.255 MB / 460.2 MB, free: 37.48 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.1948, allocations: 4 kB / 460.2 MB, free: 37.48 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.392e-06/0.1948, allocations: 0 / 460.2 MB, free: 37.48 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.995e-05/0.1948, allocations: 0 / 460.2 MB, free: 37.48 MB / 410.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.001359/0.1962, allocations: 1.899 MB / 462.1 MB, free: 36.25 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.1962, allocations: 9.781 kB / 462.1 MB, free: 36.25 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003741/0.1966, allocations: 220.3 kB / 462.4 MB, free: 36.13 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007425/0.1974, allocations: 0.6735 MB / 463 MB, free: 35.68 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.47e-05/0.1974, allocations: 116.8 kB / 463.2 MB, free: 35.63 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001135/0.1975, allocations: 152 kB / 463.3 MB, free: 35.58 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002219/0.1998, allocations: 3.373 MB / 466.7 MB, free: 33.79 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.969e-05/0.1998, allocations: 14.56 kB / 466.7 MB, free: 33.79 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.976e-05/0.1999, allocations: 82.44 kB / 466.8 MB, free: 33.73 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003706/0.2002, allocations: 0.6136 MB / 467.4 MB, free: 33.62 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001598/0.2018, allocations: 1.858 MB / 469.2 MB, free: 33 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005215/0.207, allocations: 12.37 MB / 481.6 MB, free: 22.61 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.57e-05/0.2071, allocations: 172.2 kB / 481.8 MB, free: 22.43 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.433e-05/0.2071, allocations: 80.14 kB / 481.9 MB, free: 22.35 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.236e-05/0.2071, allocations: 79.28 kB / 481.9 MB, free: 22.27 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.254e-05/0.2071, allocations: 108.8 kB / 482 MB, free: 22.16 MB / 410.7 MB Notification: Performance of pre-optimization done (n=0): time 2.094e-06/0.2072, allocations: 0 / 482 MB, free: 22.16 MB / 410.7 MB Notification: Performance of matching and sorting (n=0): time 0.0001573/0.2073, allocations: 137.8 kB / 482.2 MB, free: 22.06 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.427e-05/0.2073, allocations: 133.6 kB / 482.3 MB, free: 21.92 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009203/0.2083, allocations: 1.437 MB / 483.7 MB, free: 21.3 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.703e-06/0.2083, allocations: 28.83 kB / 483.8 MB, free: 21.27 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004327/0.2087, allocations: 1.428 MB / 485.2 MB, free: 20.12 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.435e-05/0.2087, allocations: 49.17 kB / 485.2 MB, free: 20.1 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002509/0.209, allocations: 425.6 kB / 485.7 MB, free: 19.88 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.597e-05/0.209, allocations: 334.6 kB / 486 MB, free: 19.56 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003118/0.2093, allocations: 373.6 kB / 486.3 MB, free: 19.46 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006999/0.21, allocations: 1.926 MB / 488.3 MB, free: 17.18 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001157/0.2112, allocations: 2.512 MB / 490.8 MB, free: 14.54 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.607e-05/0.2112, allocations: 15.16 kB / 490.8 MB, free: 14.54 MB / 410.7 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.001965/0.2132, allocations: 2.097 MB / 492.9 MB, free: 13.69 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.173e-05/0.2132, allocations: 30.09 kB / 492.9 MB, free: 13.69 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.976e-05/0.2133, allocations: 55.53 kB / 493 MB, free: 13.69 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.862e-05/0.2133, allocations: 74.19 kB / 493.1 MB, free: 13.69 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000718/0.2141, allocations: 492.7 kB / 493.5 MB, free: 13.62 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.23e-05/0.2141, allocations: 110.7 kB / 493.6 MB, free: 13.6 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009423/0.2151, allocations: 300.6 kB / 493.9 MB, free: 13.41 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001126/0.2152, allocations: 138.2 kB / 494.1 MB, free: 13.39 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.0009071/0.2161, allocations: 0.8717 MB / 494.9 MB, free: 12.89 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.874e-05/0.2162, allocations: 210 kB / 495.1 MB, free: 12.73 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.507e-05/0.2163, allocations: 209.5 kB / 495.4 MB, free: 12.58 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.672e-05/0.2163, allocations: 178.7 kB / 495.5 MB, free: 12.4 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.656e-05/0.2163, allocations: 189.4 kB / 495.7 MB, free: 12.21 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.471e-05/0.2163, allocations: 182.6 kB / 495.9 MB, free: 12.03 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000763/0.2171, allocations: 0.9755 MB / 496.9 MB, free: 11.46 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.997e-06/0.2171, allocations: 110.1 kB / 497 MB, free: 11.35 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.728e-06/0.2171, allocations: 102.4 kB / 497.1 MB, free: 11.25 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.003e-05/0.2171, allocations: 188.9 kB / 497.3 MB, free: 11.06 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.669e-05/0.2171, allocations: 177.5 kB / 497.4 MB, free: 10.88 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.424e-05/0.2172, allocations: 181.6 kB / 497.6 MB, free: 10.7 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-05/0.2172, allocations: 181.6 kB / 497.8 MB, free: 10.51 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001107/0.2173, allocations: 418.6 kB / 498.2 MB, free: 10.13 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.43e-05/0.2174, allocations: 191.4 kB / 498.4 MB, free: 9.965 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.507e-05/0.2174, allocations: 179 kB / 498.6 MB, free: 9.785 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000128/0.2176, allocations: 111.5 kB / 498.7 MB, free: 9.672 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.888e-05/0.2176, allocations: 184.9 kB / 498.8 MB, free: 9.484 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.899e-06/0.2176, allocations: 112.7 kB / 499 MB, free: 9.375 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0006393/0.2182, allocations: 0.7945 MB / 499.8 MB, free: 9.074 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.2182, allocations: 0 / 499.8 MB, free: 9.074 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00125/0.2195, allocations: 454.6 kB / 0.4885 GB, free: 8.926 MB / 410.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.0001366/0.2196, allocations: 171.7 kB / 0.4886 GB, free: 8.766 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0008793/0.2205, allocations: 0.8659 MB / 0.4895 GB, free: 8.465 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.2205, allocations: 5.281 kB / 0.4895 GB, free: 8.461 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.174e-06/0.2205, allocations: 0 / 0.4895 GB, free: 8.461 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004255/0.2209, allocations: 0.5304 MB / 0.49 GB, free: 7.961 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003118/0.224, allocations: 2.959 MB / 0.4929 GB, free: 6.473 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007817/0.2248, allocations: 0.9946 MB / 0.4939 GB, free: 6.172 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001156/0.2249, allocations: 85 kB / 0.4939 GB, free: 6.16 MB / 410.7 MB Notification: Performance of SimCode: time 1.333e-06/0.2249, allocations: 0 / 0.4939 GB, free: 6.16 MB / 410.7 MB Notification: Performance of Templates: time 0.02573/0.2507, allocations: 17.25 MB / 0.5108 GB, free: 15.64 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=480 -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/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.14648849889636]