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.001391/0.001391, allocations: 79.69 kB / 21.7 MB, free: 2.852 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.001847/0.001847, allocations: 160.9 kB / 24.99 MB, free: 8.801 MB / 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 1.047/1.047, allocations: 177 MB / 205.2 MB, free: 5.605 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.3175/0.3175, allocations: 34.86 MB / 296.6 MB, free: 460 kB / 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 3.166e-06/3.166e-06, allocations: 0 / 378.7 MB, free: 2.438 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.191e-05/3.508e-05, allocations: 2.312 kB / 378.7 MB, free: 2.434 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.WorldGroundVisualization): time 0.005025/0.00506, allocations: 5.249 MB / 384 MB, free: 13.15 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.002374/0.007433, allocations: 1.756 MB / 385.7 MB, free: 11.39 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002704/0.007704, allocations: 23.94 kB / 385.7 MB, free: 11.37 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009234/0.008627, allocations: 0.564 MB / 386.3 MB, free: 10.8 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001177/0.009804, allocations: 0.949 MB / 387.3 MB, free: 9.848 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 7.279e-05/0.009877, allocations: 23.91 kB / 387.3 MB, free: 9.824 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002007/0.01188, allocations: 2.587 MB / 389.9 MB, free: 7.234 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008351/0.01272, allocations: 1.094 MB / 391 MB, free: 6.125 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007408/0.01346, allocations: 0.8651 MB / 391.8 MB, free: 5.258 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008622/0.01432, allocations: 1.017 MB / 392.8 MB, free: 4.238 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001189/0.01444, allocations: 96 kB / 392.9 MB, free: 4.145 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003788/0.01482, allocations: 263.6 kB / 393.2 MB, free: 3.887 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004228/0.01524, allocations: 0.7438 MB / 393.9 MB, free: 3.141 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003256/0.01557, allocations: 434.2 kB / 394.4 MB, free: 2.715 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001681/0.01725, allocations: 1.766 MB / 396.1 MB, free: 0.9414 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.01725, allocations: 0 / 396.1 MB, free: 0.9414 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.01725, allocations: 0 / 396.1 MB, free: 0.9414 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.245e-05/0.01728, allocations: 4 kB / 396.1 MB, free: 0.9375 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.001999/0.01928, allocations: 2.272 MB / 398.4 MB, free: 14.61 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.258e-05/0.01933, allocations: 8.031 kB / 398.4 MB, free: 14.6 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003097/0.02243, allocations: 1.762 MB / 400.2 MB, free: 12.84 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008844/0.02331, allocations: 0.7673 MB / 400.9 MB, free: 12.04 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.747e-05/0.02337, allocations: 82.47 kB / 401 MB, free: 11.95 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000156/0.02352, allocations: 108.3 kB / 401.1 MB, free: 11.85 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003128/0.02665, allocations: 3.028 MB / 404.2 MB, free: 8.184 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.184e-05/0.02668, allocations: 19.81 kB / 404.2 MB, free: 8.164 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000123/0.02681, allocations: 67.89 kB / 404.2 MB, free: 8.098 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00116/0.02797, allocations: 1.181 MB / 405.4 MB, free: 6.914 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002706/0.03067, allocations: 1.456 MB / 406.9 MB, free: 5.457 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01942/0.05009, allocations: 25.06 MB / 431.9 MB, free: 11.49 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006645/0.05076, allocations: 377.1 kB / 432.3 MB, free: 11.07 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001788/0.05094, allocations: 130.6 kB / 432.4 MB, free: 10.93 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.689e-05/0.05095, allocations: 12 kB / 432.4 MB, free: 10.91 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.988e-05/0.05098, allocations: 45.31 kB / 432.5 MB, free: 10.86 MB / 410.7 MB Notification: Performance of pre-optimization done (n=69): time 4.428e-06/0.05099, allocations: 0 / 432.5 MB, free: 10.86 MB / 410.7 MB Notification: Performance of matching and sorting (n=69): time 0.001047/0.05203, allocations: 0.5309 MB / 433 MB, free: 10.32 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.349e-05/0.05211, allocations: 140.5 kB / 433.2 MB, free: 10.16 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002018/0.05413, allocations: 2.172 MB / 435.3 MB, free: 7.926 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.508e-05/0.05416, allocations: 33.73 kB / 435.4 MB, free: 7.887 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001022/0.05518, allocations: 2.009 MB / 437.4 MB, free: 5.855 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002235/0.05541, allocations: 325.8 kB / 437.7 MB, free: 5.535 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001145/0.05655, allocations: 0.8646 MB / 438.6 MB, free: 4.66 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001213/0.05667, allocations: 0.5004 MB / 439.1 MB, free: 4.152 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004868/0.05716, allocations: 343.4 kB / 439.4 MB, free: 3.816 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002774/0.05993, allocations: 4.297 MB / 443.7 MB, free: 13.7 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004235/0.06417, allocations: 5.116 MB / 448.8 MB, free: 6.754 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.56e-05/0.06423, allocations: 28 kB / 448.8 MB, free: 6.727 MB / 426.7 MB Notification: Performance of matching and sorting (n=508) (initialization): time 0.004336/0.06857, allocations: 3.264 MB / 452.1 MB, free: 3.453 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.461e-05/0.06864, allocations: 44 kB / 452.1 MB, free: 3.41 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.437e-05/0.06872, allocations: 96 kB / 452.2 MB, free: 3.316 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001031/0.06882, allocations: 127.9 kB / 452.4 MB, free: 3.191 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00146/0.07028, allocations: 0.8733 MB / 453.2 MB, free: 2.316 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.806e-05/0.07038, allocations: 183.3 kB / 453.4 MB, free: 2.137 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001728/0.07211, allocations: 0.5468 MB / 454 MB, free: 1.586 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002327/0.07234, allocations: 248 kB / 454.2 MB, free: 1.344 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.0006728/0.07301, allocations: 492.4 kB / 454.7 MB, free: 0.8477 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000185/0.0732, allocations: 182.8 kB / 454.9 MB, free: 0.668 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001557/0.07336, allocations: 159.9 kB / 455 MB, free: 0.5078 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.866e-05/0.0734, allocations: 31.91 kB / 455 MB, free: 488 kB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.574e-06/0.07341, allocations: 0 / 455 MB, free: 488 kB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.975e-06/0.07342, allocations: 4 kB / 455 MB, free: 484 kB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1768/0.2502, allocations: 1.744 MB / 456.8 MB, free: 110.1 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.292e-06/0.2502, allocations: 2.656 kB / 456.8 MB, free: 110.1 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002089/0.2504, allocations: 59.48 kB / 456.9 MB, free: 110.1 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.362e-06/0.2504, allocations: 2.688 kB / 456.9 MB, free: 110.1 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.247e-05/0.2504, allocations: 12.81 kB / 456.9 MB, free: 110.1 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.499e-06/0.2504, allocations: 6.906 kB / 456.9 MB, free: 110.1 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.2504, allocations: 2.75 kB / 456.9 MB, free: 110.1 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006442/0.2511, allocations: 0.9802 MB / 457.9 MB, free: 109.6 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002214/0.2513, allocations: 161.9 kB / 458 MB, free: 109.5 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.04e-05/0.2514, allocations: 6.844 kB / 458 MB, free: 109.5 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002607/0.2517, allocations: 15.8 kB / 458 MB, free: 109.5 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.902e-05/0.2517, allocations: 31.14 kB / 458.1 MB, free: 109.5 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.368e-05/0.2517, allocations: 17.56 kB / 458.1 MB, free: 109.5 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0009837/0.2527, allocations: 0.8915 MB / 459 MB, free: 109.4 MB / 426.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2527, allocations: 2.844 kB / 459 MB, free: 109.4 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001977/0.2547, allocations: 0.5429 MB / 459.5 MB, free: 109.3 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.0002545/0.255, allocations: 129.6 kB / 459.6 MB, free: 109.2 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002111/0.2571, allocations: 1.567 MB / 461.2 MB, free: 109 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.397e-06/0.2571, allocations: 2.781 kB / 461.2 MB, free: 109 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001555/0.2572, allocations: 161.6 kB / 461.4 MB, free: 109 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006769/0.2579, allocations: 153.5 kB / 461.5 MB, free: 108.9 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003881/0.2618, allocations: 3.224 MB / 464.7 MB, free: 107.5 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004425/0.2622, allocations: 0.5785 MB / 465.3 MB, free: 107.3 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001477/0.2637, allocations: 1.084 MB / 466.4 MB, free: 107.2 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000214/0.2639, allocations: 122.2 kB / 466.5 MB, free: 107.2 MB / 426.7 MB Notification: Performance of SimCode: time 1.874e-06/0.2639, allocations: 0 / 466.5 MB, free: 107.2 MB / 426.7 MB Notification: Performance of Templates: time 0.02114/0.2851, allocations: 11.71 MB / 478.2 MB, free: 106.1 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.858687967993319]