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.0009971/0.0009971, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001742/0.001742, allocations: 158.4 kB / 24.99 MB, free: 9.285 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.018/1.018, allocations: 177.1 MB / 205.3 MB, free: 5.605 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.2538/0.2538, allocations: 34.26 MB / 296 MB, free: 0.793 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 1.563e-06/1.563e-06, allocations: 0 / 378 MB, free: 3.02 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.976e-05/2.132e-05, allocations: 6.25 kB / 378 MB, free: 3.012 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.WorldGroundVisualization): time 0.004719/0.00474, allocations: 5.254 MB / 383.2 MB, free: 13.73 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.002294/0.007034, allocations: 1.756 MB / 385 MB, free: 11.97 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002276/0.007262, allocations: 23.94 kB / 385 MB, free: 11.95 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009698/0.008232, allocations: 0.564 MB / 385.6 MB, free: 11.38 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001141/0.009373, allocations: 0.9451 MB / 386.5 MB, free: 10.43 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 7.615e-05/0.009449, allocations: 23.91 kB / 386.6 MB, free: 10.41 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001731/0.01118, allocations: 2.595 MB / 389.1 MB, free: 7.805 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008128/0.01199, allocations: 1.086 MB / 390.2 MB, free: 6.703 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007547/0.01275, allocations: 0.8651 MB / 391.1 MB, free: 5.836 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008074/0.01355, allocations: 1.021 MB / 392.1 MB, free: 4.812 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 9.875e-05/0.01365, allocations: 92 kB / 392.2 MB, free: 4.723 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003176/0.01397, allocations: 267.5 kB / 392.5 MB, free: 4.461 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004148/0.01439, allocations: 0.736 MB / 393.2 MB, free: 3.723 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003021/0.01469, allocations: 438.2 kB / 393.6 MB, free: 3.293 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001291/0.01598, allocations: 1.773 MB / 395.4 MB, free: 1.512 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.01598, allocations: 0 / 395.4 MB, free: 1.512 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.21e-07/0.01598, allocations: 3.938 kB / 395.4 MB, free: 1.508 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.884e-05/0.016, allocations: 0 / 395.4 MB, free: 1.508 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.001872/0.01787, allocations: 2.268 MB / 397.7 MB, free: 15.19 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.609e-05/0.01791, allocations: 8.031 kB / 397.7 MB, free: 15.18 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002997/0.02091, allocations: 1.751 MB / 399.4 MB, free: 13.43 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007936/0.0217, allocations: 0.7711 MB / 400.2 MB, free: 12.62 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.755e-05/0.02175, allocations: 82.47 kB / 400.3 MB, free: 12.54 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001337/0.02188, allocations: 108.3 kB / 400.4 MB, free: 12.43 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002523/0.0244, allocations: 3.04 MB / 403.4 MB, free: 8.762 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.949e-05/0.02443, allocations: 19.81 kB / 403.5 MB, free: 8.742 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001159/0.02455, allocations: 55.91 kB / 403.5 MB, free: 8.688 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001192/0.02574, allocations: 1.185 MB / 404.7 MB, free: 7.5 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002083/0.02782, allocations: 1.456 MB / 406.2 MB, free: 6.035 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01352/0.04135, allocations: 25.05 MB / 431.2 MB, free: 12.07 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006741/0.04202, allocations: 385.1 kB / 431.6 MB, free: 11.64 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002015/0.04222, allocations: 130.7 kB / 431.7 MB, free: 11.5 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.659e-05/0.04224, allocations: 4 kB / 431.7 MB, free: 11.5 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.027e-05/0.04227, allocations: 45.33 kB / 431.8 MB, free: 11.44 MB / 410.7 MB Notification: Performance of pre-optimization done (n=69): time 2.896e-06/0.04227, allocations: 0 / 431.8 MB, free: 11.44 MB / 410.7 MB Notification: Performance of matching and sorting (n=69): time 0.0008914/0.04316, allocations: 0.5316 MB / 432.3 MB, free: 10.91 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.367e-05/0.04323, allocations: 140.4 kB / 432.4 MB, free: 10.74 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002284/0.04551, allocations: 2.176 MB / 434.6 MB, free: 8.504 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.086e-05/0.04554, allocations: 37.73 kB / 434.6 MB, free: 8.461 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001106/0.04665, allocations: 2.001 MB / 436.6 MB, free: 6.438 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002273/0.04687, allocations: 329.8 kB / 437 MB, free: 6.113 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008283/0.0477, allocations: 0.8646 MB / 437.8 MB, free: 5.238 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001314/0.04783, allocations: 0.5004 MB / 438.3 MB, free: 4.73 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006262/0.04846, allocations: 343.4 kB / 438.7 MB, free: 4.395 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002739/0.0512, allocations: 4.289 MB / 442.9 MB, free: 14.28 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003888/0.05509, allocations: 5.113 MB / 448.1 MB, free: 7.34 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.133e-05/0.05513, allocations: 28 kB / 448.1 MB, free: 7.312 MB / 426.7 MB Notification: Performance of matching and sorting (n=508) (initialization): time 0.004287/0.05942, allocations: 3.27 MB / 451.4 MB, free: 4.035 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.578e-05/0.05947, allocations: 48 kB / 451.4 MB, free: 3.988 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.342e-05/0.05955, allocations: 99.98 kB / 451.5 MB, free: 3.891 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001055/0.05966, allocations: 131.9 kB / 451.6 MB, free: 3.762 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001918/0.06158, allocations: 0.8655 MB / 452.5 MB, free: 2.895 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001268/0.0617, allocations: 187.3 kB / 452.7 MB, free: 2.711 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001691/0.0634, allocations: 0.5352 MB / 453.2 MB, free: 2.172 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002488/0.06364, allocations: 252 kB / 453.5 MB, free: 1.926 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.0005415/0.06419, allocations: 488.5 kB / 453.9 MB, free: 1.438 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002098/0.0644, allocations: 190.8 kB / 454.1 MB, free: 1.25 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001888/0.06458, allocations: 167.9 kB / 454.3 MB, free: 1.082 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.307e-05/0.06462, allocations: 15.94 kB / 454.3 MB, free: 1.066 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-06/0.06462, allocations: 4.047 kB / 454.3 MB, free: 1.062 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.733e-06/0.06463, allocations: 3.984 kB / 454.3 MB, free: 1.059 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1549/0.2195, allocations: 1.749 MB / 456.1 MB, free: 110.4 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.288e-06/0.2195, allocations: 2.625 kB / 456.1 MB, free: 110.4 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002204/0.2197, allocations: 59.48 kB / 456.1 MB, free: 110.4 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.853e-06/0.2198, allocations: 8.812 kB / 456.1 MB, free: 110.4 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.777e-05/0.2198, allocations: 13.42 kB / 456.1 MB, free: 110.4 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.2198, allocations: 2.625 kB / 456.1 MB, free: 110.4 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.2198, allocations: 2.5 kB / 456.2 MB, free: 110.4 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006164/0.2204, allocations: 0.9794 MB / 457.1 MB, free: 109.9 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001937/0.2206, allocations: 159 kB / 457.3 MB, free: 109.8 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.403e-05/0.2207, allocations: 14.77 kB / 457.3 MB, free: 109.8 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002504/0.2209, allocations: 18.88 kB / 457.3 MB, free: 109.8 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.532e-05/0.221, allocations: 22.2 kB / 457.3 MB, free: 109.8 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.805e-05/0.221, allocations: 17.62 kB / 457.4 MB, free: 109.8 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000728/0.2217, allocations: 0.8903 MB / 458.2 MB, free: 109.6 MB / 426.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2217, allocations: 0 / 458.2 MB, free: 109.6 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001711/0.2234, allocations: 0.5432 MB / 458.8 MB, free: 109.6 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.0002168/0.2237, allocations: 139.3 kB / 458.9 MB, free: 109.5 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001666/0.2253, allocations: 1.571 MB / 460.5 MB, free: 109.3 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.2253, allocations: 3.062 kB / 460.5 MB, free: 109.3 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001375/0.2255, allocations: 156.3 kB / 460.7 MB, free: 109.2 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005896/0.2261, allocations: 158.3 kB / 460.8 MB, free: 109.2 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002831/0.2289, allocations: 3.223 MB / 464 MB, free: 107.8 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003755/0.2293, allocations: 0.5714 MB / 464.6 MB, free: 107.7 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001255/0.2305, allocations: 1.086 MB / 465.7 MB, free: 107.7 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001501/0.2307, allocations: 123.4 kB / 465.8 MB, free: 107.7 MB / 426.7 MB Notification: Performance of SimCode: time 7.21e-07/0.2307, allocations: 0 / 465.8 MB, free: 107.7 MB / 426.7 MB Notification: Performance of Templates: time 0.01685/0.2475, allocations: 11.71 MB / 477.5 MB, free: 106.6 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.665050028124824]