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.001418/0.001418, allocations: 78.66 kB / 21.42 MB, free: 3.078 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.001314/0.001314, allocations: 171.3 kB / 24.82 MB, free: 8.938 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 1.063/1.063, allocations: 177.1 MB / 205.3 MB, free: 5.527 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.3244/0.3244, allocations: 34.27 MB / 296.1 MB, free: 0.7188 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.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.WorldGroundVisualization") translateModel(ModelicaTest.MultiBody.WorldGroundVisualization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|visGroundAxis.n.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.WorldGroundVisualization") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.848e-06/3.848e-06, allocations: 4 kB / 378.5 MB, free: 2.445 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.495e-05/2.879e-05, allocations: 2.312 kB / 378.5 MB, free: 2.441 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.WorldGroundVisualization): time 0.005181/0.00521, allocations: 5.168 MB / 383.6 MB, free: 13.24 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.002902/0.008112, allocations: 1.748 MB / 385.4 MB, free: 11.49 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002826/0.008395, allocations: 23.94 kB / 385.4 MB, free: 11.46 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000997/0.009392, allocations: 0.564 MB / 386 MB, free: 10.9 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001205/0.0106, allocations: 0.9451 MB / 386.9 MB, free: 9.949 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 7.202e-05/0.01067, allocations: 19.91 kB / 386.9 MB, free: 9.93 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001783/0.01245, allocations: 2.606 MB / 389.5 MB, free: 7.32 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008456/0.0133, allocations: 1.086 MB / 390.6 MB, free: 6.219 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001136/0.01443, allocations: 0.865 MB / 391.5 MB, free: 5.352 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008949/0.01533, allocations: 1.025 MB / 392.5 MB, free: 4.324 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001199/0.01545, allocations: 91.94 kB / 392.6 MB, free: 4.234 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003758/0.01582, allocations: 267.6 kB / 392.9 MB, free: 3.973 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004448/0.01627, allocations: 0.7438 MB / 393.6 MB, free: 3.227 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002995/0.01657, allocations: 430.2 kB / 394 MB, free: 2.805 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001454/0.01802, allocations: 1.777 MB / 395.8 MB, free: 1.02 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.01803, allocations: 0 / 395.8 MB, free: 1.02 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.406e-06/0.01803, allocations: 4 kB / 395.8 MB, free: 1.016 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.224e-05/0.01805, allocations: 0 / 395.8 MB, free: 1.016 MB / 362.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.002007/0.02006, allocations: 2.264 MB / 398.1 MB, free: 14.7 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.773e-05/0.02011, allocations: 16.02 kB / 398.1 MB, free: 14.68 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002378/0.02249, allocations: 0.8656 MB / 399 MB, free: 13.82 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007537/0.02324, allocations: 0.7087 MB / 399.7 MB, free: 13.07 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.228e-05/0.02329, allocations: 90.45 kB / 399.8 MB, free: 12.98 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001332/0.02343, allocations: 112.3 kB / 399.9 MB, free: 12.88 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002264/0.02569, allocations: 2.856 MB / 402.7 MB, free: 9.387 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.804e-05/0.02573, allocations: 27.75 kB / 402.7 MB, free: 9.359 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001055/0.02583, allocations: 55.91 kB / 402.8 MB, free: 9.305 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009311/0.02676, allocations: 1.029 MB / 403.8 MB, free: 8.273 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001479/0.02824, allocations: 1.199 MB / 405 MB, free: 7.07 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0159/0.04414, allocations: 24.98 MB / 430 MB, free: 13.18 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005693/0.04471, allocations: 356.7 kB / 430.4 MB, free: 12.78 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001526/0.04486, allocations: 116.4 kB / 430.5 MB, free: 12.65 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.742e-05/0.04488, allocations: 8 kB / 430.5 MB, free: 12.64 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.903e-05/0.04491, allocations: 45.33 kB / 430.5 MB, free: 12.59 MB / 410.7 MB Notification: Performance of pre-optimization done (n=69): time 2.625e-06/0.04491, allocations: 4 kB / 430.5 MB, free: 12.59 MB / 410.7 MB Notification: Performance of matching and sorting (n=69): time 0.0007704/0.04568, allocations: 0.4939 MB / 431 MB, free: 12.09 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.89e-05/0.04575, allocations: 140.5 kB / 431.2 MB, free: 11.92 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002217/0.04797, allocations: 2.178 MB / 433.3 MB, free: 9.684 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.283e-05/0.048, allocations: 29.7 kB / 433.4 MB, free: 9.648 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001675/0.04968, allocations: 2.021 MB / 435.4 MB, free: 7.605 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002516/0.04993, allocations: 337.7 kB / 435.7 MB, free: 7.273 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009137/0.05084, allocations: 0.8838 MB / 436.6 MB, free: 6.379 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001549/0.051, allocations: 0.4964 MB / 437.1 MB, free: 5.875 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004086/0.05141, allocations: 275.4 kB / 437.4 MB, free: 5.605 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003238/0.05464, allocations: 4.241 MB / 441.6 MB, free: 15.54 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004289/0.05893, allocations: 5.045 MB / 446.7 MB, free: 8.664 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.367e-05/0.05898, allocations: 28 kB / 446.7 MB, free: 8.637 MB / 426.7 MB Notification: Performance of matching and sorting (n=508) (initialization): time 0.00388/0.06286, allocations: 3.064 MB / 449.7 MB, free: 5.57 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.04e-05/0.06292, allocations: 48 kB / 449.8 MB, free: 5.523 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.917e-05/0.06301, allocations: 108 kB / 449.9 MB, free: 5.418 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001071/0.06311, allocations: 123.9 kB / 450 MB, free: 5.297 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001696/0.06481, allocations: 0.8584 MB / 450.9 MB, free: 4.434 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001252/0.06494, allocations: 191.3 kB / 451.1 MB, free: 4.246 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00171/0.06665, allocations: 0.5273 MB / 451.6 MB, free: 3.715 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002323/0.06688, allocations: 224 kB / 451.8 MB, free: 3.496 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.0005373/0.06742, allocations: 492.2 kB / 452.3 MB, free: 3 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002088/0.06762, allocations: 182.8 kB / 452.5 MB, free: 2.82 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005174/0.06814, allocations: 155.9 kB / 452.6 MB, free: 2.664 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.47e-05/0.06818, allocations: 19.94 kB / 452.6 MB, free: 2.645 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.06818, allocations: 0 / 452.6 MB, free: 2.645 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.883e-06/0.06819, allocations: 3.984 kB / 452.6 MB, free: 2.641 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001975/0.07016, allocations: 1.287 MB / 453.9 MB, free: 1.316 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/0.07017, allocations: 3.938 kB / 453.9 MB, free: 1.312 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001746/0.07034, allocations: 55.91 kB / 454 MB, free: 1.258 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.202e-06/0.07035, allocations: 4 kB / 454 MB, free: 1.254 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.399e-05/0.07037, allocations: 8 kB / 454 MB, free: 1.246 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.632e-06/0.07038, allocations: 7.938 kB / 454 MB, free: 1.238 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.07038, allocations: 0 / 454 MB, free: 1.238 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007364/0.07112, allocations: 0.9512 MB / 455 MB, free: 268 kB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001596/0.07128, allocations: 158.6 kB / 455.1 MB, free: 108 kB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.636e-05/0.07137, allocations: 8 kB / 455.1 MB, free: 100 kB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003235/0.0717, allocations: 16 kB / 455.1 MB, free: 84 kB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.866e-05/0.07176, allocations: 31.89 kB / 455.2 MB, free: 52 kB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.506e-05/0.07179, allocations: 19.97 kB / 455.2 MB, free: 32 kB / 426.7 MB Notification: Performance of sorting global known variables: time 0.2359/0.3077, allocations: 0.8343 MB / 456 MB, free: 106.9 MB / 426.7 MB Notification: Performance of sort global known variables: time 3e-07/0.3077, allocations: 0 / 456 MB, free: 106.9 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002496/0.3102, allocations: 0.5462 MB / 456.6 MB, free: 106.9 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.0002818/0.3105, allocations: 122.7 kB / 456.7 MB, free: 106.8 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001712/0.3122, allocations: 1.504 MB / 458.2 MB, free: 106.8 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.3122, allocations: 0 / 458.2 MB, free: 106.8 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001372/0.3123, allocations: 143.1 kB / 458.3 MB, free: 106.8 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000646/0.313, allocations: 154.2 kB / 458.5 MB, free: 106.7 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003353/0.3163, allocations: 3.233 MB / 461.7 MB, free: 105.4 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004105/0.3167, allocations: 0.5723 MB / 462.3 MB, free: 105.3 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0005874/0.3173, allocations: 283.7 kB / 462.6 MB, free: 105.2 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002734/0.3176, allocations: 306.9 kB / 462.9 MB, free: 105.2 MB / 426.7 MB Notification: Performance of SimCode: time 8.62e-07/0.3176, allocations: 4 kB / 462.9 MB, free: 105.2 MB / 426.7 MB Notification: Performance of Templates: time 0.02236/0.34, allocations: 12.72 MB / 475.6 MB, free: 104 MB / 426.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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.WorldGroundVisualization.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.9297534716315567]