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/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) 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/Complex trunk/package.mo): time 0.001294/0.001294, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.301/1.301, allocations: 226.8 MB / 245.5 MB, free: 6.969 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009418/0.0009418, allocations: 107 kB / 296.7 MB, free: 6.453 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009474/0.0009475, allocations: 63.88 kB / 356.6 MB, free: 10.57 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1941/0.195, allocations: 50.45 MB / 407.1 MB, free: 27.78 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity): time 0.009611/0.2047, allocations: 13.96 MB / 421 MB, free: 13.77 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.006322/0.211, allocations: 4.327 MB / 425.3 MB, free: 9.434 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002595/0.2137, allocations: 55.88 kB / 425.4 MB, free: 9.379 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002159/0.2159, allocations: 0.6386 MB / 426 MB, free: 8.738 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002852/0.2188, allocations: 1.289 MB / 427.3 MB, free: 7.445 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009327/0.2197, allocations: 467.3 kB / 427.8 MB, free: 6.988 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.003564/0.2233, allocations: 4.249 MB / 432 MB, free: 2.73 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008035/0.2241, allocations: 427.1 kB / 432.5 MB, free: 2.297 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001029/0.2252, allocations: 0.6769 MB / 433.1 MB, free: 1.617 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001472/0.2266, allocations: 1.312 MB / 434.4 MB, free: 308 kB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004468/0.2271, allocations: 80 kB / 434.5 MB, free: 228 kB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001871/0.229, allocations: 0.9515 MB / 435.5 MB, free: 15.27 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001311/0.2303, allocations: 1.063 MB / 436.5 MB, free: 14.2 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00133/0.2317, allocations: 1.187 MB / 437.7 MB, free: 13.01 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004213/0.2359, allocations: 3.833 MB / 441.6 MB, free: 9.164 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.152e-06/0.2359, allocations: 4 kB / 441.6 MB, free: 9.16 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.2359, allocations: 0 / 441.6 MB, free: 9.16 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.114e-05/0.236, allocations: 0 / 441.6 MB, free: 9.16 MB / 314.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.007245/0.2432, allocations: 3.201 MB / 444.8 MB, free: 5.898 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.351e-05/0.2433, allocations: 16.03 kB / 444.8 MB, free: 5.883 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008618/0.252, allocations: 1.994 MB / 446.8 MB, free: 3.883 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003507/0.2555, allocations: 1.586 MB / 448.4 MB, free: 2.254 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.556e-05/0.2556, allocations: 118.6 kB / 448.5 MB, free: 2.137 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008159/0.2564, allocations: 295.5 kB / 448.8 MB, free: 1.848 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01394/0.2704, allocations: 8.234 MB / 457 MB, free: 9.043 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.546e-05/0.2705, allocations: 31.66 kB / 457 MB, free: 9.012 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002519/0.2708, allocations: 75.89 kB / 457.1 MB, free: 8.938 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002109/0.2729, allocations: 1.397 MB / 458.5 MB, free: 7.539 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01699/0.2899, allocations: 9.538 MB / 468 MB, free: 14 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03379/0.3237, allocations: 30.6 MB / 498.6 MB, free: 14.54 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01133/0.3351, allocations: 4.398 MB / 0.4912 GB, free: 9.984 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002656/0.3377, allocations: 2.109 MB / 0.4933 GB, free: 7.859 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.605e-05/0.3378, allocations: 23.84 kB / 0.4933 GB, free: 7.84 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.084e-05/0.3379, allocations: 38.56 kB / 0.4934 GB, free: 7.793 MB / 378.7 MB Notification: Performance of pre-optimization done (n=122): time 2.985e-06/0.3379, allocations: 0 / 0.4934 GB, free: 7.793 MB / 378.7 MB Notification: Performance of matching and sorting (n=136): time 0.2117/0.5496, allocations: 18.29 MB / 0.5112 GB, free: 90.59 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001613/0.5512, allocations: 3.055 MB / 0.5142 GB, free: 87.54 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003129/0.5544, allocations: 2.983 MB / 0.5171 GB, free: 86.45 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003609/0.5547, allocations: 47.06 kB / 0.5172 GB, free: 86.41 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008115/0.5556, allocations: 2.074 MB / 0.5192 GB, free: 84.8 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004635/0.556, allocations: 0.5695 MB / 0.5197 GB, free: 84.39 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001137/0.5572, allocations: 1.017 MB / 0.5207 GB, free: 83.83 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 3.011e-05/0.5572, allocations: 306.9 kB / 0.521 GB, free: 83.53 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002869/0.5601, allocations: 2.629 MB / 0.5236 GB, free: 81.3 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003763/0.5639, allocations: 5.582 MB / 0.529 GB, free: 74.3 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007112/0.571, allocations: 8.638 MB / 0.5375 GB, free: 64.21 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.751e-05/0.5711, allocations: 28 kB / 0.5375 GB, free: 64.19 MB / 378.7 MB Notification: Performance of matching and sorting (n=644) (initialization): time 0.02995/0.601, allocations: 11.92 MB / 0.5491 GB, free: 52.23 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.904e-05/0.6011, allocations: 52 kB / 0.5492 GB, free: 52.18 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02233/0.6235, allocations: 7.157 MB / 0.5562 GB, free: 45 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02294/0.6465, allocations: 4.717 MB / 0.5608 GB, free: 40.25 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00386/0.6503, allocations: 1.253 MB / 0.562 GB, free: 39 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01356/0.6639, allocations: 11.53 MB / 0.5733 GB, free: 26.94 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005208/0.6692, allocations: 0.5771 MB / 0.5738 GB, free: 26.36 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007775/0.67, allocations: 319.8 kB / 0.5741 GB, free: 26.05 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 (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.002045/0.672, allocations: 1.412 MB / 0.5755 GB, free: 24.63 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006207/0.6726, allocations: 264.5 kB / 0.5758 GB, free: 24.37 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009176/0.6736, allocations: 415 kB / 0.5762 GB, free: 23.96 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01117/0.6848, allocations: 5.015 MB / 0.5811 GB, free: 18.91 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.304e-05/0.6848, allocations: 8 kB / 0.5811 GB, free: 18.91 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.612e-05/0.6848, allocations: 3.984 kB / 0.5811 GB, free: 18.9 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008184/0.693, allocations: 5.363 MB / 0.5863 GB, free: 13.51 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.103e-06/0.6931, allocations: 4 kB / 0.5863 GB, free: 13.5 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001713/0.6948, allocations: 363.4 kB / 0.5867 GB, free: 13.15 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008552/0.7034, allocations: 2.394 MB / 0.589 GB, free: 10.73 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004439/0.7038, allocations: 43.95 kB / 0.589 GB, free: 10.68 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007168/0.711, allocations: 8.809 MB / 0.5976 GB, free: 1.344 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001795/0.7128, allocations: 2.888 MB / 0.6005 GB, free: 14.17 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3408/1.054, allocations: 77.78 MB / 0.6764 GB, free: 135.1 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004944/1.054, allocations: 329.2 kB / 0.6767 GB, free: 135 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003631/1.055, allocations: 35.3 kB / 0.6768 GB, free: 135 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002112/1.057, allocations: 315.7 kB / 0.6771 GB, free: 135 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000413/1.057, allocations: 105.9 kB / 0.6772 GB, free: 135 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001686/1.057, allocations: 53.45 kB / 0.6772 GB, free: 135 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002202/1.06, allocations: 1.865 MB / 0.679 GB, free: 134.3 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.41e-07/1.06, allocations: 0 / 0.679 GB, free: 134.3 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004794/1.064, allocations: 1.594 MB / 0.6806 GB, free: 134.2 MB / 442.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.000405/1.065, allocations: 178.2 kB / 0.6808 GB, free: 134.1 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01042/1.075, allocations: 7.42 MB / 0.688 GB, free: 130.2 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.184e-06/1.075, allocations: 0 / 0.688 GB, free: 130.2 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006011/1.081, allocations: 3.644 MB / 0.6916 GB, free: 127.1 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002283/1.084, allocations: 290.6 kB / 0.6919 GB, free: 126.8 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0183/1.102, allocations: 12.64 MB / 0.7042 GB, free: 114.9 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00189/1.104, allocations: 2.336 MB / 0.7065 GB, free: 112.5 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.004081/1.108, allocations: 1.882 MB / 0.7083 GB, free: 110.6 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001488/1.109, allocations: 227.3 kB / 0.7085 GB, free: 110.4 MB / 442.7 MB Notification: Performance of SimCode: time 6.01e-07/1.109, allocations: 4 kB / 0.7085 GB, free: 110.4 MB / 442.7 MB Notification: Performance of Templates: time 0.08861/1.198, allocations: 89.3 MB / 0.7957 GB, free: 21.11 MB / 442.7 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@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/PointGravity/PointGravity.csv","../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches