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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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=5000,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=5000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001032/0.001032, allocations: 99.59 kB / 17.01 MB, free: 6.074 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001391/0.001391, allocations: 197 kB / 17.91 MB, free: 5.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.331/1.331, allocations: 227.7 MB / 246.4 MB, free: 11.56 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002015/0.0002015, allocations: 4 kB / 307.1 MB, free: 1.188 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08992/0.09014, allocations: 51.53 MB / 358.6 MB, free: 13.66 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity): time 0.01178/0.102, allocations: 12.43 MB / 371.1 MB, free: 1.188 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1571/0.259, allocations: 3.946 MB / 375 MB, free: 8.613 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008383/0.2599, allocations: 55.97 kB / 375.1 MB, free: 8.613 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001082/0.261, allocations: 0.5956 MB / 375.7 MB, free: 8.598 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004327/0.2653, allocations: 2.179 MB / 377.8 MB, free: 8.188 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009237/0.2663, allocations: 433.6 kB / 378.3 MB, free: 8.172 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.004365/0.2707, allocations: 3.331 MB / 381.6 MB, free: 7.848 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006908/0.2714, allocations: 0.5231 MB / 382.1 MB, free: 7.645 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009211/0.2723, allocations: 0.7645 MB / 382.9 MB, free: 7.508 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001446/0.2737, allocations: 1.295 MB / 384.2 MB, free: 7.352 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001949/0.2739, allocations: 83.95 kB / 384.3 MB, free: 7.352 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001326/0.2753, allocations: 0.8075 MB / 385.1 MB, free: 7.211 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007849/0.2761, allocations: 1.035 MB / 386.1 MB, free: 6.84 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003463/0.2764, allocations: 498.4 kB / 386.6 MB, free: 6.703 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002248/0.2787, allocations: 2.954 MB / 389.5 MB, free: 5.199 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.2787, allocations: 0 / 389.5 MB, free: 5.199 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.2787, allocations: 0 / 389.5 MB, free: 5.199 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.982e-05/0.2787, allocations: 0 / 389.5 MB, free: 5.199 MB / 302.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.004494/0.2832, allocations: 2.712 MB / 392.3 MB, free: 3.496 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.442e-05/0.2833, allocations: 10.38 kB / 392.3 MB, free: 3.496 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007461/0.2908, allocations: 2.04 MB / 394.3 MB, free: 2.562 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002394/0.2932, allocations: 1.548 MB / 395.9 MB, free: 1.875 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.584e-05/0.2933, allocations: 118 kB / 396 MB, free: 1.867 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007851/0.2941, allocations: 301.6 kB / 396.3 MB, free: 1.816 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01261/0.3067, allocations: 8.23 MB / 404.5 MB, free: 11.25 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.123e-05/0.3068, allocations: 31.66 kB / 404.5 MB, free: 11.22 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002587/0.307, allocations: 86.23 kB / 404.6 MB, free: 11.17 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00216/0.3092, allocations: 1.394 MB / 406 MB, free: 9.781 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01726/0.3265, allocations: 9.518 MB / 415.5 MB, free: 276 kB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03318/0.3597, allocations: 30.56 MB / 446.1 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01124/0.371, allocations: 4.428 MB / 450.5 MB, free: 12.41 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002702/0.3737, allocations: 2.106 MB / 452.6 MB, free: 10.29 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.481e-05/0.3738, allocations: 24.3 kB / 452.6 MB, free: 10.27 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.263e-05/0.3738, allocations: 50.55 kB / 452.7 MB, free: 10.21 MB / 366.1 MB Notification: Performance of pre-optimization done (n=122): time 3.447e-06/0.3738, allocations: 3.938 kB / 452.7 MB, free: 10.2 MB / 366.1 MB Notification: Performance of matching and sorting (n=136): time 0.04367/0.4175, allocations: 18.4 MB / 471.1 MB, free: 7.539 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002222/0.4197, allocations: 3.062 MB / 474.2 MB, free: 4.156 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004269/0.424, allocations: 2.96 MB / 477.1 MB, free: 1.176 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003634/0.4244, allocations: 45.7 kB / 477.2 MB, free: 1.125 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001523/0.4259, allocations: 2.079 MB / 479.2 MB, free: 15.05 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007442/0.4267, allocations: 0.5648 MB / 479.8 MB, free: 14.5 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003082/0.427, allocations: 96 kB / 479.9 MB, free: 14.4 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0003345/0.4274, allocations: 0.5088 MB / 480.4 MB, free: 13.89 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003764/0.4311, allocations: 2.609 MB / 483 MB, free: 11.27 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005707/0.4368, allocations: 5.565 MB / 488.6 MB, free: 4.227 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00498/0.4418, allocations: 3.676 MB / 492.3 MB, free: 0.5508 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.658e-05/0.4419, allocations: 28 kB / 492.3 MB, free: 0.5234 MB / 398.1 MB Notification: Performance of matching and sorting (n=644) (initialization): time 0.02955/0.4714, allocations: 11.87 MB / 0.4923 GB, free: 4.621 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.241e-05/0.4716, allocations: 52.25 kB / 0.4924 GB, free: 4.57 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02168/0.4932, allocations: 7.156 MB / 0.4994 GB, free: 13.39 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02077/0.5141, allocations: 4.737 MB / 0.504 GB, free: 8.617 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004563/0.5187, allocations: 1.244 MB / 0.5052 GB, free: 7.371 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01586/0.5345, allocations: 11.49 MB / 0.5164 GB, free: 11.34 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005147/0.5397, allocations: 0.5795 MB / 0.517 GB, free: 10.76 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001355/0.5411, allocations: 323.9 kB / 0.5173 GB, free: 10.45 MB / 446.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 (linear and non-linear blocks): 6 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 4 {(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 2 {4,4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003561/0.5447, allocations: 1.413 MB / 0.5187 GB, free: 9.023 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007895/0.5455, allocations: 248.7 kB / 0.5189 GB, free: 8.777 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001276/0.5468, allocations: 422.9 kB / 0.5193 GB, free: 8.355 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01132/0.5581, allocations: 5.01 MB / 0.5242 GB, free: 3.309 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.71e-05/0.5582, allocations: 8 kB / 0.5242 GB, free: 3.301 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.423e-05/0.5582, allocations: 3.984 kB / 0.5242 GB, free: 3.297 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1976/0.7558, allocations: 5.346 MB / 0.5295 GB, free: 142.6 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.617e-05/0.7559, allocations: 3.594 kB / 0.5295 GB, free: 142.6 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002033/0.7579, allocations: 370.1 kB / 0.5298 GB, free: 142.6 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007885/0.7658, allocations: 2.384 MB / 0.5322 GB, free: 142.5 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002653/0.7661, allocations: 47.3 kB / 0.5322 GB, free: 142.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008513/0.7746, allocations: 8.838 MB / 0.5408 GB, free: 137.4 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001476/0.7761, allocations: 2.897 MB / 0.5437 GB, free: 134.7 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01594/0.7921, allocations: 8.754 MB / 0.5522 GB, free: 132.2 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009457/0.7931, allocations: 334.2 kB / 0.5525 GB, free: 132 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006294/0.7937, allocations: 38.06 kB / 0.5526 GB, free: 132 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001908/0.7956, allocations: 314.9 kB / 0.5529 GB, free: 132 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004095/0.796, allocations: 100.4 kB / 0.553 GB, free: 132 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001711/0.7962, allocations: 50.8 kB / 0.553 GB, free: 132 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00264/0.7989, allocations: 1.853 MB / 0.5548 GB, free: 131.4 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.7989, allocations: 0.9375 kB / 0.5548 GB, free: 131.4 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004286/0.8032, allocations: 0.9928 MB / 0.5558 GB, free: 131.3 MB / 446.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 (linear and non-linear blocks): 6 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 4 {(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%)} * Non-linear Jacobian: 2 {4,4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004685/0.8036, allocations: 171.5 kB / 0.556 GB, free: 131.2 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.009598/0.8133, allocations: 7.379 MB / 0.5632 GB, free: 127.9 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.8133, allocations: 4 kB / 0.5632 GB, free: 127.9 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004949/0.8182, allocations: 3.608 MB / 0.5667 GB, free: 124.5 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001912/0.8202, allocations: 299.7 kB / 0.567 GB, free: 124.3 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009928/0.8301, allocations: 9.317 MB / 0.5761 GB, free: 115 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001595/0.8317, allocations: 2.293 MB / 0.5783 GB, free: 112.7 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003316/0.835, allocations: 1.667 MB / 0.5799 GB, free: 111 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006679/0.8357, allocations: 195.3 kB / 0.5801 GB, free: 110.8 MB / 446.1 MB Notification: Performance of SimCode: time 9.32e-07/0.8357, allocations: 0 / 0.5801 GB, free: 110.8 MB / 446.1 MB Notification: Performance of Templates: time 0.05095/0.8867, allocations: 42.86 MB / 0.622 GB, free: 68.08 MB / 446.1 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.makefile (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 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/PointGravity/PointGravity.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches