Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.WorldGroundVisualization.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.001329/0.001329, 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.008773/0.008773, allocations: 160.9 kB / 24.7 MB, free: 9.426 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.8665/0.8665, allocations: 177.2 MB / 205 MB, free: 5.719 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.2296/0.2296, allocations: 34.26 MB / 295.7 MB, free: 0.6914 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.WorldGroundVisualization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|visGroundAxis.n.1.|visGroundAxis.n.2.|visGroundAxis.n.3.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.WorldGroundVisualization") translateModel(ModelicaTest.MultiBody.WorldGroundVisualization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|visGroundAxis.n.1.|visGroundAxis.n.2.|visGroundAxis.n.3.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.WorldGroundVisualization") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.285e-06/2.285e-06, allocations: 0 / 443.4 MB, free: 1.188 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.939e-05/4.168e-05, allocations: 2.281 kB / 443.4 MB, free: 1.184 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.WorldGroundVisualization): time 0.182/0.1821, allocations: 4.85 MB / 448.3 MB, free: 42.02 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001752/0.1838, allocations: 1.705 MB / 450 MB, free: 41.07 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002028/0.184, allocations: 24.41 kB / 450 MB, free: 41.07 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007564/0.1848, allocations: 0.5437 MB / 450.5 MB, free: 40.84 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008902/0.1857, allocations: 0.9525 MB / 451.5 MB, free: 40.44 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 6.697e-05/0.1857, allocations: 14.03 kB / 451.5 MB, free: 40.43 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001186/0.1869, allocations: 2.601 MB / 454.1 MB, free: 39.63 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000598/0.1875, allocations: 1.039 MB / 455.1 MB, free: 39.26 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005195/0.188, allocations: 0.8649 MB / 456 MB, free: 38.93 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006266/0.1887, allocations: 1.016 MB / 457 MB, free: 38.71 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 8.402e-05/0.1887, allocations: 96.12 kB / 457.1 MB, free: 38.71 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002912/0.189, allocations: 266.5 kB / 457.4 MB, free: 38.66 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002895/0.1893, allocations: 0.7348 MB / 458.1 MB, free: 38.36 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002216/0.1896, allocations: 435.7 kB / 458.5 MB, free: 38.15 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001248/0.1908, allocations: 2.708 MB / 461.2 MB, free: 37.18 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.1908, allocations: 0 / 461.2 MB, free: 37.18 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.223e-06/0.1908, allocations: 0 / 461.2 MB, free: 37.18 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.81e-05/0.1908, allocations: 0 / 461.2 MB, free: 37.18 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: 774 * Number of variables: 774 Notification: Performance of Generate backend data structure: time 0.001348/0.1922, allocations: 2.001 MB / 463.2 MB, free: 35.87 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.412e-05/0.1922, allocations: 9.469 kB / 463.3 MB, free: 35.87 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002268/0.1945, allocations: 1.531 MB / 464.8 MB, free: 35.67 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007154/0.1952, allocations: 0.8101 MB / 465.6 MB, free: 35.18 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.498e-05/0.1952, allocations: 81.59 kB / 465.7 MB, free: 35.14 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001225/0.1953, allocations: 109.6 kB / 465.8 MB, free: 35.1 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002878/0.1982, allocations: 4.985 MB / 470.8 MB, free: 32.51 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.574e-05/0.1983, allocations: 18.34 kB / 470.8 MB, free: 32.5 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000101/0.1984, allocations: 65.69 kB / 470.9 MB, free: 32.46 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008604/0.1992, allocations: 1.182 MB / 472 MB, free: 32.25 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003347/0.2026, allocations: 4.254 MB / 476.3 MB, free: 30.92 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008803/0.2114, allocations: 19.38 MB / 495.7 MB, free: 15.25 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008178/0.2122, allocations: 0.7188 MB / 496.4 MB, free: 14.96 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003261/0.2125, allocations: 353.3 kB / 496.7 MB, free: 14.82 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.054e-05/0.2125, allocations: 4.875 kB / 496.7 MB, free: 14.82 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.667e-05/0.2125, allocations: 38.41 kB / 496.8 MB, free: 14.78 MB / 410.7 MB Notification: Performance of pre-optimization done (n=69): time 2.575e-06/0.2125, allocations: 0 / 496.8 MB, free: 14.78 MB / 410.7 MB Notification: Performance of matching and sorting (n=69): time 0.001109/0.2137, allocations: 1.149 MB / 497.9 MB, free: 14.35 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.523e-05/0.2137, allocations: 142.4 kB / 498.1 MB, free: 14.19 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001829/0.2155, allocations: 2.314 MB / 0.4886 GB, free: 13.18 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.212e-05/0.2155, allocations: 32.7 kB / 0.4887 GB, free: 13.14 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006042/0.2161, allocations: 1.866 MB / 0.4905 GB, free: 11.62 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001486/0.2163, allocations: 310 kB / 0.4908 GB, free: 11.4 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005972/0.2169, allocations: 0.7816 MB / 0.4916 GB, free: 11 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.34e-05/0.2169, allocations: 331.4 kB / 0.4919 GB, free: 10.69 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001041/0.218, allocations: 1.032 MB / 0.4929 GB, free: 10.39 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001802/0.2198, allocations: 3.694 MB / 0.4965 GB, free: 6.461 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003011/0.2228, allocations: 5.163 MB / 0.5015 GB, free: 1.699 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.701e-05/0.2228, allocations: 28.12 kB / 0.5016 GB, free: 1.699 MB / 410.7 MB Notification: Performance of matching and sorting (n=508) (initialization): time 0.004271/0.2271, allocations: 4.432 MB / 0.5059 GB, free: 15.98 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.166e-05/0.2271, allocations: 47.44 kB / 0.5059 GB, free: 15.98 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.511e-05/0.2272, allocations: 96.27 kB / 0.506 GB, free: 15.98 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.409e-05/0.2273, allocations: 123.8 kB / 0.5061 GB, free: 15.98 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001348/0.2287, allocations: 0.8766 MB / 0.507 GB, free: 15.53 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.834e-05/0.2288, allocations: 184.6 kB / 0.5072 GB, free: 15.37 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001411/0.2302, allocations: 0.5422 MB / 0.5077 GB, free: 14.83 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001978/0.2304, allocations: 253.5 kB / 0.5079 GB, free: 14.58 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 434 * Number of states: 0 () * Number of discrete variables: 17 (visGroundAxis.arrowLine.twoHeadedArrow,visGroundAxis.headAtOrigin,world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],visGroundAxis.color[3],visGroundAxis.color[2],visGroundAxis.color[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (476): * Single equations (assignments): 472 * Array equations: 4 * 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.001143/0.2315, allocations: 1.191 MB / 0.5091 GB, free: 13.53 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001363/0.2316, allocations: 171.4 kB / 0.5093 GB, free: 13.36 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001868/0.2318, allocations: 197 kB / 0.5095 GB, free: 13.19 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.769e-05/0.2319, allocations: 21.77 kB / 0.5095 GB, free: 13.17 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.174e-05/0.2319, allocations: 3.938 kB / 0.5095 GB, free: 13.17 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.093e-06/0.2319, allocations: 5.969 kB / 0.5095 GB, free: 13.16 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002081/0.234, allocations: 1.67 MB / 0.5111 GB, free: 11.72 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.234, allocations: 8 kB / 0.5111 GB, free: 11.71 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001409/0.2341, allocations: 58.39 kB / 0.5112 GB, free: 11.66 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.329e-06/0.2341, allocations: 4 kB / 0.5112 GB, free: 11.66 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.079e-05/0.2341, allocations: 13.25 kB / 0.5112 GB, free: 11.65 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.948e-06/0.2341, allocations: 4 kB / 0.5112 GB, free: 11.64 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.2341, allocations: 0.6562 kB / 0.5112 GB, free: 11.64 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007773/0.2349, allocations: 1.185 MB / 0.5124 GB, free: 10.52 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001266/0.235, allocations: 149.4 kB / 0.5125 GB, free: 10.38 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.284e-05/0.2351, allocations: 8.75 kB / 0.5125 GB, free: 10.37 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002393/0.2353, allocations: 17.44 kB / 0.5125 GB, free: 10.36 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.651e-05/0.2354, allocations: 27.67 kB / 0.5126 GB, free: 10.34 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.776e-05/0.2354, allocations: 33.42 kB / 0.5126 GB, free: 10.31 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001122/0.2365, allocations: 1.289 MB / 0.5138 GB, free: 9.211 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.2365, allocations: 0 / 0.5138 GB, free: 9.211 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001463/0.238, allocations: 0.5502 MB / 0.5144 GB, free: 8.66 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (37): * Single equations (assignments): 33 * Array equations: 4 * 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.0002354/0.2382, allocations: 123.9 kB / 0.5145 GB, free: 8.535 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002143/0.2404, allocations: 2.266 MB / 0.5167 GB, free: 6.543 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.2404, allocations: 0.875 kB / 0.5167 GB, free: 6.543 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002706/0.2407, allocations: 341.2 kB / 0.517 GB, free: 6.25 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006021/0.2413, allocations: 155.6 kB / 0.5172 GB, free: 6.109 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004121/0.2454, allocations: 4.255 MB / 0.5213 GB, free: 2.062 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009729/0.2464, allocations: 1.284 MB / 0.5226 GB, free: 0.7461 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002208/0.2466, allocations: 156.5 kB / 0.5227 GB, free: 0.5898 MB / 426.7 MB Notification: Performance of SimCode: time 9.62e-07/0.2466, allocations: 0 / 0.5227 GB, free: 0.5898 MB / 426.7 MB Notification: Performance of Templates: time 0.02659/0.2732, allocations: 27.78 MB / 0.5499 GB, free: 4.883 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.WorldGroundVisualization.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.WorldGroundVisualization.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.WorldGroundVisualization.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.WorldGroundVisualization.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.WorldGroundVisualization.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.WorldGroundVisualization -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.WorldGroundVisualization.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.WorldGroundVisualization_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/WorldGroundVisualization/WorldGroundVisualization.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.WorldGroundVisualization.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.985419257543981]