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.0007601/0.0007601, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009855/0.001746, allocations: 449.7 kB / 10.37 MB, free: 328 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.000693/0.000693, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008883/0.001581, allocations: 455.6 kB / 11.71 MB, free: 2.461 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 1.077/1.077, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1146/1.191, allocations: 53.65 MB / 243.3 MB, free: 15.59 MB / 250.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.3112/0.3112, allocations: 32.79 MB / 276.8 MB, free: 15.86 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03528/0.3465, allocations: 12.53 MB / 289.3 MB, free: 8.672 MB / 282.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.703e-06/1.703e-06, allocations: 0 / 290.6 MB, free: 7.668 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.351e-05/3.522e-05, allocations: 4.203 kB / 290.6 MB, free: 7.664 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.WorldGroundVisualization): time 0.01323/0.01327, allocations: 5.255 MB / 295.8 MB, free: 3.059 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0102/0.02347, allocations: 1.81 MB / 297.6 MB, free: 1.242 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001028/0.02449, allocations: 23.94 kB / 297.7 MB, free: 1.219 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001101/0.02559, allocations: 0.5601 MB / 298.2 MB, free: 0.6562 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0054/0.03099, allocations: 0.9489 MB / 299.2 MB, free: 15.7 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001477/0.03114, allocations: 23.97 kB / 299.2 MB, free: 15.68 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.006519/0.03766, allocations: 2.416 MB / 301.6 MB, free: 13.26 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004696/0.04236, allocations: 0.8332 MB / 302.4 MB, free: 12.41 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001539/0.0439, allocations: 0.8965 MB / 303.3 MB, free: 11.51 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001503/0.0454, allocations: 0.9079 MB / 304.2 MB, free: 10.6 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003214/0.04572, allocations: 91.94 kB / 304.3 MB, free: 10.51 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005611/0.04628, allocations: 267.7 kB / 304.6 MB, free: 10.25 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004555/0.04674, allocations: 0.6738 MB / 305.3 MB, free: 9.57 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003751/0.04711, allocations: 366.5 kB / 305.6 MB, free: 9.211 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001766/0.04888, allocations: 1.695 MB / 307.3 MB, free: 7.508 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.813e-05/0.0489, allocations: 0 / 307.3 MB, free: 7.508 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.136e-06/0.0489, allocations: 0 / 307.3 MB, free: 7.508 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0001062/0.049, allocations: 0 / 307.3 MB, free: 7.508 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.002928/0.05193, allocations: 2.247 MB / 309.6 MB, free: 5.223 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.793e-05/0.05198, allocations: 8.031 kB / 309.6 MB, free: 5.215 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001914/0.05389, allocations: 0.7354 MB / 310.3 MB, free: 4.461 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009321/0.05483, allocations: 0.6357 MB / 311 MB, free: 3.797 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.206e-05/0.05488, allocations: 82.47 kB / 311 MB, free: 3.715 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001291/0.05501, allocations: 112.3 kB / 311.1 MB, free: 3.605 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0024/0.05741, allocations: 2.477 MB / 313.6 MB, free: 0.6445 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.851e-05/0.05745, allocations: 19.81 kB / 313.6 MB, free: 0.625 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001129/0.05756, allocations: 59.91 kB / 313.7 MB, free: 0.5664 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001058/0.05862, allocations: 1.045 MB / 314.7 MB, free: 15.52 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001867/0.06048, allocations: 1.215 MB / 316 MB, free: 14.29 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01558/0.07606, allocations: 17.44 MB / 333.4 MB, free: 12.12 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000666/0.07673, allocations: 392.2 kB / 333.8 MB, free: 11.7 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001283/0.07686, allocations: 94.3 kB / 333.9 MB, free: 11.59 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.047e-05/0.07688, allocations: 7.938 kB / 333.9 MB, free: 11.59 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.347e-05/0.07692, allocations: 38.56 kB / 333.9 MB, free: 11.54 MB / 330.7 MB Notification: Performance of pre-optimization done (n=69): time 7.133e-06/0.07693, allocations: 0 / 333.9 MB, free: 11.54 MB / 330.7 MB Notification: Performance of matching and sorting (n=69): time 0.0007489/0.07768, allocations: 338.2 kB / 334.3 MB, free: 11.21 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.789e-05/0.07776, allocations: 144.4 kB / 334.4 MB, free: 11.04 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001528/0.07929, allocations: 1.699 MB / 336.1 MB, free: 9.285 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.273e-05/0.07932, allocations: 33.7 kB / 336.1 MB, free: 9.246 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009751/0.0803, allocations: 1.835 MB / 338 MB, free: 7.391 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002156/0.08052, allocations: 309.8 kB / 338.3 MB, free: 7.086 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00058/0.0811, allocations: 0.7428 MB / 339 MB, free: 6.336 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001141/0.08121, allocations: 329.9 kB / 339.3 MB, free: 6.008 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004301/0.08164, allocations: 397.1 kB / 339.7 MB, free: 5.617 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001872/0.08351, allocations: 2.941 MB / 342.7 MB, free: 1.348 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003372/0.08688, allocations: 3.799 MB / 346.5 MB, free: 12.21 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.528e-05/0.08695, allocations: 28 kB / 346.5 MB, free: 12.18 MB / 346.7 MB Notification: Performance of matching and sorting (n=508) (initialization): time 0.003708/0.09066, allocations: 2.625 MB / 349.1 MB, free: 9.551 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.471e-05/0.09071, allocations: 48 kB / 349.2 MB, free: 9.504 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-05/0.09078, allocations: 96 kB / 349.2 MB, free: 9.41 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.599e-05/0.09087, allocations: 120 kB / 349.4 MB, free: 9.293 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001534/0.0924, allocations: 0.9514 MB / 350.3 MB, free: 8.34 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.909e-05/0.09249, allocations: 183.3 kB / 350.5 MB, free: 8.16 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001648/0.09414, allocations: 0.5235 MB / 351 MB, free: 7.633 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002082/0.09435, allocations: 224 kB / 351.2 MB, free: 7.414 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.0007544/0.0951, allocations: 452.3 kB / 351.7 MB, free: 6.961 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001954/0.0953, allocations: 91.89 kB / 351.8 MB, free: 6.871 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001718/0.09547, allocations: 163.9 kB / 351.9 MB, free: 6.711 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.77e-05/0.09552, allocations: 16 kB / 351.9 MB, free: 6.695 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.378e-06/0.09553, allocations: 7.938 kB / 352 MB, free: 6.688 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.572e-06/0.09553, allocations: 0 / 352 MB, free: 6.688 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001917/0.09745, allocations: 1.195 MB / 353.1 MB, free: 5.461 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.917e-06/0.09746, allocations: 4 kB / 353.2 MB, free: 5.457 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001714/0.09763, allocations: 63.84 kB / 353.2 MB, free: 5.395 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001712/0.0978, allocations: 150.6 kB / 353.4 MB, free: 5.246 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.035e-06/0.09781, allocations: 8.031 kB / 353.4 MB, free: 5.238 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.292e-05/0.09783, allocations: 12 kB / 353.4 MB, free: 5.227 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.759e-06/0.09784, allocations: 3.938 kB / 353.4 MB, free: 5.223 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.621e-06/0.09784, allocations: 4 kB / 353.4 MB, free: 5.219 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005593/0.0984, allocations: 0.7661 MB / 354.2 MB, free: 4.43 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.995e-05/0.09849, allocations: 8 kB / 354.2 MB, free: 4.422 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002159/0.09871, allocations: 4 kB / 354.2 MB, free: 4.418 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.324e-05/0.09875, allocations: 27.89 kB / 354.2 MB, free: 4.391 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.106e-05/0.09878, allocations: 19.98 kB / 354.2 MB, free: 4.371 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0005192/0.0993, allocations: 0.6301 MB / 354.8 MB, free: 3.711 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.4e-07/0.0993, allocations: 0 / 354.8 MB, free: 3.711 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002042/0.1013, allocations: 0.5457 MB / 355.4 MB, free: 3.164 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.0002747/0.1016, allocations: 112.2 kB / 355.5 MB, free: 3.047 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001831/0.1035, allocations: 1.445 MB / 356.9 MB, free: 1.617 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001099/0.1036, allocations: 59.88 kB / 357 MB, free: 1.551 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001281/0.1037, allocations: 114 kB / 357.1 MB, free: 1.438 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006809/0.1044, allocations: 254.4 kB / 357.4 MB, free: 1.188 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005327/0.1097, allocations: 3.351 MB / 360.7 MB, free: 13.77 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005294/0.1102, allocations: 0.5748 MB / 361.3 MB, free: 13.17 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000666/0.1109, allocations: 286.2 kB / 361.6 MB, free: 12.89 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002911/0.1112, allocations: 283.3 kB / 361.8 MB, free: 12.61 MB / 362.7 MB Notification: Performance of SimCode: time 2.865e-06/0.1112, allocations: 0 / 361.8 MB, free: 12.61 MB / 362.7 MB Notification: Performance of Templates: time 0.02515/0.1363, allocations: 12.85 MB / 374.7 MB, free: 15.87 MB / 378.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 -ignoreHideResult -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.533930660225451]