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.001122/0.001122, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001767/0.002889, allocations: 449.7 kB / 10.37 MB, free: 324 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.00112/0.00112, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001429/0.002549, allocations: 463.6 kB / 11.72 MB, free: 2.453 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.9786/0.9786, allocations: 177.4 MB / 189.9 MB, free: 4.844 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.108/1.087, allocations: 53.87 MB / 243.7 MB, free: 14.91 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.2621/0.2621, allocations: 34.86 MB / 279.3 MB, free: 14.92 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02218/0.2843, allocations: 13.23 MB / 292.6 MB, free: 6.484 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 7.82e-07/7.82e-07, allocations: 0 / 293.8 MB, free: 5.234 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.298e-06/1.008e-05, allocations: 3.953 kB / 293.8 MB, free: 5.23 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.WorldGroundVisualization): time 0.005306/0.005316, allocations: 5.251 MB / 299.1 MB, free: 15.95 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002884/0.0082, allocations: 1.815 MB / 300.9 MB, free: 14.13 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004997/0.008699, allocations: 19.94 kB / 300.9 MB, free: 14.11 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008494/0.009549, allocations: 0.564 MB / 301.5 MB, free: 13.55 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001462/0.01101, allocations: 0.9489 MB / 302.4 MB, free: 12.59 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 6.182e-05/0.01107, allocations: 11.98 kB / 302.4 MB, free: 12.58 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002244/0.01332, allocations: 2.422 MB / 304.9 MB, free: 10.16 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001093/0.01441, allocations: 0.837 MB / 305.7 MB, free: 9.305 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000995/0.0154, allocations: 0.8926 MB / 306.6 MB, free: 8.41 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001055/0.01646, allocations: 0.9118 MB / 307.5 MB, free: 7.496 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001643/0.01662, allocations: 91.94 kB / 307.6 MB, free: 7.406 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004466/0.01707, allocations: 259.8 kB / 307.9 MB, free: 7.152 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004839/0.01756, allocations: 0.6854 MB / 308.5 MB, free: 6.465 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003704/0.01793, allocations: 362.6 kB / 308.9 MB, free: 6.109 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001534/0.01946, allocations: 1.692 MB / 310.6 MB, free: 4.41 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.352e-05/0.01947, allocations: 0 / 310.6 MB, free: 4.41 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.01947, allocations: 0 / 310.6 MB, free: 4.41 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.133e-05/0.01953, allocations: 0 / 310.6 MB, free: 4.41 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.002426/0.02195, allocations: 2.244 MB / 312.8 MB, free: 2.129 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.994e-05/0.02198, allocations: 8.922 kB / 312.8 MB, free: 2.121 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002235/0.02422, allocations: 0.7393 MB / 313.6 MB, free: 1.363 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008536/0.02507, allocations: 0.6279 MB / 314.2 MB, free: 0.7031 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.813e-05/0.02513, allocations: 94.45 kB / 314.3 MB, free: 0.6094 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001763/0.0253, allocations: 112.3 kB / 314.4 MB, free: 0.5 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002463/0.02777, allocations: 2.474 MB / 316.9 MB, free: 13.55 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.352e-05/0.0278, allocations: 19.81 kB / 316.9 MB, free: 13.53 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001371/0.02794, allocations: 59.91 kB / 317 MB, free: 13.47 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001185/0.02912, allocations: 1.041 MB / 318 MB, free: 12.43 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001992/0.03112, allocations: 1.228 MB / 319.2 MB, free: 11.19 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01153/0.04264, allocations: 17.44 MB / 336.7 MB, free: 9.016 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004792/0.04312, allocations: 383.5 kB / 337 MB, free: 8.602 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001284/0.04325, allocations: 97.52 kB / 337.1 MB, free: 8.496 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.403e-05/0.04326, allocations: 4 kB / 337.1 MB, free: 8.492 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.375e-05/0.04329, allocations: 38.56 kB / 337.2 MB, free: 8.445 MB / 330.7 MB Notification: Performance of pre-optimization done (n=69): time 1.963e-06/0.04329, allocations: 0 / 337.2 MB, free: 8.445 MB / 330.7 MB Notification: Performance of matching and sorting (n=69): time 0.0005733/0.04386, allocations: 336.2 kB / 337.5 MB, free: 8.113 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.229e-05/0.04391, allocations: 144.5 kB / 337.6 MB, free: 7.941 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001375/0.04529, allocations: 1.699 MB / 339.3 MB, free: 6.191 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3e-05/0.04532, allocations: 29.7 kB / 339.4 MB, free: 6.156 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009024/0.04622, allocations: 1.839 MB / 341.2 MB, free: 4.297 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000185/0.04641, allocations: 305.8 kB / 341.5 MB, free: 3.996 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006935/0.0471, allocations: 0.7428 MB / 342.3 MB, free: 3.246 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.382e-05/0.04719, allocations: 329.9 kB / 342.6 MB, free: 2.918 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005133/0.04771, allocations: 397.1 kB / 343 MB, free: 2.527 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002117/0.04982, allocations: 2.945 MB / 345.9 MB, free: 14.25 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002952/0.05278, allocations: 3.805 MB / 349.7 MB, free: 9.109 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.978e-05/0.05282, allocations: 28 kB / 349.7 MB, free: 9.082 MB / 346.7 MB Notification: Performance of matching and sorting (n=508) (initialization): time 0.003118/0.05593, allocations: 2.624 MB / 352.4 MB, free: 6.453 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.058e-05/0.05598, allocations: 48 kB / 352.4 MB, free: 6.406 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.18e-05/0.05607, allocations: 92 kB / 352.5 MB, free: 6.316 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.899e-05/0.05616, allocations: 124 kB / 352.6 MB, free: 6.195 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001826/0.05799, allocations: 0.9553 MB / 353.6 MB, free: 5.238 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001179/0.05811, allocations: 183.9 kB / 353.8 MB, free: 5.059 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001549/0.05966, allocations: 0.5274 MB / 354.3 MB, free: 4.527 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001676/0.05983, allocations: 232 kB / 354.5 MB, free: 4.301 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.0004245/0.06025, allocations: 444.3 kB / 354.9 MB, free: 3.855 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001115/0.06036, allocations: 91.89 kB / 355 MB, free: 3.766 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00014/0.0605, allocations: 163.9 kB / 355.2 MB, free: 3.605 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-05/0.06052, allocations: 16 kB / 355.2 MB, free: 3.59 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.904e-06/0.06053, allocations: 11.94 kB / 355.2 MB, free: 3.578 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.06054, allocations: 7.922 kB / 355.2 MB, free: 3.57 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001282/0.06182, allocations: 1.189 MB / 356.4 MB, free: 2.348 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.06182, allocations: 8 kB / 356.4 MB, free: 2.34 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001384/0.06196, allocations: 63.84 kB / 356.5 MB, free: 2.277 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001076/0.06207, allocations: 146.7 kB / 356.6 MB, free: 2.133 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.06207, allocations: 4 kB / 356.6 MB, free: 2.129 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.71e-05/0.06209, allocations: 8 kB / 356.6 MB, free: 2.121 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.936e-06/0.06209, allocations: 3.938 kB / 356.6 MB, free: 2.117 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.06209, allocations: 0 / 356.6 MB, free: 2.117 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000394/0.06249, allocations: 0.7633 MB / 357.4 MB, free: 1.328 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.409e-05/0.06256, allocations: 8 kB / 357.4 MB, free: 1.32 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002433/0.0628, allocations: 7.984 kB / 357.4 MB, free: 1.312 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.162e-05/0.06286, allocations: 27.89 kB / 357.5 MB, free: 1.285 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.246e-05/0.06289, allocations: 20 kB / 357.5 MB, free: 1.266 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0006202/0.06351, allocations: 0.6301 MB / 358.1 MB, free: 0.6055 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.06351, allocations: 0 / 358.1 MB, free: 0.6055 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001917/0.06543, allocations: 0.5457 MB / 358.6 MB, free: 60 kB / 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.0002399/0.06567, allocations: 112.1 kB / 358.8 MB, free: 15.94 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001499/0.06717, allocations: 1.448 MB / 360.2 MB, free: 14.51 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001088/0.06727, allocations: 56.88 kB / 360.3 MB, free: 14.45 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001416/0.06742, allocations: 114 kB / 360.4 MB, free: 14.34 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007768/0.06819, allocations: 248.9 kB / 360.6 MB, free: 14.09 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004529/0.07272, allocations: 3.354 MB / 364 MB, free: 10.67 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000559/0.07328, allocations: 0.5669 MB / 364.5 MB, free: 10.08 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0007483/0.07403, allocations: 285.7 kB / 364.8 MB, free: 9.801 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003427/0.07437, allocations: 279.3 kB / 365.1 MB, free: 9.527 MB / 362.7 MB Notification: Performance of SimCode: time 1.393e-06/0.07437, allocations: 0 / 365.1 MB, free: 9.527 MB / 362.7 MB Notification: Performance of Templates: time 0.02162/0.09599, allocations: 12.85 MB / 377.9 MB, free: 12.8 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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.193274036049843]