Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.WorldGroundVisualization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001283/0.001283, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001723/0.003006, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00108/0.00108, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002015/0.003096, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.983/0.983, allocations: 177.5 MB / 190 MB, free: 4.797 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.118/1.101, allocations: 53.86 MB / 243.9 MB, free: 14.87 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3202/0.3202, allocations: 34.89 MB / 279.6 MB, free: 14.9 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02475/0.345, allocations: 13.24 MB / 292.8 MB, free: 6.391 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.MultiBody.WorldGroundVisualization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|visGroundAxis.n.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.WorldGroundVisualization") translateModel(ModelicaTest.MultiBody.WorldGroundVisualization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|visGroundAxis.n.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.WorldGroundVisualization") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.312e-06/1.312e-06, allocations: 0 / 294.1 MB, free: 5.125 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.2e-05/2.331e-05, allocations: 3.984 kB / 294.1 MB, free: 5.121 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.WorldGroundVisualization): time 0.004442/0.004465, allocations: 5.262 MB / 299.3 MB, free: 15.84 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002201/0.006667, allocations: 1.819 MB / 301.1 MB, free: 14.01 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002209/0.006888, allocations: 23.94 kB / 301.2 MB, free: 13.99 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006757/0.007564, allocations: 0.5561 MB / 301.7 MB, free: 13.43 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001074/0.008638, allocations: 0.9528 MB / 302.7 MB, free: 12.47 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 5.823e-05/0.008696, allocations: 15.98 kB / 302.7 MB, free: 12.46 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001597/0.01029, allocations: 2.405 MB / 305.1 MB, free: 10.06 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005813/0.01087, allocations: 0.837 MB / 305.9 MB, free: 9.199 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006129/0.01149, allocations: 0.8888 MB / 306.8 MB, free: 8.309 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006925/0.01218, allocations: 0.9118 MB / 307.7 MB, free: 7.395 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001049/0.01228, allocations: 92 kB / 307.8 MB, free: 7.305 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000602/0.01289, allocations: 271.6 kB / 308.1 MB, free: 7.039 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000361/0.01325, allocations: 0.6777 MB / 308.8 MB, free: 6.359 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002473/0.01349, allocations: 362.5 kB / 309.1 MB, free: 6.004 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001093/0.01459, allocations: 1.688 MB / 310.8 MB, free: 4.309 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.232e-05/0.0146, allocations: 4 kB / 310.8 MB, free: 4.305 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.814e-06/0.0146, allocations: 4 kB / 310.8 MB, free: 4.301 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.358e-05/0.01463, allocations: 0 / 310.8 MB, free: 4.301 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.00162/0.01625, allocations: 2.243 MB / 313.1 MB, free: 2.02 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.035e-05/0.01628, allocations: 15.44 kB / 313.1 MB, free: 2.008 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001643/0.01792, allocations: 0.7354 MB / 313.8 MB, free: 1.25 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006084/0.01853, allocations: 0.6396 MB / 314.5 MB, free: 0.5859 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.112e-05/0.01857, allocations: 86.47 kB / 314.5 MB, free: 0.5 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001295/0.0187, allocations: 112.3 kB / 314.6 MB, free: 400 kB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002099/0.0208, allocations: 2.482 MB / 317.1 MB, free: 13.43 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.81e-05/0.02083, allocations: 19.81 kB / 317.1 MB, free: 13.41 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001065/0.02093, allocations: 59.91 kB / 317.2 MB, free: 13.36 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008374/0.02177, allocations: 0.9591 MB / 318.2 MB, free: 12.39 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001382/0.02315, allocations: 1.216 MB / 319.4 MB, free: 11.16 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01011/0.03326, allocations: 17.44 MB / 336.8 MB, free: 8.988 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003983/0.03366, allocations: 379.7 kB / 337.2 MB, free: 8.578 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.195e-05/0.03375, allocations: 91.86 kB / 337.3 MB, free: 8.477 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.516e-05/0.03376, allocations: 8.094 kB / 337.3 MB, free: 8.469 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.234e-05/0.03379, allocations: 42.61 kB / 337.3 MB, free: 8.418 MB / 330.7 MB Notification: Performance of pre-optimization done (n=69): time 2.033e-06/0.03379, allocations: 7.938 kB / 337.3 MB, free: 8.41 MB / 330.7 MB Notification: Performance of matching and sorting (n=69): time 0.0004475/0.03423, allocations: 326.8 kB / 337.7 MB, free: 8.086 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.945e-05/0.03428, allocations: 144.4 kB / 337.8 MB, free: 7.914 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000979/0.03526, allocations: 1.695 MB / 339.5 MB, free: 6.168 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.443e-05/0.03529, allocations: 33.7 kB / 339.5 MB, free: 6.129 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006902/0.03598, allocations: 1.835 MB / 341.4 MB, free: 4.273 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001411/0.03612, allocations: 305.8 kB / 341.7 MB, free: 3.973 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004801/0.0366, allocations: 0.7389 MB / 342.4 MB, free: 3.227 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.222e-05/0.03667, allocations: 333.9 kB / 342.7 MB, free: 2.895 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003612/0.03703, allocations: 401.1 kB / 343.1 MB, free: 2.5 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001592/0.03862, allocations: 2.941 MB / 346.1 MB, free: 14.23 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002688/0.04131, allocations: 4.111 MB / 350.2 MB, free: 8.777 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.867e-05/0.04134, allocations: 31.94 kB / 350.2 MB, free: 8.746 MB / 346.7 MB Notification: Performance of matching and sorting (n=508) (initialization): time 0.002265/0.04361, allocations: 2.629 MB / 352.8 MB, free: 6.113 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.909e-05/0.04365, allocations: 44 kB / 352.9 MB, free: 6.07 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.867e-05/0.04371, allocations: 100 kB / 353 MB, free: 5.973 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.135e-05/0.04379, allocations: 124.8 kB / 353.1 MB, free: 5.852 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001278/0.04506, allocations: 0.9553 MB / 354 MB, free: 4.895 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.46e-05/0.04515, allocations: 187.3 kB / 354.2 MB, free: 4.711 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001062/0.04621, allocations: 0.5273 MB / 354.8 MB, free: 4.18 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001685/0.04638, allocations: 232 kB / 355 MB, free: 3.953 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.0006637/0.04704, allocations: 444.3 kB / 355.4 MB, free: 3.504 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001158/0.04716, allocations: 95.88 kB / 355.5 MB, free: 3.41 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001365/0.04729, allocations: 163.9 kB / 355.7 MB, free: 3.25 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.158e-05/0.04732, allocations: 8 kB / 355.7 MB, free: 3.242 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/0.04732, allocations: 7.938 kB / 355.7 MB, free: 3.234 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/0.04733, allocations: 7.984 kB / 355.7 MB, free: 3.227 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001427/0.04876, allocations: 1.189 MB / 356.9 MB, free: 2.004 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-05/0.04877, allocations: 11.98 kB / 356.9 MB, free: 1.992 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001482/0.04892, allocations: 63.86 kB / 357 MB, free: 1.93 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001156/0.04903, allocations: 146.7 kB / 357.1 MB, free: 1.785 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.938e-06/0.04904, allocations: 4 kB / 357.1 MB, free: 1.781 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.136e-05/0.04906, allocations: 15.97 kB / 357.1 MB, free: 1.766 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.866e-06/0.04906, allocations: 0 / 357.1 MB, free: 1.766 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.04906, allocations: 4 kB / 357.1 MB, free: 1.762 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000413/0.04947, allocations: 0.756 MB / 357.9 MB, free: 0.9844 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.973e-05/0.04954, allocations: 8 kB / 357.9 MB, free: 0.9766 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002105/0.04975, allocations: 12 kB / 357.9 MB, free: 0.9648 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.85e-05/0.04979, allocations: 23.95 kB / 357.9 MB, free: 0.9414 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.531e-05/0.04982, allocations: 20 kB / 357.9 MB, free: 0.9219 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0004514/0.05027, allocations: 0.6262 MB / 358.6 MB, free: 272 kB / 346.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.05027, allocations: 3.938 kB / 358.6 MB, free: 268 kB / 346.7 MB Notification: Performance of remove unused functions: time 0.001317/0.05159, allocations: 0.5535 MB / 359.1 MB, free: 15.71 MB / 362.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.0002249/0.05181, allocations: 112.2 kB / 359.2 MB, free: 15.59 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001143/0.05295, allocations: 1.516 MB / 360.8 MB, free: 14.1 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 8.211e-05/0.05304, allocations: 55.94 kB / 360.8 MB, free: 14.04 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002466/0.05328, allocations: 263.6 kB / 361.1 MB, free: 13.78 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008357/0.05412, allocations: 0.8734 MB / 361.9 MB, free: 12.82 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003681/0.0578, allocations: 3.36 MB / 365.3 MB, free: 9.402 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005021/0.0583, allocations: 0.5667 MB / 365.9 MB, free: 8.812 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0007241/0.05903, allocations: 270.5 kB / 366.1 MB, free: 8.547 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002305/0.05926, allocations: 271.3 kB / 366.4 MB, free: 8.281 MB / 362.7 MB Notification: Performance of SimCode: time 1.103e-06/0.05926, allocations: 0 / 366.4 MB, free: 8.281 MB / 362.7 MB Notification: Performance of Templates: time 0.01789/0.07715, allocations: 8.721 MB / 375.1 MB, free: 15.54 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.WorldGroundVisualization.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.WorldGroundVisualization.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.WorldGroundVisualization.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.WorldGroundVisualization.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.WorldGroundVisualization.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.WorldGroundVisualization -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.WorldGroundVisualization.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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: 3.1956876143813133]