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.001012/0.001012, allocations: 95.5 kB / 21.2 MB, free: 3.371 MB / 18.57 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.0009544/0.0009544, allocations: 160.5 kB / 24.55 MB, free: 16 kB / 18.57 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.9353/0.9353, allocations: 177 MB / 204.8 MB, free: 5.59 MB / 186.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.2642/0.2642, allocations: 34.87 MB / 296.3 MB, free: 0.5508 MB / 266.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.643e-06/1.643e-06, allocations: 0 / 378.7 MB, free: 2.137 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.146e-05/2.31e-05, allocations: 3.156 kB / 378.7 MB, free: 2.133 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.WorldGroundVisualization): time 0.005503/0.005526, allocations: 5.254 MB / 384 MB, free: 12.85 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.002455/0.007981, allocations: 1.768 MB / 385.8 MB, free: 11.07 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002134/0.008194, allocations: 23.94 kB / 385.8 MB, free: 11.05 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009713/0.009166, allocations: 0.564 MB / 386.3 MB, free: 10.48 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001189/0.01035, allocations: 0.9606 MB / 387.3 MB, free: 9.52 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 6.965e-05/0.01042, allocations: 15.94 kB / 387.3 MB, free: 9.504 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002027/0.01245, allocations: 2.605 MB / 389.9 MB, free: 6.895 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008537/0.0133, allocations: 1.086 MB / 391 MB, free: 5.793 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006845/0.01399, allocations: 0.8728 MB / 391.9 MB, free: 4.918 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008412/0.01483, allocations: 1.017 MB / 392.9 MB, free: 3.898 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001097/0.01494, allocations: 92 kB / 393 MB, free: 3.809 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000386/0.01533, allocations: 267.5 kB / 393.2 MB, free: 3.547 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005466/0.01587, allocations: 0.7399 MB / 394 MB, free: 2.805 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003005/0.01617, allocations: 434.2 kB / 394.4 MB, free: 2.379 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001305/0.01748, allocations: 1.777 MB / 396.2 MB, free: 0.5938 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.01748, allocations: 0 / 396.2 MB, free: 0.5938 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.894e-06/0.01749, allocations: 0 / 396.2 MB, free: 0.5938 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.864e-05/0.0175, allocations: 0 / 396.2 MB, free: 0.5938 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.001978/0.01948, allocations: 2.256 MB / 398.4 MB, free: 14.28 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.966e-05/0.01952, allocations: 12.03 kB / 398.5 MB, free: 14.27 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002967/0.02249, allocations: 1.758 MB / 400.2 MB, free: 12.51 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00105/0.02354, allocations: 0.8023 MB / 401 MB, free: 11.67 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.869e-05/0.0236, allocations: 86.45 kB / 401.1 MB, free: 11.59 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001525/0.02375, allocations: 108.3 kB / 401.2 MB, free: 11.48 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002862/0.02661, allocations: 3.028 MB / 404.2 MB, free: 7.816 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.37e-05/0.02664, allocations: 23.81 kB / 404.3 MB, free: 7.793 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001213/0.02677, allocations: 63.83 kB / 404.3 MB, free: 7.73 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001136/0.0279, allocations: 1.185 MB / 405.5 MB, free: 6.543 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002553/0.03046, allocations: 1.456 MB / 407 MB, free: 5.086 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01337/0.04382, allocations: 25.05 MB / 432 MB, free: 11.13 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005705/0.04439, allocations: 381.1 kB / 432.4 MB, free: 10.71 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001633/0.04456, allocations: 134.7 kB / 432.5 MB, free: 10.56 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.647e-05/0.04457, allocations: 8 kB / 432.5 MB, free: 10.55 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.658e-05/0.0446, allocations: 37.39 kB / 432.6 MB, free: 10.51 MB / 410.7 MB Notification: Performance of pre-optimization done (n=69): time 2.064e-06/0.0446, allocations: 0 / 432.6 MB, free: 10.51 MB / 410.7 MB Notification: Performance of matching and sorting (n=69): time 0.000731/0.04533, allocations: 0.5313 MB / 433.1 MB, free: 9.973 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.849e-05/0.04539, allocations: 136.5 kB / 433.2 MB, free: 9.809 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001869/0.04726, allocations: 2.176 MB / 435.4 MB, free: 7.574 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.627e-05/0.04729, allocations: 29.7 kB / 435.4 MB, free: 7.539 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001017/0.0483, allocations: 2.005 MB / 437.4 MB, free: 5.512 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000223/0.04853, allocations: 337.7 kB / 437.8 MB, free: 5.18 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007083/0.04924, allocations: 0.8646 MB / 438.6 MB, free: 4.305 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001406/0.04938, allocations: 0.5004 MB / 439.1 MB, free: 3.797 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005051/0.04988, allocations: 347.4 kB / 439.5 MB, free: 3.457 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002592/0.05247, allocations: 4.293 MB / 443.8 MB, free: 13.34 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003887/0.05636, allocations: 5.113 MB / 448.9 MB, free: 6.398 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.185e-05/0.05641, allocations: 32 kB / 448.9 MB, free: 6.367 MB / 426.7 MB Notification: Performance of matching and sorting (n=508) (initialization): time 0.003684/0.0601, allocations: 3.275 MB / 452.2 MB, free: 3.086 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.791e-05/0.06014, allocations: 48 kB / 452.2 MB, free: 3.039 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.759e-05/0.06022, allocations: 92 kB / 452.3 MB, free: 2.949 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.602e-05/0.06032, allocations: 127.9 kB / 452.4 MB, free: 2.824 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001423/0.06174, allocations: 0.8694 MB / 453.3 MB, free: 1.953 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001156/0.06186, allocations: 187.2 kB / 453.5 MB, free: 1.77 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001292/0.06315, allocations: 0.539 MB / 454 MB, free: 1.227 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002089/0.06336, allocations: 252 kB / 454.3 MB, free: 0.9805 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.0004855/0.06384, allocations: 484.5 kB / 454.7 MB, free: 0.4922 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001809/0.06402, allocations: 186.8 kB / 454.9 MB, free: 316 kB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001449/0.06417, allocations: 159.9 kB / 455.1 MB, free: 152 kB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.172e-05/0.0642, allocations: 27.92 kB / 455.1 MB, free: 124 kB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.693e-06/0.06421, allocations: 0 / 455.1 MB, free: 124 kB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.241e-06/0.06421, allocations: 7.984 kB / 455.1 MB, free: 116 kB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1786/0.2428, allocations: 1.741 MB / 456.9 MB, free: 106.4 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.2428, allocations: 2.562 kB / 456.9 MB, free: 106.4 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001781/0.243, allocations: 63.27 kB / 456.9 MB, free: 106.4 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.46e-06/0.243, allocations: 3.031 kB / 456.9 MB, free: 106.4 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.272e-05/0.243, allocations: 15.02 kB / 456.9 MB, free: 106.4 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.458e-06/0.243, allocations: 3.094 kB / 456.9 MB, free: 106.4 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.243, allocations: 2.906 kB / 457 MB, free: 106.4 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005963/0.2436, allocations: 0.9678 MB / 457.9 MB, free: 105.8 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001226/0.2437, allocations: 158.5 kB / 458.1 MB, free: 105.7 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.722e-05/0.2438, allocations: 13.5 kB / 458.1 MB, free: 105.7 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002472/0.2441, allocations: 18.73 kB / 458.1 MB, free: 105.7 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.783e-05/0.2441, allocations: 32.2 kB / 458.1 MB, free: 105.7 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.938e-05/0.2442, allocations: 21.06 kB / 458.2 MB, free: 105.7 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0007909/0.2449, allocations: 0.8912 MB / 459 MB, free: 105.6 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.41e-07/0.2449, allocations: 0 / 459 MB, free: 105.6 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001815/0.2468, allocations: 0.5412 MB / 459.6 MB, free: 105.5 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.0002421/0.247, allocations: 128.7 kB / 459.7 MB, free: 105.4 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002323/0.2493, allocations: 1.569 MB / 461.3 MB, free: 105.4 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/0.2493, allocations: 6.719 kB / 461.3 MB, free: 105.4 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001461/0.2495, allocations: 154.6 kB / 461.4 MB, free: 105.3 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006242/0.2501, allocations: 154.2 kB / 461.6 MB, free: 105.3 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003887/0.254, allocations: 3.221 MB / 464.8 MB, free: 104 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005481/0.2545, allocations: 0.5754 MB / 465.4 MB, free: 103.9 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001446/0.256, allocations: 1.08 MB / 466.5 MB, free: 103.8 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002228/0.2582, allocations: 125.8 kB / 466.6 MB, free: 103.8 MB / 426.7 MB Notification: Performance of SimCode: time 1.062e-06/0.2582, allocations: 3.25 kB / 466.6 MB, free: 103.8 MB / 426.7 MB Notification: Performance of Templates: time 0.01745/0.2757, allocations: 12.26 MB / 478.9 MB, free: 102.7 MB / 426.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 -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.494652742985636]