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.00143/0.00143, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001862/0.001862, allocations: 161 kB / 24.55 MB, free: 20 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 1.034/1.034, allocations: 177.1 MB / 205 MB, free: 5.629 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.2614/0.2614, 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.[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 2.014e-06/2.014e-06, allocations: 0 / 378 MB, free: 2.66 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.904e-05/3.106e-05, allocations: 2.312 kB / 378 MB, free: 2.656 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.WorldGroundVisualization): time 0.00531/0.005341, allocations: 5.27 MB / 383.3 MB, free: 13.35 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.003317/0.008658, allocations: 1.764 MB / 385 MB, free: 11.59 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005525/0.009211, allocations: 19.94 kB / 385.1 MB, free: 11.57 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001109/0.01032, allocations: 0.5679 MB / 385.6 MB, free: 11 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001738/0.01206, allocations: 0.9451 MB / 386.6 MB, free: 10.05 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001056/0.01216, allocations: 27.91 kB / 386.6 MB, free: 10.02 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002169/0.01433, allocations: 2.598 MB / 389.2 MB, free: 7.418 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001268/0.0156, allocations: 1.082 MB / 390.3 MB, free: 6.32 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001166/0.01677, allocations: 0.8689 MB / 391.1 MB, free: 5.449 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001197/0.01796, allocations: 1.021 MB / 392.2 MB, free: 4.426 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002039/0.01817, allocations: 88 kB / 392.2 MB, free: 4.34 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004439/0.01861, allocations: 267.5 kB / 392.5 MB, free: 4.078 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000466/0.01908, allocations: 0.736 MB / 393.2 MB, free: 3.34 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003408/0.01942, allocations: 438.2 kB / 393.7 MB, free: 2.91 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001503/0.02092, allocations: 1.777 MB / 395.5 MB, free: 1.125 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.593e-06/0.02093, allocations: 0 / 395.5 MB, free: 1.125 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.465e-06/0.02093, allocations: 0 / 395.5 MB, free: 1.125 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.142e-05/0.02096, allocations: 0 / 395.5 MB, free: 1.125 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.002144/0.02311, allocations: 2.268 MB / 397.7 MB, free: 14.8 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.347e-05/0.02315, allocations: 12.03 kB / 397.7 MB, free: 14.79 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002996/0.02614, allocations: 1.751 MB / 399.5 MB, free: 13.04 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001005/0.02715, allocations: 0.7711 MB / 400.3 MB, free: 12.23 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.96e-05/0.0272, allocations: 82.47 kB / 400.3 MB, free: 12.15 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001432/0.02734, allocations: 112.3 kB / 400.4 MB, free: 12.04 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002858/0.0302, allocations: 3.036 MB / 403.5 MB, free: 8.375 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.045e-05/0.03023, allocations: 19.81 kB / 403.5 MB, free: 8.355 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001169/0.03035, allocations: 63.91 kB / 403.6 MB, free: 8.293 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001089/0.03144, allocations: 1.181 MB / 404.7 MB, free: 7.109 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002439/0.03388, allocations: 1.448 MB / 406.2 MB, free: 5.652 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01598/0.04985, allocations: 25.05 MB / 431.2 MB, free: 11.69 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006601/0.05052, allocations: 398.6 kB / 431.6 MB, free: 11.25 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001654/0.05068, allocations: 130.6 kB / 431.8 MB, free: 11.11 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.827e-05/0.0507, allocations: 8 kB / 431.8 MB, free: 11.1 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.884e-05/0.05073, allocations: 45.33 kB / 431.8 MB, free: 11.05 MB / 410.7 MB Notification: Performance of pre-optimization done (n=69): time 4.037e-06/0.05073, allocations: 0 / 431.8 MB, free: 11.05 MB / 410.7 MB Notification: Performance of matching and sorting (n=69): time 0.0008387/0.05157, allocations: 0.5314 MB / 432.3 MB, free: 10.51 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.032e-05/0.05164, allocations: 136.5 kB / 432.5 MB, free: 10.35 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001997/0.05364, allocations: 2.176 MB / 434.6 MB, free: 8.113 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.128e-05/0.05367, allocations: 33.7 kB / 434.7 MB, free: 8.074 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001018/0.05469, allocations: 2.001 MB / 436.7 MB, free: 6.051 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002304/0.05492, allocations: 333.8 kB / 437 MB, free: 5.723 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006839/0.0556, allocations: 0.8685 MB / 437.9 MB, free: 4.844 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001349/0.05574, allocations: 0.4926 MB / 438.4 MB, free: 4.344 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005351/0.05627, allocations: 351.4 kB / 438.7 MB, free: 4 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002339/0.05861, allocations: 4.285 MB / 443 MB, free: 13.89 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003537/0.06215, allocations: 5.117 MB / 448.1 MB, free: 6.945 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.742e-05/0.06221, allocations: 24 kB / 448.1 MB, free: 6.922 MB / 426.7 MB Notification: Performance of matching and sorting (n=508) (initialization): time 0.004085/0.06629, allocations: 3.27 MB / 451.4 MB, free: 3.645 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.812e-05/0.06634, allocations: 44 kB / 451.5 MB, free: 3.602 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.55e-05/0.06641, allocations: 96 kB / 451.5 MB, free: 3.508 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.613e-05/0.0665, allocations: 127.9 kB / 451.7 MB, free: 3.383 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00142/0.06792, allocations: 0.8733 MB / 452.5 MB, free: 2.508 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.792e-05/0.06802, allocations: 191.3 kB / 452.7 MB, free: 2.32 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001572/0.06959, allocations: 0.5316 MB / 453.3 MB, free: 1.785 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002208/0.06981, allocations: 264 kB / 453.5 MB, free: 1.527 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.0005775/0.07039, allocations: 484.3 kB / 454 MB, free: 1.043 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001792/0.07057, allocations: 186.8 kB / 454.2 MB, free: 0.8594 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001445/0.07071, allocations: 155.9 kB / 454.3 MB, free: 0.7031 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.946e-05/0.07075, allocations: 27.92 kB / 454.4 MB, free: 0.6758 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.07076, allocations: 0 / 454.4 MB, free: 0.6758 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.07076, allocations: 0 / 454.4 MB, free: 0.6758 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1832/0.2539, allocations: 1.748 MB / 456.1 MB, free: 106.9 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.118e-06/0.254, allocations: 0 / 456.1 MB, free: 106.9 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002428/0.2542, allocations: 59.95 kB / 456.2 MB, free: 106.9 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.424e-06/0.2542, allocations: 3.422 kB / 456.2 MB, free: 106.9 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.532e-05/0.2542, allocations: 15.05 kB / 456.2 MB, free: 106.9 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.683e-06/0.2542, allocations: 9.125 kB / 456.2 MB, free: 106.9 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.2542, allocations: 0 / 456.2 MB, free: 106.9 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007041/0.255, allocations: 0.9821 MB / 457.2 MB, free: 106.3 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002435/0.2552, allocations: 153.7 kB / 457.3 MB, free: 106.2 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.801e-05/0.2553, allocations: 16.83 kB / 457.3 MB, free: 106.2 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002716/0.2556, allocations: 15.73 kB / 457.4 MB, free: 106.2 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.691e-05/0.2556, allocations: 29.84 kB / 457.4 MB, free: 106.2 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.533e-05/0.2556, allocations: 21.08 kB / 457.4 MB, free: 106.2 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0008975/0.2565, allocations: 0.8885 MB / 458.3 MB, free: 106.1 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2565, allocations: 1.781 kB / 458.3 MB, free: 106.1 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001937/0.2585, allocations: 0.5469 MB / 458.8 MB, free: 106 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.0002852/0.2588, allocations: 128.9 kB / 459 MB, free: 105.9 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002665/0.2614, allocations: 1.578 MB / 460.5 MB, free: 105.8 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.2614, allocations: 0 / 460.5 MB, free: 105.8 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002183/0.2617, allocations: 158.9 kB / 460.7 MB, free: 105.8 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009309/0.2626, allocations: 157.7 kB / 460.9 MB, free: 105.8 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004324/0.2669, allocations: 3.22 MB / 464.1 MB, free: 104.4 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005224/0.2674, allocations: 0.5749 MB / 464.6 MB, free: 104.3 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001843/0.2693, allocations: 1.083 MB / 465.7 MB, free: 104.3 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002347/0.2695, allocations: 125.9 kB / 465.9 MB, free: 104.3 MB / 426.7 MB Notification: Performance of SimCode: time 1.943e-06/0.2695, allocations: 0 / 465.9 MB, free: 104.3 MB / 426.7 MB Notification: Performance of Templates: time 0.02148/0.291, allocations: 11.71 MB / 477.6 MB, free: 103.2 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.860435120295733]