Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.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.00134/0.00134, allocations: 81.31 kB / 21.25 MB, free: 0.5469 MB / 14.72 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.00153/0.00153, allocations: 158.1 kB / 24.5 MB, free: 3.719 MB / 14.72 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.444/1.444, allocations: 177.1 MB / 204.7 MB, free: 8.969 MB / 190.1 MB " [Timeout remaining time 178] 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(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|body1.frame_a.r_0.1.|body1.frame_a.r_0.2.|body1.frame_a.r_0.3.|body1.v_0.1.|body1.v_0.2.|body1.v_0.3.|body1.w_a.1.|body1.w_a.2.|body1.w_a.3.|body2.frame_a.r_0.1.|body2.frame_a.r_0.2.|body2.frame_a.r_0.3.|body2.v_0.1.|body2.v_0.2.|body2.v_0.3.|body2.w_a.1.|body2.w_a.2.|body2.w_a.3.",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|body1.frame_a.r_0.1.|body1.frame_a.r_0.2.|body1.frame_a.r_0.3.|body1.v_0.1.|body1.v_0.2.|body1.v_0.3.|body1.w_a.1.|body1.w_a.2.|body1.w_a.3.|body2.frame_a.r_0.1.|body2.frame_a.r_0.2.|body2.frame_a.r_0.3.|body2.v_0.1.|body2.v_0.2.|body2.v_0.3.|body2.w_a.1.|body2.w_a.2.|body2.w_a.3.",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001925/0.001925, allocations: 62.5 kB / 325.5 MB, free: 180 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09237/0.0943, allocations: 53.38 MB / 378.9 MB, free: 15.45 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity): time 0.007839/0.1021, allocations: 6.189 MB / 385.1 MB, free: 9.234 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005521/0.1077, allocations: 2.94 MB / 388.1 MB, free: 6.285 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004774/0.1081, allocations: 35.88 kB / 388.1 MB, free: 6.25 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001428/0.1096, allocations: 0.6652 MB / 388.8 MB, free: 5.582 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002839/0.1124, allocations: 1.401 MB / 390.2 MB, free: 4.18 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009317/0.1133, allocations: 0.4913 MB / 390.6 MB, free: 3.688 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003807/0.1171, allocations: 3.195 MB / 393.8 MB, free: 496 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007094/0.1178, allocations: 0.4944 MB / 394.3 MB, free: 15.98 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00094/0.1188, allocations: 0.8017 MB / 395.1 MB, free: 15.17 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001661/0.1205, allocations: 1.308 MB / 396.4 MB, free: 13.86 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002624/0.1207, allocations: 132 kB / 396.6 MB, free: 13.73 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001489/0.1222, allocations: 0.8423 MB / 397.4 MB, free: 12.89 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001029/0.1232, allocations: 1.098 MB / 398.5 MB, free: 11.79 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009223/0.1242, allocations: 0.8729 MB / 399.4 MB, free: 10.91 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004061/0.1282, allocations: 4.014 MB / 403.4 MB, free: 6.875 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.1282, allocations: 3.984 kB / 403.4 MB, free: 6.871 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1282, allocations: 0 / 403.4 MB, free: 6.871 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.59e-05/0.1283, allocations: 4 kB / 403.4 MB, free: 6.867 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 911 * Number of variables: 911 Notification: Performance of Generate backend data structure: time 0.005995/0.1343, allocations: 3.199 MB / 406.6 MB, free: 3.621 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/0.1343, allocations: 15.98 kB / 406.6 MB, free: 3.605 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009195/0.1435, allocations: 2.167 MB / 408.8 MB, free: 1.434 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003267/0.1468, allocations: 1.564 MB / 410.4 MB, free: 15.83 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000113/0.1469, allocations: 106.6 kB / 410.5 MB, free: 15.73 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009571/0.1478, allocations: 311.5 kB / 410.8 MB, free: 15.43 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01624/0.1641, allocations: 8.254 MB / 419 MB, free: 6.602 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001091/0.1642, allocations: 43.69 kB / 419.1 MB, free: 6.559 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004296/0.1646, allocations: 75.89 kB / 419.1 MB, free: 6.484 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002408/0.167, allocations: 1.397 MB / 420.5 MB, free: 5.086 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01981/0.1868, allocations: 9.659 MB / 430.2 MB, free: 11.42 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03816/0.225, allocations: 29.22 MB / 459.4 MB, free: 13.35 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01303/0.238, allocations: 3.983 MB / 463.4 MB, free: 9.32 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00332/0.2413, allocations: 2.086 MB / 465.5 MB, free: 7.219 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.97e-05/0.2414, allocations: 12 kB / 465.5 MB, free: 7.207 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.13e-05/0.2415, allocations: 50.5 kB / 465.5 MB, free: 7.148 MB / 430.1 MB Notification: Performance of pre-optimization done (n=122): time 3.356e-06/0.2415, allocations: 0 / 465.5 MB, free: 7.148 MB / 430.1 MB Notification: Performance of matching and sorting (n=136): time 0.2605/0.502, allocations: 18.1 MB / 483.6 MB, free: 82.19 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001866/0.5039, allocations: 2.975 MB / 486.6 MB, free: 79.29 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004264/0.5081, allocations: 2.837 MB / 489.5 MB, free: 78.27 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005446/0.5087, allocations: 41.73 kB / 489.5 MB, free: 78.23 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001162/0.5098, allocations: 2.179 MB / 491.7 MB, free: 76.66 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009603/0.5108, allocations: 0.588 MB / 492.3 MB, free: 76.23 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002274/0.5131, allocations: 1.026 MB / 493.3 MB, free: 75.76 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.204e-05/0.5131, allocations: 306.9 kB / 493.6 MB, free: 75.46 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003435/0.5165, allocations: 2.651 MB / 496.2 MB, free: 74.62 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004393/0.5209, allocations: 5.609 MB / 0.4901 GB, free: 69.54 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007588/0.5285, allocations: 8.647 MB / 0.4985 GB, free: 59.98 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001234/0.5286, allocations: 34.25 kB / 0.4986 GB, free: 59.95 MB / 430.1 MB Notification: Performance of matching and sorting (n=644) (initialization): time 0.02884/0.5575, allocations: 11.94 MB / 0.5102 GB, free: 47.99 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001119/0.5576, allocations: 52 kB / 0.5103 GB, free: 47.94 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02176/0.5793, allocations: 7.149 MB / 0.5173 GB, free: 40.77 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02163/0.601, allocations: 4.721 MB / 0.5219 GB, free: 36.01 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004222/0.6052, allocations: 1.259 MB / 0.5231 GB, free: 34.75 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01378/0.619, allocations: 11.96 MB / 0.5348 GB, free: 22.39 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005233/0.6242, allocations: 0.6162 MB / 0.5354 GB, free: 21.77 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000973/0.6252, allocations: 316.8 kB / 0.5357 GB, free: 21.46 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 475 * Number of states: 0 () * Number of discrete variables: 18 (body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (592): * Single equations (assignments): 577 * Array equations: 7 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 4 systems {(4,100.0%), (3,100.0%), (4,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 2 systems {4, 4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,1,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002633/0.6278, allocations: 1.418 MB / 0.5371 GB, free: 20.04 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007934/0.6286, allocations: 246.3 kB / 0.5373 GB, free: 19.8 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007572/0.6294, allocations: 393.5 kB / 0.5377 GB, free: 19.41 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01043/0.6398, allocations: 4.994 MB / 0.5426 GB, free: 14.38 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.197e-05/0.6398, allocations: 7.938 kB / 0.5426 GB, free: 14.37 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.968e-05/0.6398, allocations: 4.734 kB / 0.5426 GB, free: 14.36 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007793/0.6476, allocations: 4.615 MB / 0.5471 GB, free: 9.742 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-05/0.6476, allocations: 4 kB / 0.5471 GB, free: 9.738 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001653/0.6493, allocations: 372.5 kB / 0.5474 GB, free: 9.375 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007967/0.6573, allocations: 2.38 MB / 0.5498 GB, free: 6.969 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000312/0.6576, allocations: 51.94 kB / 0.5498 GB, free: 6.918 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008239/0.6658, allocations: 8.916 MB / 0.5585 GB, free: 13.6 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002387/0.6682, allocations: 2.832 MB / 0.5613 GB, free: 10.54 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01995/0.6881, allocations: 8.734 MB / 0.5698 GB, free: 1.758 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009681/0.6891, allocations: 234.2 kB / 0.57 GB, free: 1.527 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000835/0.6899, allocations: 35.27 kB / 0.5701 GB, free: 1.496 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002733/0.6927, allocations: 331.4 kB / 0.5704 GB, free: 1.172 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000546/0.6932, allocations: 111.7 kB / 0.5705 GB, free: 1.062 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002619/0.6935, allocations: 51.95 kB / 0.5705 GB, free: 1.012 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00319/0.6967, allocations: 1.633 MB / 0.5721 GB, free: 15.37 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6967, allocations: 4 kB / 0.5721 GB, free: 15.36 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.004787/0.7015, allocations: 0.9881 MB / 0.5731 GB, free: 14.38 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 24 ($STATESET2.x[3],$STATESET2.x[2],$STATESET2.x[1],body2.frame_a.r_0[1],body2.frame_a.r_0[2],body2.frame_a.r_0[3],body2.v_0[1],body2.v_0[2],body2.v_0[3],body2.w_a[1],body2.w_a[2],body2.w_a[3],$STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body1.frame_a.r_0[1],body1.frame_a.r_0[2],body1.frame_a.r_0[3],body1.v_0[1],body1.v_0[2],body1.v_0[3],body1.w_a[1],body1.w_a[2],body1.w_a[3]) * 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 (92): * Single equations (assignments): 81 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 4 systems {(3,100.0%), (4,100.0%), (3,100.0%), (4,100.0%)} * Non-linear Jacobian (size): 2 systems {4, 4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,1,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005868/0.702, allocations: 176.3 kB / 0.5733 GB, free: 14.19 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01434/0.7164, allocations: 6.895 MB / 0.58 GB, free: 7.258 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.661e-06/0.7164, allocations: 0 / 0.58 GB, free: 7.258 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007556/0.7239, allocations: 3.275 MB / 0.5832 GB, free: 3.918 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003361/0.7273, allocations: 274.2 kB / 0.5835 GB, free: 3.648 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01437/0.7417, allocations: 8.19 MB / 0.5915 GB, free: 11.4 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002907/0.7446, allocations: 1.721 MB / 0.5931 GB, free: 9.648 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.004644/0.7492, allocations: 1.634 MB / 0.5947 GB, free: 8.008 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00109/0.7503, allocations: 188.4 kB / 0.5949 GB, free: 7.824 MB / 478.1 MB Notification: Performance of SimCode: time 1.242e-06/0.7503, allocations: 0 / 0.5949 GB, free: 7.824 MB / 478.1 MB Notification: Performance of Templates: time 0.07667/0.827, allocations: 42.35 MB / 0.6363 GB, free: 13.65 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/PointGravity/PointGravity.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.415102384984493]