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.001077/0.001077, allocations: 88.28 kB / 21.44 MB, free: 3.129 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.004793/0.004793, allocations: 158.5 kB / 24.7 MB, free: 9.441 MB / 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.8847/0.8847, allocations: 177 MB / 204.9 MB, free: 5.742 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.2286/0.2286, allocations: 34.24 MB / 295.6 MB, free: 0.6914 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.443e-06/1.443e-06, allocations: 0 / 443.4 MB, free: 1.098 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.676e-05/1.821e-05, allocations: 6.281 kB / 443.4 MB, free: 1.09 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.1731/0.1732, allocations: 7.668 MB / 451.1 MB, free: 40.2 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002212/0.1754, allocations: 2.186 MB / 453.3 MB, free: 38.84 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003219/0.1757, allocations: 45.38 kB / 453.3 MB, free: 38.83 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001323/0.177, allocations: 1.574 MB / 454.9 MB, free: 38.14 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004586/0.1775, allocations: 0.4922 MB / 455.4 MB, free: 37.84 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001675/0.1776, allocations: 88.62 kB / 455.5 MB, free: 37.79 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004643/0.1781, allocations: 0.9548 MB / 456.4 MB, free: 37.33 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007046/0.1788, allocations: 1.206 MB / 457.6 MB, free: 36.78 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004196/0.1792, allocations: 0.8081 MB / 458.4 MB, free: 36.42 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004713/0.1797, allocations: 0.6147 MB / 459 MB, free: 36.22 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 9.299e-05/0.1798, allocations: 116.5 kB / 459.1 MB, free: 36.22 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001651/0.18, allocations: 144.2 kB / 459.3 MB, free: 36.21 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003079/0.1803, allocations: 0.773 MB / 460.1 MB, free: 35.88 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002508/0.1805, allocations: 0.4904 MB / 460.6 MB, free: 35.64 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001057/0.1816, allocations: 2.255 MB / 462.8 MB, free: 34.8 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.1816, allocations: 0 / 462.8 MB, free: 34.8 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.1816, allocations: 0 / 462.8 MB, free: 34.8 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.276e-05/0.1816, allocations: 3.344 kB / 462.8 MB, free: 34.8 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.001354/0.183, allocations: 1.895 MB / 464.7 MB, free: 33.59 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.403e-05/0.183, allocations: 9.812 kB / 464.7 MB, free: 33.59 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000328/0.1833, allocations: 221.5 kB / 464.9 MB, free: 33.46 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005767/0.1839, allocations: 0.6847 MB / 465.6 MB, free: 33.01 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.429e-05/0.1839, allocations: 111.7 kB / 465.7 MB, free: 32.96 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.349e-05/0.184, allocations: 149.4 kB / 465.9 MB, free: 32.91 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001891/0.1859, allocations: 3.374 MB / 469.2 MB, free: 31.12 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.976e-05/0.1859, allocations: 14.28 kB / 469.3 MB, free: 31.12 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.579e-05/0.186, allocations: 75.81 kB / 469.3 MB, free: 31.06 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003432/0.1864, allocations: 0.6152 MB / 469.9 MB, free: 30.95 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001507/0.1879, allocations: 1.868 MB / 471.8 MB, free: 30.33 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004149/0.192, allocations: 12.36 MB / 484.2 MB, free: 19.94 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.913e-05/0.1921, allocations: 169.1 kB / 484.3 MB, free: 19.77 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.228e-05/0.1921, allocations: 83.17 kB / 484.4 MB, free: 19.68 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.468e-06/0.1921, allocations: 75.28 kB / 484.5 MB, free: 19.61 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.608e-05/0.1921, allocations: 105.8 kB / 484.6 MB, free: 19.5 MB / 410.7 MB Notification: Performance of pre-optimization done (n=0): time 1.933e-06/0.1921, allocations: 0 / 484.6 MB, free: 19.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=0): time 0.0001013/0.1922, allocations: 144.9 kB / 484.7 MB, free: 19.4 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.701e-05/0.1922, allocations: 134.6 kB / 484.9 MB, free: 19.25 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008289/0.1931, allocations: 1.438 MB / 486.3 MB, free: 18.63 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.42e-06/0.1931, allocations: 25.7 kB / 486.3 MB, free: 18.6 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000353/0.1934, allocations: 1.43 MB / 487.8 MB, free: 17.45 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.247e-05/0.1934, allocations: 47.34 kB / 487.8 MB, free: 17.43 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002078/0.1936, allocations: 421.8 kB / 488.2 MB, free: 17.21 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.369e-05/0.1937, allocations: 334.1 kB / 488.6 MB, free: 16.89 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002941/0.194, allocations: 370.5 kB / 488.9 MB, free: 16.8 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007353/0.1947, allocations: 1.927 MB / 490.8 MB, free: 14.52 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001263/0.196, allocations: 2.51 MB / 493.4 MB, free: 11.88 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.429e-05/0.196, allocations: 19.88 kB / 493.4 MB, free: 11.87 MB / 410.7 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.001889/0.1979, allocations: 2.099 MB / 495.5 MB, free: 11.02 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.739e-05/0.1979, allocations: 29.94 kB / 495.5 MB, free: 11.02 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.633e-05/0.198, allocations: 57.25 kB / 495.6 MB, free: 11.02 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.578e-05/0.198, allocations: 75.22 kB / 495.6 MB, free: 11.02 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000721/0.1988, allocations: 491.2 kB / 496.1 MB, free: 10.96 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.658e-05/0.1988, allocations: 109.1 kB / 496.2 MB, free: 10.93 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007061/0.1995, allocations: 296 kB / 496.5 MB, free: 10.75 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001028/0.1996, allocations: 138.1 kB / 496.6 MB, free: 10.73 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.0005845/0.2002, allocations: 0.8763 MB / 497.5 MB, free: 10.23 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.117e-05/0.2003, allocations: 211 kB / 497.7 MB, free: 10.06 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.816e-05/0.2004, allocations: 213.2 kB / 497.9 MB, free: 9.914 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.411e-05/0.2004, allocations: 181.5 kB / 498.1 MB, free: 9.73 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.63e-05/0.2004, allocations: 181.4 kB / 498.3 MB, free: 9.547 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.375e-05/0.2004, allocations: 185.5 kB / 498.5 MB, free: 9.359 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00057/0.201, allocations: 0.9771 MB / 499.4 MB, free: 8.793 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.847e-06/0.201, allocations: 106.4 kB / 499.5 MB, free: 8.684 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.676e-06/0.201, allocations: 106.5 kB / 499.6 MB, free: 8.574 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.371e-05/0.201, allocations: 180.8 kB / 499.8 MB, free: 8.395 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.675e-05/0.2011, allocations: 181.5 kB / 0.4883 GB, free: 8.211 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-05/0.2011, allocations: 181.5 kB / 0.4885 GB, free: 8.027 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.329e-05/0.2011, allocations: 182.4 kB / 0.4886 GB, free: 7.844 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.853e-05/0.2012, allocations: 409.5 kB / 0.489 GB, free: 7.473 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.336e-05/0.2013, allocations: 199.4 kB / 0.4892 GB, free: 7.297 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.556e-05/0.2013, allocations: 182 kB / 0.4894 GB, free: 7.117 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001164/0.2014, allocations: 106 kB / 0.4895 GB, free: 7.008 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.973e-05/0.2015, allocations: 189.6 kB / 0.4897 GB, free: 6.82 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.927e-06/0.2015, allocations: 110 kB / 0.4898 GB, free: 6.707 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0006125/0.2021, allocations: 0.7959 MB / 0.4905 GB, free: 6.406 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2021, allocations: 0 / 0.4905 GB, free: 6.406 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009619/0.203, allocations: 460.1 kB / 0.491 GB, free: 6.254 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.0001091/0.2031, allocations: 169.7 kB / 0.4912 GB, free: 6.094 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0007265/0.2039, allocations: 0.8661 MB / 0.492 GB, free: 5.793 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.2039, allocations: 5.438 kB / 0.492 GB, free: 5.789 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.452e-06/0.2039, allocations: 0 / 0.492 GB, free: 5.789 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003857/0.2043, allocations: 0.53 MB / 0.4925 GB, free: 5.289 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00261/0.2069, allocations: 2.96 MB / 0.4954 GB, free: 3.801 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007994/0.2077, allocations: 0.9926 MB / 0.4964 GB, free: 3.5 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.256e-05/0.2078, allocations: 82.09 kB / 0.4965 GB, free: 3.492 MB / 410.7 MB Notification: Performance of SimCode: time 9.52e-07/0.2078, allocations: 0 / 0.4965 GB, free: 3.492 MB / 410.7 MB Notification: Performance of Templates: time 0.02325/0.231, allocations: 17.25 MB / 0.5133 GB, free: 11.65 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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.488435270264745]