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.001372/0.001372, allocations: 88.86 kB / 21.5 MB, free: 2.988 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.001779/0.001779, allocations: 163.4 kB / 24.91 MB, free: 8.715 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 0.9704/0.9704, allocations: 177 MB / 205.2 MB, free: 5.059 MB / 186.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.232e-06/1.232e-06, allocations: 0 / 273.4 MB, free: 1.027 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.794e-05/1.918e-05, allocations: 9.266 kB / 273.4 MB, free: 1.02 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity): time 0.005967/0.005987, allocations: 6.65 MB / 280.1 MB, free: 10.34 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005371/0.01136, allocations: 3.11 MB / 283.2 MB, free: 7.215 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008342/0.01219, allocations: 35.88 kB / 283.2 MB, free: 7.18 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001234/0.01343, allocations: 0.7001 MB / 283.9 MB, free: 6.477 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002485/0.01591, allocations: 1.424 MB / 285.4 MB, free: 5.047 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007584/0.01667, allocations: 0.5612 MB / 285.9 MB, free: 4.484 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003382/0.02005, allocations: 3.879 MB / 289.8 MB, free: 0.6016 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1137/0.1337, allocations: 0.7052 MB / 290.5 MB, free: 15.8 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002568/0.1363, allocations: 1.296 MB / 291.8 MB, free: 15.8 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003097/0.1394, allocations: 1.514 MB / 293.3 MB, free: 15.8 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006797/0.1401, allocations: 137.2 kB / 293.4 MB, free: 15.8 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001841/0.1419, allocations: 0.9203 MB / 294.4 MB, free: 15.8 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001234/0.1432, allocations: 1.157 MB / 295.5 MB, free: 15.75 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001567/0.1447, allocations: 0.6696 MB / 296.2 MB, free: 15.62 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004235/0.149, allocations: 2.873 MB / 299.1 MB, free: 15.21 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.112e-06/0.149, allocations: 2.469 kB / 299.1 MB, free: 15.21 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.785e-06/0.149, allocations: 0.9688 kB / 299.1 MB, free: 15.21 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001816/0.1492, allocations: 0 / 299.1 MB, free: 15.21 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.005705/0.1549, allocations: 2.765 MB / 301.8 MB, free: 13.95 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.733e-05/0.1549, allocations: 12.2 kB / 301.8 MB, free: 13.95 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003922/0.1588, allocations: 1.042 MB / 302.9 MB, free: 13.93 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00185/0.1607, allocations: 1.186 MB / 304.1 MB, free: 13.56 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.455e-05/0.1608, allocations: 109.7 kB / 304.2 MB, free: 13.55 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00055/0.1613, allocations: 296.5 kB / 304.5 MB, free: 13.53 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005667/0.167, allocations: 3.934 MB / 308.4 MB, free: 11.31 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.505e-05/0.1671, allocations: 39.69 kB / 308.4 MB, free: 11.31 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001935/0.1673, allocations: 84.92 kB / 308.5 MB, free: 11.28 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001081/0.1683, allocations: 1.198 MB / 309.7 MB, free: 10.86 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005639/0.174, allocations: 3.14 MB / 312.9 MB, free: 8.59 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01875/0.1927, allocations: 22.86 MB / 335.7 MB, free: 1.438 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004985/0.1977, allocations: 1.834 MB / 337.6 MB, free: 15.61 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007367/0.1984, allocations: 0.5232 MB / 338.1 MB, free: 15.07 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.043e-05/0.1985, allocations: 24 kB / 338.1 MB, free: 15.05 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.334e-05/0.1985, allocations: 49.41 kB / 338.2 MB, free: 14.99 MB / 298.7 MB Notification: Performance of pre-optimization done (n=122): time 4.578e-06/0.1985, allocations: 3.984 kB / 338.2 MB, free: 14.99 MB / 298.7 MB Notification: Performance of matching and sorting (n=136): time 0.01698/0.2155, allocations: 6.253 MB / 344.4 MB, free: 8.723 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001381/0.2169, allocations: 2.829 MB / 347.2 MB, free: 5.656 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002355/0.2193, allocations: 2.329 MB / 349.6 MB, free: 3.715 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001863/0.2194, allocations: 45.02 kB / 349.6 MB, free: 3.668 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001211/0.2207, allocations: 2.059 MB / 351.7 MB, free: 1.719 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000621/0.2213, allocations: 0.5859 MB / 352.3 MB, free: 1.168 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001038/0.2223, allocations: 0.9127 MB / 353.2 MB, free: 360 kB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.243e-05/0.2224, allocations: 301.1 kB / 353.5 MB, free: 56 kB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001533/0.2239, allocations: 0.8647 MB / 354.3 MB, free: 15.19 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002982/0.2269, allocations: 3.685 MB / 358 MB, free: 10.16 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004893/0.2318, allocations: 5.062 MB / 363.1 MB, free: 3.645 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.533e-05/0.2319, allocations: 28 kB / 363.1 MB, free: 3.617 MB / 314.7 MB Notification: Performance of matching and sorting (n=644) (initialization): time 0.01153/0.2434, allocations: 4.552 MB / 367.7 MB, free: 15.02 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.861e-05/0.2435, allocations: 52 kB / 367.7 MB, free: 14.97 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.007386/0.2509, allocations: 1.7 MB / 369.4 MB, free: 13.23 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00746/0.2583, allocations: 0.9763 MB / 370.4 MB, free: 12.22 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002863/0.2612, allocations: 1.1 MB / 371.5 MB, free: 11.12 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006205/0.2674, allocations: 5.828 MB / 377.3 MB, free: 4.906 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003519/0.2709, allocations: 227.8 kB / 377.5 MB, free: 4.684 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006412/0.2715, allocations: 279.9 kB / 377.8 MB, free: 4.41 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.001333/0.2729, allocations: 0.4961 MB / 378.3 MB, free: 3.902 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004361/0.2733, allocations: 167.8 kB / 378.5 MB, free: 3.738 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003746/0.2737, allocations: 340.7 kB / 378.8 MB, free: 3.398 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003366/0.2771, allocations: 1.246 MB / 380 MB, free: 2.109 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.547e-05/0.2771, allocations: 11.94 kB / 380.1 MB, free: 2.098 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.249e-05/0.2771, allocations: 11.97 kB / 380.1 MB, free: 2.086 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004001/0.2811, allocations: 2.489 MB / 382.6 MB, free: 15.54 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.853e-06/0.2811, allocations: 0 / 382.6 MB, free: 15.54 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008183/0.2819, allocations: 187.7 kB / 382.7 MB, free: 15.36 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003023/0.2849, allocations: 0.8624 MB / 383.6 MB, free: 14.46 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001718/0.2851, allocations: 47.94 kB / 383.6 MB, free: 14.41 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003851/0.289, allocations: 5.577 MB / 389.2 MB, free: 8.445 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001237/0.2902, allocations: 2.667 MB / 391.9 MB, free: 5.566 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005057/0.2952, allocations: 2.665 MB / 394.6 MB, free: 2.852 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006092/0.2959, allocations: 246.2 kB / 394.8 MB, free: 2.609 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003108/0.2962, allocations: 31.98 kB / 394.8 MB, free: 2.578 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008744/0.297, allocations: 24 kB / 394.9 MB, free: 2.555 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003287/0.2974, allocations: 107.7 kB / 395 MB, free: 2.449 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000118/0.2975, allocations: 43.94 kB / 395 MB, free: 2.406 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.00112/0.2986, allocations: 0.8329 MB / 395.8 MB, free: 1.559 MB / 346.7 MB Notification: Performance of sort global known variables: time 4e-08/0.2986, allocations: 0 / 395.8 MB, free: 1.559 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.003226/0.3018, allocations: 1.144 MB / 397 MB, free: 424 kB / 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.000417/0.3023, allocations: 162.2 kB / 397.1 MB, free: 252 kB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.005163/0.3074, allocations: 3.3 MB / 400.4 MB, free: 12.88 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001166/0.3075, allocations: 64.12 kB / 400.5 MB, free: 12.81 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002115/0.3096, allocations: 1.46 MB / 402 MB, free: 11.28 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001732/0.3114, allocations: 420.5 kB / 402.4 MB, free: 10.88 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007425/0.3188, allocations: 5.471 MB / 407.8 MB, free: 5.316 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008447/0.3196, allocations: 0.7774 MB / 408.6 MB, free: 4.52 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.001306/0.321, allocations: 379.5 kB / 409 MB, free: 4.145 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009846/0.3219, allocations: 421.2 kB / 409.4 MB, free: 3.734 MB / 362.7 MB Notification: Performance of SimCode: time 1.553e-06/0.3219, allocations: 0 / 409.4 MB, free: 3.734 MB / 362.7 MB Notification: Performance of Templates: time 0.1603/0.4822, allocations: 47.86 MB / 457.3 MB, free: 105.1 MB / 378.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 -s gbode -gbm=radauIIA3 -emit_protected -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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.8698283419944346]