Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/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_3.2.3_cpp_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_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001439/0.001439, allocations: 179.6 kB / 16.41 MB, free: 5.699 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.641/1.641, allocations: 205.4 MB / 222.5 MB, free: 9.109 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007448/0.0007449, allocations: 87.34 kB / 270.9 MB, free: 8.363 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000285/0.000285, allocations: 8 kB / 327 MB, free: 192 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.214/0.2143, allocations: 47.58 MB / 374.6 MB, free: 45.42 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity): time 0.009736/0.2241, allocations: 12.51 MB / 387.1 MB, free: 35.77 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0073/0.2314, allocations: 3.979 MB / 391.1 MB, free: 32.32 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001269/0.2328, allocations: 59.81 kB / 391.1 MB, free: 32.26 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009187/0.2337, allocations: 0.5871 MB / 391.7 MB, free: 31.67 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003675/0.2374, allocations: 2.219 MB / 393.9 MB, free: 29.45 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007307/0.2381, allocations: 435.3 kB / 394.3 MB, free: 29.02 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002598/0.2407, allocations: 3.272 MB / 397.6 MB, free: 25.74 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004616/0.2412, allocations: 0.5204 MB / 398.1 MB, free: 25.18 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006076/0.2418, allocations: 0.7784 MB / 398.9 MB, free: 24.4 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001032/0.2429, allocations: 1.316 MB / 400.2 MB, free: 23.08 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001703/0.243, allocations: 80 kB / 400.3 MB, free: 23 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001129/0.2442, allocations: 0.8112 MB / 401.1 MB, free: 22.19 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000596/0.2448, allocations: 1.056 MB / 402.2 MB, free: 21.13 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000272/0.2451, allocations: 0.4923 MB / 402.7 MB, free: 20.63 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001797/0.2469, allocations: 2.994 MB / 405.7 MB, free: 17.63 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.2469, allocations: 0 / 405.7 MB, free: 17.63 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.2469, allocations: 3.938 kB / 405.7 MB, free: 17.62 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.796e-05/0.2469, allocations: 4 kB / 405.7 MB, free: 17.62 MB / 298.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.004471/0.2514, allocations: 2.741 MB / 408.4 MB, free: 14.82 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.91e-05/0.2514, allocations: 8.031 kB / 408.4 MB, free: 14.81 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006734/0.2582, allocations: 1.935 MB / 410.4 MB, free: 12.87 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002308/0.2605, allocations: 1.706 MB / 412.1 MB, free: 11.12 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.387e-05/0.2606, allocations: 110.6 kB / 412.2 MB, free: 11.01 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007182/0.2613, allocations: 303.5 kB / 412.5 MB, free: 10.71 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01131/0.2726, allocations: 8.223 MB / 420.7 MB, free: 1.926 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.44e-05/0.2728, allocations: 43.59 kB / 420.7 MB, free: 1.883 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002486/0.273, allocations: 83.88 kB / 420.8 MB, free: 1.801 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001666/0.2747, allocations: 1.397 MB / 422.2 MB, free: 416 kB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01675/0.2915, allocations: 9.51 MB / 431.7 MB, free: 6.891 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03134/0.3229, allocations: 30.59 MB / 462.3 MB, free: 7.438 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01072/0.3336, allocations: 4.418 MB / 466.7 MB, free: 2.859 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002431/0.3361, allocations: 2.11 MB / 468.8 MB, free: 0.7344 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.863e-05/0.3362, allocations: 15.98 kB / 468.9 MB, free: 0.7188 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.929e-05/0.3362, allocations: 46.5 kB / 468.9 MB, free: 0.6641 MB / 346.7 MB Notification: Performance of pre-optimization done (n=122): time 3.487e-06/0.3362, allocations: 4 kB / 468.9 MB, free: 0.6602 MB / 346.7 MB Notification: Performance of matching and sorting (n=136): time 0.04225/0.3785, allocations: 18.44 MB / 487.3 MB, free: 13.93 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002069/0.3806, allocations: 3.054 MB / 490.4 MB, free: 10.55 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003662/0.3843, allocations: 2.979 MB / 493.4 MB, free: 7.555 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004744/0.3847, allocations: 41.7 kB / 493.4 MB, free: 7.508 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001292/0.386, allocations: 2.087 MB / 495.5 MB, free: 5.391 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006837/0.3867, allocations: 0.571 MB / 496.1 MB, free: 4.812 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00024/0.387, allocations: 92 kB / 496.2 MB, free: 4.723 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002691/0.3873, allocations: 0.5129 MB / 496.7 MB, free: 4.203 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003513/0.3908, allocations: 2.613 MB / 499.3 MB, free: 1.582 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1551/0.5459, allocations: 5.575 MB / 0.493 GB, free: 104.7 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005186/0.5511, allocations: 3.671 MB / 0.4966 GB, free: 103.7 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.223e-05/0.5512, allocations: 35.05 kB / 0.4966 GB, free: 103.7 MB / 378.7 MB Notification: Performance of matching and sorting (n=644) (initialization): time 0.02755/0.5788, allocations: 11.74 MB / 0.5081 GB, free: 100.2 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.273e-05/0.5789, allocations: 51.94 kB / 0.5082 GB, free: 100.2 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01898/0.5978, allocations: 7.002 MB / 0.515 GB, free: 93.9 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01961/0.6175, allocations: 4.562 MB / 0.5195 GB, free: 89.31 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003695/0.6212, allocations: 1.244 MB / 0.5207 GB, free: 88.07 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01213/0.6334, allocations: 11.45 MB / 0.5318 GB, free: 76.15 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004505/0.6379, allocations: 0.5731 MB / 0.5324 GB, free: 75.59 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005182/0.6384, allocations: 322.3 kB / 0.5327 GB, free: 75.28 MB / 378.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 (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.001728/0.6402, allocations: 1.414 MB / 0.5341 GB, free: 73.91 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000385/0.6406, allocations: 263.8 kB / 0.5343 GB, free: 73.79 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005622/0.6411, allocations: 407.2 kB / 0.5347 GB, free: 73.39 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009595/0.6507, allocations: 5.012 MB / 0.5396 GB, free: 68.35 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.964e-05/0.6508, allocations: 4 kB / 0.5396 GB, free: 68.35 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.079e-05/0.6508, allocations: 19.14 kB / 0.5397 GB, free: 68.33 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006181/0.657, allocations: 5.344 MB / 0.5449 GB, free: 62.98 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.051e-06/0.657, allocations: 0 / 0.5449 GB, free: 62.98 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001524/0.6585, allocations: 371.4 kB / 0.5452 GB, free: 62.62 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007455/0.666, allocations: 2.382 MB / 0.5476 GB, free: 60.21 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001895/0.6662, allocations: 43.95 kB / 0.5476 GB, free: 60.16 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006577/0.6728, allocations: 8.844 MB / 0.5562 GB, free: 50.84 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001173/0.674, allocations: 2.891 MB / 0.5591 GB, free: 47.68 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01319/0.6872, allocations: 8.772 MB / 0.5676 GB, free: 38.87 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005651/0.6878, allocations: 329.7 kB / 0.5679 GB, free: 38.52 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003243/0.6881, allocations: 35.98 kB / 0.568 GB, free: 38.49 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001893/0.69, allocations: 320.3 kB / 0.5683 GB, free: 38.18 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002761/0.6903, allocations: 103.8 kB / 0.5684 GB, free: 38.07 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001465/0.6905, allocations: 53.36 kB / 0.5684 GB, free: 38.02 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.002031/0.6925, allocations: 1.867 MB / 0.5702 GB, free: 36.15 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.6925, allocations: 0 / 0.5702 GB, free: 36.15 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003278/0.6958, allocations: 1.008 MB / 0.5712 GB, free: 35.15 MB / 378.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 (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.0003629/0.6962, allocations: 169.4 kB / 0.5714 GB, free: 34.97 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.009654/0.7058, allocations: 7.393 MB / 0.5786 GB, free: 27.47 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.197e-06/0.7058, allocations: 0 / 0.5786 GB, free: 27.47 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005169/0.711, allocations: 3.626 MB / 0.5822 GB, free: 23.71 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001867/0.7129, allocations: 298.5 kB / 0.5824 GB, free: 23.42 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009259/0.7222, allocations: 9.601 MB / 0.5918 GB, free: 13.76 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001515/0.7237, allocations: 2.289 MB / 0.594 GB, free: 11.44 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001028/0.7247, allocations: 243.3 kB / 0.5943 GB, free: 11.2 MB / 378.7 MB Notification: Performance of SimCode: time 8.11e-07/0.7248, allocations: 0 / 0.5943 GB, free: 11.2 MB / 378.7 MB Notification: Performance of Templates: time 0.2731/0.9979, allocations: 145 MB / 0.7359 GB, free: 70.91 MB / 426.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.sim & ./Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/PointGravity/PointGravity.csv","../files/Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches