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.001163/0.001163, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001781/0.002944, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.001099/0.001099, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001578/0.002677, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.9317/0.9317, allocations: 177.2 MB / 189.8 MB, free: 5.262 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09211/1.024, allocations: 53.66 MB / 243.4 MB, free: 15.52 MB / 250.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.25 MB / 278.4 MB, free: 15.28 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02764/0.2815, allocations: 13.1 MB / 291.5 MB, free: 7.34 MB / 282.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.994e-06/1.994e-06, allocations: 0 / 292.8 MB, free: 6.25 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.358e-05/2.557e-05, allocations: 7.344 kB / 292.8 MB, free: 6.242 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.WorldGroundVisualization): time 0.007097/0.007123, allocations: 5.257 MB / 298.1 MB, free: 0.957 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003342/0.01047, allocations: 1.822 MB / 299.9 MB, free: 15.13 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003913/0.01086, allocations: 23.94 kB / 299.9 MB, free: 15.11 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008163/0.01167, allocations: 0.5562 MB / 300.5 MB, free: 14.55 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001559/0.01323, allocations: 0.9489 MB / 301.4 MB, free: 13.59 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 9.537e-05/0.01333, allocations: 15.94 kB / 301.4 MB, free: 13.58 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002041/0.01537, allocations: 2.416 MB / 303.8 MB, free: 11.16 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00114/0.01651, allocations: 0.8331 MB / 304.7 MB, free: 10.3 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009846/0.01749, allocations: 0.8849 MB / 305.6 MB, free: 9.418 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001085/0.01858, allocations: 0.9079 MB / 306.5 MB, free: 8.508 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002195/0.0188, allocations: 92 kB / 306.6 MB, free: 8.418 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004688/0.01927, allocations: 267.6 kB / 306.8 MB, free: 8.156 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004166/0.01968, allocations: 0.6815 MB / 307.5 MB, free: 7.473 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003006/0.01998, allocations: 358.6 kB / 307.9 MB, free: 7.121 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001327/0.02131, allocations: 1.696 MB / 309.5 MB, free: 5.418 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.2e-05/0.02132, allocations: 4 kB / 309.6 MB, free: 5.414 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.02132, allocations: 0 / 309.6 MB, free: 5.414 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.209e-05/0.02139, allocations: 0 / 309.6 MB, free: 5.414 MB / 298.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.002074/0.02346, allocations: 2.243 MB / 311.8 MB, free: 3.133 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.312e-05/0.02349, allocations: 12.03 kB / 311.8 MB, free: 3.121 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001784/0.02528, allocations: 0.7354 MB / 312.5 MB, free: 2.367 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000748/0.02603, allocations: 0.6357 MB / 313.2 MB, free: 1.707 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.174e-05/0.02607, allocations: 82.47 kB / 313.3 MB, free: 1.625 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000133/0.0262, allocations: 108.3 kB / 313.4 MB, free: 1.52 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002/0.0282, allocations: 2.477 MB / 315.8 MB, free: 14.56 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.008e-05/0.02823, allocations: 23.75 kB / 315.9 MB, free: 14.54 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001103/0.02834, allocations: 59.91 kB / 315.9 MB, free: 14.48 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001076/0.02942, allocations: 0.9591 MB / 316.9 MB, free: 13.51 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002168/0.03158, allocations: 1.222 MB / 318.1 MB, free: 12.27 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01318/0.04476, allocations: 17.44 MB / 335.5 MB, free: 10.1 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006526/0.04541, allocations: 385.1 kB / 335.9 MB, free: 9.684 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001318/0.04554, allocations: 91.27 kB / 336 MB, free: 9.582 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.941e-05/0.04556, allocations: 11.98 kB / 336 MB, free: 9.57 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.983e-05/0.04559, allocations: 38.56 kB / 336.1 MB, free: 9.523 MB / 330.7 MB Notification: Performance of pre-optimization done (n=69): time 3.337e-06/0.0456, allocations: 4 kB / 336.1 MB, free: 9.52 MB / 330.7 MB Notification: Performance of matching and sorting (n=69): time 0.0006664/0.04626, allocations: 343.8 kB / 336.4 MB, free: 9.184 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.26e-05/0.04632, allocations: 140.4 kB / 336.5 MB, free: 9.016 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001398/0.04771, allocations: 1.692 MB / 338.2 MB, free: 7.273 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.417e-05/0.04775, allocations: 33.7 kB / 338.3 MB, free: 7.234 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009021/0.04865, allocations: 1.839 MB / 340.1 MB, free: 5.375 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002133/0.04886, allocations: 309.8 kB / 340.4 MB, free: 5.07 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007015/0.04956, allocations: 0.7351 MB / 341.1 MB, free: 4.328 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.236e-05/0.04966, allocations: 333.9 kB / 341.5 MB, free: 3.996 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005222/0.05018, allocations: 401.1 kB / 341.9 MB, free: 3.602 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001842/0.05202, allocations: 2.945 MB / 344.8 MB, free: 15.33 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003497/0.05552, allocations: 4.101 MB / 348.9 MB, free: 9.887 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.285e-05/0.05556, allocations: 28 kB / 348.9 MB, free: 9.859 MB / 346.7 MB Notification: Performance of matching and sorting (n=508) (initialization): time 0.01343/0.06899, allocations: 2.625 MB / 351.6 MB, free: 7.227 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.199e-05/0.06904, allocations: 44 kB / 351.6 MB, free: 7.184 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.683e-05/0.06914, allocations: 108 kB / 351.7 MB, free: 7.078 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.817e-05/0.06923, allocations: 124.8 kB / 351.8 MB, free: 6.957 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004871/0.07411, allocations: 0.9553 MB / 352.8 MB, free: 6 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001143/0.07422, allocations: 191.3 kB / 353 MB, free: 5.812 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007803/0.08202, allocations: 0.5235 MB / 353.5 MB, free: 5.285 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002647/0.08229, allocations: 220 kB / 353.7 MB, free: 5.07 MB / 346.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.00062/0.08291, allocations: 456.3 kB / 354.2 MB, free: 4.613 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001616/0.08307, allocations: 91.89 kB / 354.2 MB, free: 4.523 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001767/0.08325, allocations: 159.9 kB / 354.4 MB, free: 4.367 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.556e-05/0.08328, allocations: 15.98 kB / 354.4 MB, free: 4.352 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.08329, allocations: 7.938 kB / 354.4 MB, free: 4.344 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.371e-06/0.08329, allocations: 4 kB / 354.4 MB, free: 4.34 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007898/0.09119, allocations: 1.202 MB / 355.6 MB, free: 3.109 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.751e-05/0.09121, allocations: 8 kB / 355.6 MB, free: 3.102 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002081/0.09142, allocations: 59.86 kB / 355.7 MB, free: 3.043 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001509/0.09157, allocations: 158.7 kB / 355.8 MB, free: 2.887 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/0.09157, allocations: 0 / 355.8 MB, free: 2.887 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.665e-05/0.0916, allocations: 12 kB / 355.9 MB, free: 2.875 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/0.0916, allocations: 4 kB / 355.9 MB, free: 2.871 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.09161, allocations: 0 / 355.9 MB, free: 2.871 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005448/0.09215, allocations: 0.7554 MB / 356.6 MB, free: 2.094 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001052/0.09226, allocations: 19.92 kB / 356.6 MB, free: 2.074 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003345/0.09259, allocations: 12 kB / 356.6 MB, free: 2.062 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.876e-05/0.09264, allocations: 15.97 kB / 356.7 MB, free: 2.047 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.698e-05/0.09268, allocations: 23.98 kB / 356.7 MB, free: 2.023 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.006594/0.09927, allocations: 0.6223 MB / 357.3 MB, free: 1.371 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.09927, allocations: 0 / 357.3 MB, free: 1.371 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002114/0.1014, allocations: 0.5496 MB / 357.9 MB, free: 0.8203 MB / 346.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.0002411/0.1016, allocations: 112.2 kB / 358 MB, free: 0.7031 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.007902/0.1095, allocations: 1.514 MB / 359.5 MB, free: 15.21 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001224/0.1096, allocations: 60.22 kB / 359.5 MB, free: 15.15 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000338/0.11, allocations: 251.6 kB / 359.8 MB, free: 14.9 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001192/0.1112, allocations: 0.8774 MB / 360.7 MB, free: 13.94 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01354/0.1247, allocations: 3.353 MB / 364 MB, free: 10.52 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004983/0.1252, allocations: 0.5667 MB / 364.6 MB, free: 9.934 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000598/0.1258, allocations: 274.5 kB / 364.9 MB, free: 9.664 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002306/0.126, allocations: 271.3 kB / 365.1 MB, free: 9.398 MB / 362.7 MB Notification: Performance of SimCode: time 1.202e-06/0.126, allocations: 0 / 365.1 MB, free: 9.398 MB / 362.7 MB Notification: Performance of Templates: time 0.01996/0.146, allocations: 8.736 MB / 373.9 MB, free: 0.6602 MB / 362.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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.9764114981517196]