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.001937/0.001937, allocations: 82.19 kB / 20.68 MB, free: 1.039 MB / 14.72 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.002522/0.002522, allocations: 165.6 kB / 23.95 MB, free: 4.168 MB / 14.72 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.475/1.475, allocations: 177.2 MB / 204.3 MB, free: 9.188 MB / 190.1 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.2149/0.2149, allocations: 34.28 MB / 294.9 MB, free: 14.59 MB / 286.1 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 1.914e-06/1.914e-06, allocations: 0 / 442.6 MB, free: 5.465 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.396e-05/3.588e-05, allocations: 2.281 kB / 442.6 MB, free: 5.461 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.WorldGroundVisualization): time 0.007187/0.007223, allocations: 4.881 MB / 447.5 MB, free: 0.5508 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.2069/0.2141, allocations: 1.679 MB / 449.2 MB, free: 15.22 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004014/0.2145, allocations: 23.81 kB / 449.2 MB, free: 15.22 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001327/0.2158, allocations: 0.5472 MB / 449.8 MB, free: 15.21 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001751/0.2176, allocations: 0.9607 MB / 450.7 MB, free: 15.02 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.082e-05/0.2177, allocations: 16.2 kB / 450.7 MB, free: 15.02 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.00291/0.2206, allocations: 2.588 MB / 453.3 MB, free: 14.72 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001418/0.222, allocations: 1.054 MB / 454.4 MB, free: 14.41 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001258/0.2232, allocations: 0.8695 MB / 455.2 MB, free: 14.14 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001417/0.2247, allocations: 1.016 MB / 456.3 MB, free: 14 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002031/0.2249, allocations: 93.41 kB / 456.4 MB, free: 14 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006401/0.2255, allocations: 263.1 kB / 456.6 MB, free: 13.96 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006031/0.2261, allocations: 0.7371 MB / 457.3 MB, free: 13.68 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005037/0.2266, allocations: 426 kB / 457.8 MB, free: 13.49 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003063/0.2297, allocations: 2.71 MB / 460.5 MB, free: 12.61 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.2297, allocations: 5.547 kB / 460.5 MB, free: 12.61 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.2297, allocations: 0 / 460.5 MB, free: 12.61 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.15e-05/0.2297, allocations: 0 / 460.5 MB, free: 12.61 MB / 366.1 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.002746/0.2325, allocations: 1.999 MB / 462.5 MB, free: 11.35 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.831e-05/0.2325, allocations: 13.31 kB / 462.5 MB, free: 11.35 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005012/0.2375, allocations: 1.521 MB / 464 MB, free: 10.89 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001323/0.2388, allocations: 0.8119 MB / 464.8 MB, free: 10.34 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.034e-05/0.2389, allocations: 87.45 kB / 464.9 MB, free: 10.32 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002476/0.2392, allocations: 111.9 kB / 465 MB, free: 10.31 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005566/0.2447, allocations: 4.979 MB / 470 MB, free: 7.148 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.918e-05/0.2448, allocations: 21.19 kB / 470 MB, free: 7.137 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000189/0.245, allocations: 66 kB / 470.1 MB, free: 7.094 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001782/0.2468, allocations: 1.179 MB / 471.3 MB, free: 6.625 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006335/0.2531, allocations: 4.254 MB / 475.5 MB, free: 4.746 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02139/0.2745, allocations: 19.4 MB / 494.9 MB, free: 0.6445 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001446/0.2759, allocations: 0.7321 MB / 495.6 MB, free: 15.88 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004996/0.2764, allocations: 344.7 kB / 496 MB, free: 15.53 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.143e-05/0.2765, allocations: 7.938 kB / 496 MB, free: 15.52 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.226e-05/0.2765, allocations: 38.56 kB / 496 MB, free: 15.48 MB / 398.1 MB Notification: Performance of pre-optimization done (n=69): time 3.807e-06/0.2765, allocations: 0 / 496 MB, free: 15.48 MB / 398.1 MB Notification: Performance of matching and sorting (n=69): time 0.00187/0.2784, allocations: 1.134 MB / 497.2 MB, free: 14.34 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.974e-05/0.2785, allocations: 136.5 kB / 497.3 MB, free: 14.18 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003157/0.2816, allocations: 2.313 MB / 499.6 MB, free: 11.81 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.851e-05/0.2817, allocations: 33.73 kB / 499.6 MB, free: 11.77 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001496/0.2832, allocations: 1.878 MB / 0.4898 GB, free: 9.875 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003007/0.2835, allocations: 313.8 kB / 0.4901 GB, free: 9.566 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001094/0.2846, allocations: 0.7744 MB / 0.4908 GB, free: 8.785 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001777/0.2847, allocations: 326.4 kB / 0.4911 GB, free: 8.461 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00159/0.2863, allocations: 1.038 MB / 0.4921 GB, free: 7.422 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004291/0.2906, allocations: 3.691 MB / 0.4958 GB, free: 2.402 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006785/0.2974, allocations: 5.161 MB / 0.5008 GB, free: 11.91 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.837e-05/0.2975, allocations: 28 kB / 0.5008 GB, free: 11.88 MB / 414.1 MB Notification: Performance of matching and sorting (n=508) (initialization): time 0.007795/0.3053, allocations: 4.437 MB / 0.5052 GB, free: 7.441 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.786e-05/0.3053, allocations: 44 kB / 0.5052 GB, free: 7.398 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001105/0.3054, allocations: 96 kB / 0.5053 GB, free: 7.305 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001338/0.3056, allocations: 124 kB / 0.5054 GB, free: 7.184 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00243/0.308, allocations: 0.8733 MB / 0.5063 GB, free: 6.309 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001705/0.3082, allocations: 187.2 kB / 0.5064 GB, free: 6.125 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002603/0.3108, allocations: 0.5454 MB / 0.507 GB, free: 5.578 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000332/0.3111, allocations: 252 kB / 0.5072 GB, free: 5.332 MB / 414.1 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.001896/0.313, allocations: 1.185 MB / 0.5084 GB, free: 4.133 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003018/0.3133, allocations: 170.8 kB / 0.5085 GB, free: 3.965 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003311/0.3136, allocations: 199.9 kB / 0.5087 GB, free: 3.77 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.994e-05/0.3137, allocations: 19.98 kB / 0.5087 GB, free: 3.75 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.409e-05/0.3137, allocations: 3.938 kB / 0.5087 GB, free: 3.746 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.326e-06/0.3137, allocations: 4 kB / 0.5087 GB, free: 3.742 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003374/0.3171, allocations: 1.662 MB / 0.5104 GB, free: 2.035 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.067e-06/0.3171, allocations: 7.938 kB / 0.5104 GB, free: 2.027 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003103/0.3174, allocations: 59.91 kB / 0.5104 GB, free: 1.969 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.795e-06/0.3174, allocations: 4 kB / 0.5104 GB, free: 1.965 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.661e-05/0.3174, allocations: 15.98 kB / 0.5105 GB, free: 1.949 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.766e-06/0.3175, allocations: 4 kB / 0.5105 GB, free: 1.945 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.3175, allocations: 0 / 0.5105 GB, free: 1.945 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001372/0.3188, allocations: 1.179 MB / 0.5116 GB, free: 0.7461 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000287/0.3191, allocations: 158.6 kB / 0.5118 GB, free: 0.5898 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001515/0.3193, allocations: 8 kB / 0.5118 GB, free: 0.582 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004958/0.3198, allocations: 24.92 kB / 0.5118 GB, free: 0.5586 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.237e-05/0.3198, allocations: 35.83 kB / 0.5118 GB, free: 0.5234 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.314e-05/0.3199, allocations: 16 kB / 0.5118 GB, free: 0.5078 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.00192/0.3218, allocations: 1.288 MB / 0.5131 GB, free: 15.19 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3218, allocations: 4 kB / 0.5131 GB, free: 15.19 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002924/0.3247, allocations: 0.5457 MB / 0.5136 GB, free: 14.64 MB / 430.1 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.0003093/0.3251, allocations: 135 kB / 0.5138 GB, free: 14.5 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003745/0.3288, allocations: 2.261 MB / 0.516 GB, free: 12.27 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.3288, allocations: 1.875 kB / 0.516 GB, free: 12.27 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004837/0.3293, allocations: 343.7 kB / 0.5163 GB, free: 11.93 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001036/0.3303, allocations: 159.1 kB / 0.5165 GB, free: 11.78 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006851/0.3372, allocations: 3.998 MB / 0.5204 GB, free: 7.734 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001786/0.339, allocations: 1.283 MB / 0.5216 GB, free: 6.418 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.00278/0.3417, allocations: 1.223 MB / 0.5228 GB, free: 5.191 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002769/0.342, allocations: 120.5 kB / 0.5229 GB, free: 5.07 MB / 430.1 MB Notification: Performance of SimCode: time 1.112e-06/0.342, allocations: 3.938 kB / 0.5229 GB, free: 5.066 MB / 430.1 MB Notification: Performance of Templates: time 0.02693/0.3689, allocations: 11.69 MB / 0.5343 GB, free: 9.59 MB / 446.1 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.5079155042767525]