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.0007758/0.0007758, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00108/0.001856, allocations: 457.8 kB / 10.45 MB, free: 244 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.0006981/0.0006981, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009941/0.001692, allocations: 475.6 kB / 11.82 MB, free: 2.348 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.9414/0.9414, allocations: 177.5 MB / 190.1 MB, free: 4.773 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09661/1.038, allocations: 53.87 MB / 243.9 MB, free: 14.84 MB / 250.7 MB " [Timeout remaining time 179] 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.[0-9,]+.|body1.v_0.[0-9,]+.|body1.w_a.[0-9,]+.|body2.frame_a.r_0.[0-9,]+.|body2.v_0.[0-9,]+.|body2.w_a.[0-9,]+.",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.[0-9,]+.|body1.v_0.[0-9,]+.|body1.w_a.[0-9,]+.|body2.frame_a.r_0.[0-9,]+.|body2.v_0.[0-9,]+.|body2.w_a.[0-9,]+.",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0 / 245.2 MB, free: 13.55 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.974e-05/2.111e-05, allocations: 5.688 kB / 245.2 MB, free: 13.54 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity): time 0.005133/0.005154, allocations: 6.712 MB / 251.9 MB, free: 6.797 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.004545/0.009699, allocations: 3.149 MB / 255.1 MB, free: 3.637 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007175/0.01042, allocations: 39.81 kB / 255.1 MB, free: 3.598 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009879/0.0114, allocations: 0.6963 MB / 255.8 MB, free: 2.898 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002302/0.01371, allocations: 1.416 MB / 257.2 MB, free: 1.477 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000772/0.01448, allocations: 0.4989 MB / 257.7 MB, free: 0.9766 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.003189/0.01767, allocations: 3.728 MB / 261.5 MB, free: 13.24 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009695/0.01864, allocations: 0.5027 MB / 262 MB, free: 12.72 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001684/0.02032, allocations: 1.525 MB / 263.5 MB, free: 11.2 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001568/0.02189, allocations: 1.5 MB / 265 MB, free: 9.695 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002667/0.02216, allocations: 140 kB / 265.1 MB, free: 9.559 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001249/0.0234, allocations: 0.9203 MB / 266 MB, free: 8.637 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006542/0.02406, allocations: 1.04 MB / 267.1 MB, free: 7.594 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005214/0.02458, allocations: 0.5372 MB / 267.6 MB, free: 7.055 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002486/0.02707, allocations: 2.626 MB / 270.3 MB, free: 4.418 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.311e-05/0.02708, allocations: 0 / 270.3 MB, free: 4.418 MB / 266.7 MB Notification: Performance of FrontEnd: time 3.006e-06/0.02708, allocations: 3.938 kB / 270.3 MB, free: 4.414 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001422/0.02722, allocations: 0 / 270.3 MB, free: 4.414 MB / 266.7 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.004046/0.03127, allocations: 3.323 MB / 273.6 MB, free: 1.031 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.688e-05/0.03131, allocations: 8.625 kB / 273.6 MB, free: 1.023 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.116/0.1473, allocations: 1.027 MB / 274.6 MB, free: 12.93 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001899/0.1492, allocations: 1.182 MB / 275.8 MB, free: 12.74 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.525e-05/0.1493, allocations: 112.7 kB / 275.9 MB, free: 12.74 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005672/0.1499, allocations: 293.6 kB / 276.2 MB, free: 12.73 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005352/0.1552, allocations: 3.922 MB / 280.1 MB, free: 11.17 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.955e-05/0.1553, allocations: 33.69 kB / 280.1 MB, free: 11.17 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001764/0.1554, allocations: 77.31 kB / 280.2 MB, free: 11.17 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001222/0.1567, allocations: 1.123 MB / 281.3 MB, free: 11.17 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006396/0.1631, allocations: 3.085 MB / 284.4 MB, free: 11.08 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01768/0.1807, allocations: 22.83 MB / 307.3 MB, free: 9.598 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0042/0.1849, allocations: 1.807 MB / 309.1 MB, free: 8.938 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005824/0.1855, allocations: 0.5256 MB / 309.6 MB, free: 8.547 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.074e-05/0.1856, allocations: 17.06 kB / 309.6 MB, free: 8.531 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.926e-05/0.1856, allocations: 50.12 kB / 309.7 MB, free: 8.477 MB / 282.7 MB Notification: Performance of pre-optimization done (n=122): time 3.106e-06/0.1856, allocations: 0 / 309.7 MB, free: 8.477 MB / 282.7 MB Notification: Performance of matching and sorting (n=136): time 0.01613/0.2017, allocations: 6.23 MB / 315.9 MB, free: 2.281 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001681/0.2034, allocations: 2.84 MB / 318.7 MB, free: 15.22 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002163/0.2056, allocations: 2.343 MB / 321.1 MB, free: 13.27 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004547/0.206, allocations: 41.7 kB / 321.1 MB, free: 13.23 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008852/0.2069, allocations: 2.047 MB / 323.2 MB, free: 11.3 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007697/0.2077, allocations: 0.5897 MB / 323.8 MB, free: 10.74 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000994/0.2087, allocations: 0.9249 MB / 324.7 MB, free: 9.914 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.135e-05/0.2087, allocations: 303.9 kB / 325 MB, free: 9.617 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00132/0.2101, allocations: 0.8405 MB / 325.8 MB, free: 8.77 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002559/0.2126, allocations: 3.674 MB / 329.5 MB, free: 3.805 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00471/0.2173, allocations: 5.298 MB / 334.8 MB, free: 13.27 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.169e-05/0.2174, allocations: 32.81 kB / 334.8 MB, free: 13.24 MB / 314.7 MB Notification: Performance of matching and sorting (n=644) (initialization): time 0.01108/0.2285, allocations: 4.546 MB / 339.4 MB, free: 8.66 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.458e-05/0.2286, allocations: 48 kB / 339.4 MB, free: 8.613 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001197/0.2287, allocations: 112 kB / 339.5 MB, free: 8.504 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006796/0.2355, allocations: 0.9892 MB / 340.5 MB, free: 7.484 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002996/0.2385, allocations: 1.178 MB / 341.7 MB, free: 6.305 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005761/0.2442, allocations: 5.767 MB / 347.5 MB, free: 196 kB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003286/0.2475, allocations: 231.8 kB / 347.7 MB, free: 15.96 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007829/0.2483, allocations: 277 kB / 348 MB, free: 15.7 MB / 330.7 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 (world.gravityArrowColor[1],world.gravityArrowColor[2],world.gravityArrowColor[3],world.groundColor[1],world.groundColor[2],world.groundColor[3],world.axisColor_x[1],world.axisColor_x[2],world.axisColor_x[3],world.gravitySphereColor[1],world.gravitySphereColor[2],world.gravitySphereColor[3],body1.sphereColor[1],body1.sphereColor[2],body1.sphereColor[3],body2.sphereColor[1],body2.sphereColor[2],body2.sphereColor[3]) * 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.001348/0.2496, allocations: 0.5069 MB / 348.5 MB, free: 15.18 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004911/0.2501, allocations: 155.8 kB / 348.6 MB, free: 15.03 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004191/0.2505, allocations: 344.7 kB / 348.9 MB, free: 14.69 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003242/0.2538, allocations: 1.24 MB / 350.2 MB, free: 13.41 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-05/0.2538, allocations: 11.98 kB / 350.2 MB, free: 13.4 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.127e-05/0.2538, allocations: 3.984 kB / 350.2 MB, free: 13.4 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003951/0.2578, allocations: 2.497 MB / 352.7 MB, free: 11.03 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.915e-05/0.2578, allocations: 4 kB / 352.7 MB, free: 11.02 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008781/0.2587, allocations: 211.7 kB / 352.9 MB, free: 10.82 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007235/0.2594, allocations: 248.9 kB / 353.2 MB, free: 10.57 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002967/0.2624, allocations: 0.8625 MB / 354 MB, free: 9.68 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002315/0.2626, allocations: 43.95 kB / 354.1 MB, free: 9.637 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003569/0.2662, allocations: 5.531 MB / 359.6 MB, free: 3.762 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001263/0.2674, allocations: 2.671 MB / 362.3 MB, free: 0.8945 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004943/0.2724, allocations: 2.668 MB / 364.9 MB, free: 14.2 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004836/0.2728, allocations: 31.98 kB / 365 MB, free: 14.17 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001026/0.2739, allocations: 24 kB / 365 MB, free: 14.14 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002943/0.2742, allocations: 115.4 kB / 365.1 MB, free: 14.03 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001175/0.2743, allocations: 49.17 kB / 365.1 MB, free: 13.99 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000993/0.2753, allocations: 0.8337 MB / 366 MB, free: 13.24 MB / 346.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.2753, allocations: 0 / 366 MB, free: 13.24 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.003158/0.2784, allocations: 1.143 MB / 367.1 MB, free: 12.1 MB / 346.7 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.0004507/0.2789, allocations: 170.2 kB / 367.3 MB, free: 11.93 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.005223/0.2841, allocations: 3.396 MB / 370.7 MB, free: 8.68 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001396/0.2842, allocations: 63.94 kB / 370.7 MB, free: 8.609 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002201/0.2864, allocations: 1.516 MB / 372.3 MB, free: 7.051 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002774/0.2892, allocations: 1.999 MB / 374.3 MB, free: 4.809 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009058/0.2983, allocations: 5.497 MB / 379.8 MB, free: 15.26 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008651/0.2991, allocations: 0.7986 MB / 380.6 MB, free: 14.43 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.001349/0.3005, allocations: 374.3 kB / 380.9 MB, free: 14.07 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009509/0.3014, allocations: 409.2 kB / 381.3 MB, free: 13.66 MB / 362.7 MB Notification: Performance of SimCode: time 1.973e-06/0.3014, allocations: 4 kB / 381.3 MB, free: 13.66 MB / 362.7 MB Notification: Performance of Templates: time 0.1557/0.4572, allocations: 47.11 MB / 428.4 MB, free: 122.9 MB / 394.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/PointGravity/PointGravity.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.4308045702055097]