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.0008672/0.0008672, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.00682/0.00682, allocations: 163.9 kB / 24.7 MB, free: 9.418 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.8883/0.8883, allocations: 177.1 MB / 205 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] 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.2584/0.2584, allocations: 34.25 MB / 295.7 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.904e-06/1.904e-06, allocations: 3.938 kB / 443.4 MB, free: 1.148 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.882e-05/3.073e-05, allocations: 6.219 kB / 443.4 MB, free: 1.141 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.1894/0.1895, allocations: 7.66 MB / 451.1 MB, free: 40.36 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003755/0.1932, allocations: 2.182 MB / 453.3 MB, free: 39 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007527/0.194, allocations: 45.88 kB / 453.3 MB, free: 38.99 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001575/0.1955, allocations: 1.577 MB / 454.9 MB, free: 38.3 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006635/0.1962, allocations: 0.491 MB / 455.4 MB, free: 38 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002198/0.1964, allocations: 79.91 kB / 455.5 MB, free: 37.96 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005162/0.1969, allocations: 0.9621 MB / 456.4 MB, free: 37.49 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007625/0.1977, allocations: 1.21 MB / 457.6 MB, free: 36.94 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004823/0.1982, allocations: 0.7985 MB / 458.4 MB, free: 36.59 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005151/0.1987, allocations: 0.6173 MB / 459.1 MB, free: 36.39 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 8.759e-05/0.1988, allocations: 116.9 kB / 459.2 MB, free: 36.39 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001886/0.199, allocations: 146 kB / 459.3 MB, free: 36.38 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003683/0.1993, allocations: 0.7766 MB / 460.1 MB, free: 36.04 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002839/0.1996, allocations: 498.7 kB / 460.6 MB, free: 35.8 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001288/0.2009, allocations: 2.255 MB / 462.8 MB, free: 34.97 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.521e-06/0.2009, allocations: 0 / 462.8 MB, free: 34.97 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.2009, allocations: 0 / 462.8 MB, free: 34.97 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.234e-05/0.2009, allocations: 0 / 462.8 MB, free: 34.97 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.001499/0.2024, allocations: 1.892 MB / 464.7 MB, free: 33.75 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.442e-05/0.2025, allocations: 12 kB / 464.7 MB, free: 33.75 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003547/0.2028, allocations: 220.8 kB / 465 MB, free: 33.63 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006667/0.2035, allocations: 0.678 MB / 465.6 MB, free: 33.18 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.327e-05/0.2036, allocations: 116.7 kB / 465.7 MB, free: 33.12 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.736e-05/0.2037, allocations: 149 kB / 465.9 MB, free: 33.07 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002205/0.2059, allocations: 3.369 MB / 469.3 MB, free: 31.3 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.775e-05/0.2059, allocations: 21.33 kB / 469.3 MB, free: 31.29 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.766e-05/0.206, allocations: 78.44 kB / 469.4 MB, free: 31.23 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003743/0.2063, allocations: 0.6225 MB / 470 MB, free: 31.12 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001695/0.208, allocations: 1.855 MB / 471.8 MB, free: 30.5 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00533/0.2134, allocations: 12.36 MB / 484.2 MB, free: 20.11 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.563e-05/0.2134, allocations: 168 kB / 484.4 MB, free: 19.93 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.666e-05/0.2134, allocations: 80.14 kB / 484.4 MB, free: 19.85 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.237e-05/0.2134, allocations: 83.16 kB / 484.5 MB, free: 19.77 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.26e-05/0.2135, allocations: 108.7 kB / 484.6 MB, free: 19.66 MB / 410.7 MB Notification: Performance of pre-optimization done (n=0): time 1.563e-06/0.2135, allocations: 0 / 484.6 MB, free: 19.66 MB / 410.7 MB Notification: Performance of matching and sorting (n=0): time 0.0001533/0.2136, allocations: 139.7 kB / 484.8 MB, free: 19.56 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.208e-05/0.2136, allocations: 134.6 kB / 484.9 MB, free: 19.42 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008853/0.2145, allocations: 1.432 MB / 486.3 MB, free: 18.8 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.749e-06/0.2145, allocations: 29.7 kB / 486.4 MB, free: 18.76 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003681/0.2149, allocations: 1.43 MB / 487.8 MB, free: 17.62 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.342e-05/0.2149, allocations: 47.89 kB / 487.8 MB, free: 17.6 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002341/0.2152, allocations: 422.1 kB / 488.2 MB, free: 17.38 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.252e-05/0.2152, allocations: 333 kB / 488.6 MB, free: 17.06 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002964/0.2155, allocations: 370.4 kB / 488.9 MB, free: 16.96 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007907/0.2163, allocations: 1.934 MB / 490.9 MB, free: 14.68 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001473/0.2178, allocations: 2.508 MB / 493.4 MB, free: 12.04 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.664e-05/0.2178, allocations: 21 kB / 493.4 MB, free: 12.04 MB / 410.7 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.002116/0.2199, allocations: 2.094 MB / 495.5 MB, free: 11.19 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.039e-05/0.22, allocations: 29.34 kB / 495.5 MB, free: 11.19 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.677e-05/0.22, allocations: 57.81 kB / 495.6 MB, free: 11.19 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.706e-05/0.2201, allocations: 72.81 kB / 495.6 MB, free: 11.19 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006994/0.2208, allocations: 495 kB / 496.1 MB, free: 11.12 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.244e-05/0.2208, allocations: 110.1 kB / 496.2 MB, free: 11.1 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008421/0.2217, allocations: 299.6 kB / 496.5 MB, free: 10.91 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.796e-05/0.2218, allocations: 141.2 kB / 496.7 MB, free: 10.89 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.0008447/0.2226, allocations: 0.8635 MB / 497.5 MB, free: 10.4 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.463e-05/0.2227, allocations: 214.7 kB / 497.7 MB, free: 10.23 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.457e-05/0.2228, allocations: 207 kB / 497.9 MB, free: 10.08 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.558e-05/0.2228, allocations: 181.3 kB / 498.1 MB, free: 9.898 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.761e-05/0.2229, allocations: 188.8 kB / 498.3 MB, free: 9.711 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.58e-05/0.2229, allocations: 181.3 kB / 498.5 MB, free: 9.527 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000734/0.2236, allocations: 0.9782 MB / 499.5 MB, free: 8.957 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.103e-05/0.2236, allocations: 108.8 kB / 499.6 MB, free: 8.852 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.034e-05/0.2236, allocations: 109.8 kB / 499.7 MB, free: 8.738 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.647e-05/0.2236, allocations: 178.3 kB / 499.8 MB, free: 8.559 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.728e-05/0.2237, allocations: 177.3 kB / 0.4883 GB, free: 8.379 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.55e-05/0.2237, allocations: 181.2 kB / 0.4885 GB, free: 8.195 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.875e-05/0.2237, allocations: 184.9 kB / 0.4886 GB, free: 8.012 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001162/0.2238, allocations: 411.7 kB / 0.489 GB, free: 7.637 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.971e-05/0.2239, allocations: 190.8 kB / 0.4892 GB, free: 7.469 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.485e-05/0.224, allocations: 188 kB / 0.4894 GB, free: 7.281 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001256/0.2241, allocations: 105.6 kB / 0.4895 GB, free: 7.176 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.1e-05/0.2241, allocations: 185.3 kB / 0.4897 GB, free: 6.988 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.065e-05/0.2241, allocations: 106.2 kB / 0.4898 GB, free: 6.879 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0006297/0.2248, allocations: 0.8056 MB / 0.4906 GB, free: 6.57 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.41e-07/0.2248, allocations: 0 / 0.4906 GB, free: 6.57 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001163/0.2259, allocations: 455 kB / 0.491 GB, free: 6.422 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.0001263/0.226, allocations: 171.9 kB / 0.4912 GB, free: 6.262 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0008672/0.2269, allocations: 0.8736 MB / 0.492 GB, free: 5.957 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.2269, allocations: 0 / 0.492 GB, free: 5.957 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.883e-06/0.2269, allocations: 3.938 kB / 0.492 GB, free: 5.953 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004149/0.2273, allocations: 0.5314 MB / 0.4925 GB, free: 5.453 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003076/0.2304, allocations: 2.962 MB / 0.4954 GB, free: 3.957 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008234/0.2312, allocations: 0.9926 MB / 0.4964 GB, free: 3.656 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001119/0.2313, allocations: 81.72 kB / 0.4965 GB, free: 3.648 MB / 410.7 MB Notification: Performance of SimCode: time 1.573e-06/0.2313, allocations: 0 / 0.4965 GB, free: 3.648 MB / 410.7 MB Notification: Performance of Templates: time 0.02645/0.2578, allocations: 17.25 MB / 0.5133 GB, free: 11.73 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Shapes.pipe 2>&1) [Timeout 480] 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.167884340509772]