Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001086/0.001086, allocations: 83.58 kB / 21.19 MB, free: 3.379 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.001277/0.001277, allocations: 161 kB / 24.56 MB, free: 12 kB / 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.997/0.997, allocations: 177.1 MB / 205 MB, free: 5.262 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2524/0.2524, allocations: 32.8 MB / 294.3 MB, free: 1.223 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.0_ModelicaTest.MultiBody.WorldGroundVisualization") translateModel(ModelicaTest.MultiBody.WorldGroundVisualization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|visGroundAxis.n.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.WorldGroundVisualization") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 376 MB, free: 4.719 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.476e-05/2.616e-05, allocations: 9.344 kB / 376 MB, free: 4.711 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.WorldGroundVisualization): time 0.004934/0.00496, allocations: 5.274 MB / 381.2 MB, free: 15.4 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.002514/0.007474, allocations: 1.752 MB / 383 MB, free: 13.64 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003069/0.007781, allocations: 23.94 kB / 383 MB, free: 13.62 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008945/0.008676, allocations: 0.5679 MB / 383.6 MB, free: 13.05 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001508/0.01018, allocations: 0.9567 MB / 384.5 MB, free: 12.09 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 8.283e-05/0.01027, allocations: 15.92 kB / 384.6 MB, free: 12.07 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001931/0.0122, allocations: 2.598 MB / 387.2 MB, free: 9.473 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001045/0.01324, allocations: 1.09 MB / 388.3 MB, free: 8.367 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009337/0.01418, allocations: 0.8611 MB / 389.1 MB, free: 7.504 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001018/0.01519, allocations: 1.029 MB / 390.1 MB, free: 6.473 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001609/0.01535, allocations: 88 kB / 390.2 MB, free: 6.387 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004005/0.01576, allocations: 255.6 kB / 390.5 MB, free: 6.137 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004519/0.01621, allocations: 0.7477 MB / 391.2 MB, free: 5.387 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003041/0.01651, allocations: 434.2 kB / 391.6 MB, free: 4.961 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001354/0.01787, allocations: 1.773 MB / 393.4 MB, free: 3.18 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.01787, allocations: 0 / 393.4 MB, free: 3.18 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.01787, allocations: 4 kB / 393.4 MB, free: 3.176 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.468e-05/0.01788, allocations: 0 / 393.4 MB, free: 3.176 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.001921/0.01981, allocations: 2.272 MB / 395.7 MB, free: 0.8516 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.5e-05/0.01985, allocations: 12.02 kB / 395.7 MB, free: 0.8398 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002817/0.02267, allocations: 1.755 MB / 397.5 MB, free: 15.08 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008138/0.02348, allocations: 0.7672 MB / 398.2 MB, free: 14.28 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.751e-05/0.02354, allocations: 82.47 kB / 398.3 MB, free: 14.2 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001443/0.02368, allocations: 108.3 kB / 398.4 MB, free: 14.09 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002543/0.02623, allocations: 3.032 MB / 401.5 MB, free: 10.43 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.151e-05/0.02626, allocations: 19.81 kB / 401.5 MB, free: 10.41 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00011/0.02637, allocations: 63.91 kB / 401.5 MB, free: 10.35 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001149/0.02752, allocations: 1.181 MB / 402.7 MB, free: 9.164 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002023/0.02954, allocations: 1.456 MB / 404.2 MB, free: 7.699 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01228/0.04182, allocations: 25.05 MB / 429.2 MB, free: 13.73 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005614/0.04238, allocations: 377.1 kB / 429.6 MB, free: 13.32 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001657/0.04255, allocations: 130.7 kB / 429.7 MB, free: 13.17 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.544e-05/0.04256, allocations: 8 kB / 429.7 MB, free: 13.16 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.555e-05/0.04259, allocations: 41.39 kB / 429.8 MB, free: 13.11 MB / 410.7 MB Notification: Performance of pre-optimization done (n=69): time 2.475e-06/0.04259, allocations: 4 kB / 429.8 MB, free: 13.11 MB / 410.7 MB Notification: Performance of matching and sorting (n=69): time 0.000723/0.04331, allocations: 0.5359 MB / 430.3 MB, free: 12.57 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.252e-05/0.04338, allocations: 136.5 kB / 430.4 MB, free: 12.41 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001788/0.04516, allocations: 2.18 MB / 432.6 MB, free: 10.17 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.489e-05/0.04519, allocations: 33.69 kB / 432.7 MB, free: 10.13 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008925/0.04608, allocations: 1.994 MB / 434.6 MB, free: 8.113 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001771/0.04626, allocations: 333.8 kB / 435 MB, free: 7.785 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00063/0.04689, allocations: 0.8646 MB / 435.8 MB, free: 6.91 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001288/0.04702, allocations: 0.5042 MB / 436.3 MB, free: 6.398 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004823/0.0475, allocations: 343.4 kB / 436.7 MB, free: 6.062 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002282/0.04978, allocations: 4.297 MB / 441 MB, free: 15.94 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003129/0.05291, allocations: 5.104 MB / 446.1 MB, free: 9.004 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-05/0.05294, allocations: 28 kB / 446.1 MB, free: 8.977 MB / 426.7 MB Notification: Performance of matching and sorting (n=508) (initialization): time 0.003238/0.05618, allocations: 3.283 MB / 449.4 MB, free: 5.699 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.521e-05/0.05622, allocations: 44 kB / 449.4 MB, free: 5.656 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000169/0.05639, allocations: 96 kB / 449.5 MB, free: 5.562 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.957e-05/0.05648, allocations: 128.7 kB / 449.7 MB, free: 5.438 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001259/0.05774, allocations: 0.8655 MB / 450.5 MB, free: 4.566 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.425e-05/0.05783, allocations: 191.2 kB / 450.7 MB, free: 4.379 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001295/0.05913, allocations: 0.539 MB / 451.2 MB, free: 3.836 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002211/0.05935, allocations: 252 kB / 451.5 MB, free: 3.59 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.0005871/0.05994, allocations: 492.3 kB / 452 MB, free: 3.098 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000175/0.06011, allocations: 186.8 kB / 452.2 MB, free: 2.914 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001611/0.06027, allocations: 159.9 kB / 452.3 MB, free: 2.754 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.092e-05/0.0603, allocations: 19.94 kB / 452.3 MB, free: 2.734 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.161e-05/0.06032, allocations: 0 / 452.3 MB, free: 2.734 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.313e-06/0.06032, allocations: 7.984 kB / 452.3 MB, free: 2.727 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002286/0.06261, allocations: 1.749 MB / 454.1 MB, free: 0.9258 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.06261, allocations: 3.938 kB / 454.1 MB, free: 0.9219 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001631/0.06278, allocations: 67.89 kB / 454.2 MB, free: 0.8555 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.972e-06/0.06278, allocations: 0 / 454.2 MB, free: 0.8555 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.272e-05/0.0628, allocations: 8 kB / 454.2 MB, free: 0.8477 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.138e-06/0.06281, allocations: 4 kB / 454.2 MB, free: 0.8438 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/0.06281, allocations: 0 / 454.2 MB, free: 0.8438 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.176/0.2389, allocations: 0.9854 MB / 455.2 MB, free: 108.7 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000342/0.2392, allocations: 156.6 kB / 455.3 MB, free: 108.7 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.586e-05/0.2393, allocations: 6.375 kB / 455.3 MB, free: 108.7 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000288/0.2396, allocations: 19.45 kB / 455.3 MB, free: 108.7 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.163e-05/0.2396, allocations: 27.86 kB / 455.4 MB, free: 108.7 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.579e-05/0.2397, allocations: 22.7 kB / 455.4 MB, free: 108.7 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0009932/0.2407, allocations: 0.8844 MB / 456.3 MB, free: 108.6 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.2407, allocations: 0.8438 kB / 456.3 MB, free: 108.6 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002151/0.2428, allocations: 0.5485 MB / 456.8 MB, free: 108.5 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.0002499/0.2431, allocations: 133.7 kB / 456.9 MB, free: 108.5 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001858/0.2449, allocations: 1.575 MB / 458.5 MB, free: 108.4 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.2449, allocations: 0 / 458.5 MB, free: 108.4 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001466/0.2451, allocations: 158.4 kB / 458.7 MB, free: 108.4 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006073/0.2457, allocations: 152.2 kB / 458.8 MB, free: 108.4 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003124/0.2488, allocations: 3.219 MB / 462 MB, free: 107 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003906/0.2492, allocations: 0.5728 MB / 462.6 MB, free: 106.9 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001256/0.2504, allocations: 1.089 MB / 463.7 MB, free: 106.8 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000159/0.2506, allocations: 126.9 kB / 463.8 MB, free: 106.8 MB / 426.7 MB Notification: Performance of SimCode: time 1.623e-06/0.2506, allocations: 0 / 463.8 MB, free: 106.8 MB / 426.7 MB Notification: Performance of Templates: time 0.01758/0.2682, allocations: 11.72 MB / 475.5 MB, free: 105.8 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.WorldGroundVisualization.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.WorldGroundVisualization.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.WorldGroundVisualization.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.WorldGroundVisualization.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.WorldGroundVisualization.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.WorldGroundVisualization -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.WorldGroundVisualization.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.WorldGroundVisualization_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.7699599233455956]