Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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_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_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009234/0.0009235, allocations: 95.2 kB / 16.95 MB, free: 6.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00127/0.00127, allocations: 185.1 kB / 17.84 MB, free: 6.133 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.341/1.341, allocations: 205.4 MB / 224 MB, free: 13.16 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004678/0.0004678, allocations: 12 kB / 280.8 MB, free: 3.73 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1005/0.101, allocations: 47.58 MB / 328.4 MB, free: 4.082 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity): time 0.01199/0.1131, allocations: 12.53 MB / 340.9 MB, free: 7.508 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.008792/0.1219, allocations: 3.96 MB / 344.8 MB, free: 3.539 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002076/0.124, allocations: 51.88 kB / 344.9 MB, free: 3.488 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001452/0.1255, allocations: 0.591 MB / 345.5 MB, free: 2.895 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005179/0.1307, allocations: 2.223 MB / 347.7 MB, free: 0.6641 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001013/0.1317, allocations: 443.3 kB / 348.1 MB, free: 236 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.00432/0.1361, allocations: 3.269 MB / 351.4 MB, free: 12.95 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001015/0.1371, allocations: 0.5233 MB / 351.9 MB, free: 12.39 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001345/0.1385, allocations: 0.7745 MB / 352.7 MB, free: 11.61 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001775/0.1403, allocations: 1.312 MB / 354 MB, free: 10.29 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002175/0.1405, allocations: 84 kB / 354.1 MB, free: 10.21 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001462/0.142, allocations: 0.8152 MB / 354.9 MB, free: 9.395 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009566/0.1429, allocations: 1.06 MB / 356 MB, free: 8.332 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004993/0.1434, allocations: 0.5 MB / 356.5 MB, free: 7.824 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002902/0.1464, allocations: 2.993 MB / 359.5 MB, free: 4.824 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.1464, allocations: 0 / 359.5 MB, free: 4.824 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1464, allocations: 0 / 359.5 MB, free: 4.824 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.474e-05/0.1464, allocations: 0 / 359.5 MB, free: 4.824 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.005536/0.152, allocations: 2.741 MB / 362.2 MB, free: 2.023 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.726e-05/0.152, allocations: 12.03 kB / 362.2 MB, free: 2.012 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007422/0.1595, allocations: 1.935 MB / 364.2 MB, free: 72 kB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003199/0.1627, allocations: 1.699 MB / 365.9 MB, free: 14.33 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.535e-05/0.1628, allocations: 110.6 kB / 366 MB, free: 14.22 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008294/0.1636, allocations: 307.5 kB / 366.3 MB, free: 13.92 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01465/0.1783, allocations: 8.231 MB / 374.5 MB, free: 5.121 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.468e-05/0.1784, allocations: 39.66 kB / 374.5 MB, free: 5.082 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002419/0.1787, allocations: 75.89 kB / 374.6 MB, free: 5.008 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002026/0.1807, allocations: 1.401 MB / 376 MB, free: 3.605 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1981/0.3788, allocations: 9.505 MB / 385.5 MB, free: 43.44 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0318/0.4106, allocations: 30.57 MB / 416.1 MB, free: 21.81 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01/0.4207, allocations: 4.421 MB / 420.5 MB, free: 18.45 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002203/0.4229, allocations: 2.108 MB / 422.6 MB, free: 16.33 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001023/0.423, allocations: 21.64 kB / 422.6 MB, free: 16.31 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.05e-05/0.4231, allocations: 54.11 kB / 422.7 MB, free: 16.25 MB / 318.1 MB Notification: Performance of pre-optimization done (n=122): time 3.677e-06/0.4231, allocations: 0 / 422.7 MB, free: 16.25 MB / 318.1 MB Notification: Performance of matching and sorting (n=136): time 0.03926/0.4624, allocations: 18.44 MB / 441.1 MB, free: 13.58 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002389/0.4648, allocations: 3.06 MB / 444.2 MB, free: 10.21 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00424/0.469, allocations: 2.985 MB / 447.2 MB, free: 7.207 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005666/0.4696, allocations: 42.72 kB / 447.2 MB, free: 7.16 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001776/0.4714, allocations: 2.082 MB / 449.3 MB, free: 5.086 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008779/0.4723, allocations: 0.5725 MB / 449.9 MB, free: 4.52 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000286/0.4726, allocations: 92 kB / 450 MB, free: 4.43 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0003431/0.4729, allocations: 0.5166 MB / 450.5 MB, free: 3.906 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003894/0.4768, allocations: 2.613 MB / 453.1 MB, free: 1.285 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00578/0.4826, allocations: 5.566 MB / 458.7 MB, free: 10.25 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00539/0.488, allocations: 3.672 MB / 462.3 MB, free: 6.586 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.176e-05/0.4881, allocations: 36 kB / 462.4 MB, free: 6.551 MB / 350.1 MB Notification: Performance of matching and sorting (n=644) (initialization): time 0.02982/0.5179, allocations: 11.73 MB / 474.1 MB, free: 10.79 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.151e-05/0.518, allocations: 52 kB / 474.2 MB, free: 10.73 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02033/0.5384, allocations: 6.997 MB / 481.1 MB, free: 3.711 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01928/0.5577, allocations: 4.558 MB / 485.7 MB, free: 15.12 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004524/0.5623, allocations: 1.244 MB / 487 MB, free: 13.88 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01512/0.5774, allocations: 11.45 MB / 498.4 MB, free: 1.902 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005342/0.5828, allocations: 0.5807 MB / 499 MB, free: 1.324 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001676/0.5845, allocations: 323.9 kB / 499.3 MB, free: 1.008 MB / 382.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.002975/0.5875, allocations: 1.402 MB / 0.489 GB, free: 15.6 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006812/0.5882, allocations: 256.6 kB / 0.4892 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008919/0.5891, allocations: 415.4 kB / 0.4896 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01044/0.5995, allocations: 5.02 MB / 0.4945 GB, free: 9.879 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.191e-05/0.5996, allocations: 10.98 kB / 0.4945 GB, free: 9.871 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.602e-05/0.5996, allocations: 7.984 kB / 0.4945 GB, free: 9.863 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008446/0.6081, allocations: 5.357 MB / 0.4998 GB, free: 4.449 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.905e-06/0.6081, allocations: 8 kB / 0.4998 GB, free: 4.441 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001655/0.6098, allocations: 367.4 kB / 0.5001 GB, free: 4.082 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007508/0.6173, allocations: 2.382 MB / 0.5024 GB, free: 1.672 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004084/0.6177, allocations: 49.27 kB / 0.5025 GB, free: 1.625 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009283/0.627, allocations: 8.843 MB / 0.5111 GB, free: 8.258 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.00194/0.629, allocations: 2.884 MB / 0.5139 GB, free: 5.09 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01644/0.6454, allocations: 8.76 MB / 0.5225 GB, free: 12.27 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001039/0.6465, allocations: 333.6 kB / 0.5228 GB, free: 11.92 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005355/0.6471, allocations: 31.98 kB / 0.5228 GB, free: 11.89 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001957/0.649, allocations: 324.7 kB / 0.5231 GB, free: 11.57 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003602/0.6494, allocations: 100.1 kB / 0.5232 GB, free: 11.48 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001724/0.6496, allocations: 55.95 kB / 0.5233 GB, free: 11.42 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002996/0.6526, allocations: 1.863 MB / 0.5251 GB, free: 9.555 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.6526, allocations: 3.938 kB / 0.5251 GB, free: 9.551 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.004439/0.6571, allocations: 1.005 MB / 0.5261 GB, free: 8.555 MB / 430.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.0005142/0.6576, allocations: 178.5 kB / 0.5263 GB, free: 8.367 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.01219/0.6698, allocations: 7.375 MB / 0.5335 GB, free: 0.8789 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/0.6698, allocations: 0 / 0.5335 GB, free: 0.8789 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.2203/0.8902, allocations: 3.619 MB / 0.537 GB, free: 147.3 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004454/0.8947, allocations: 293 kB / 0.5373 GB, free: 147.3 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01493/0.9096, allocations: 9.348 MB / 0.5464 GB, free: 143.8 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002909/0.9126, allocations: 2.296 MB / 0.5487 GB, free: 143 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.004744/0.9173, allocations: 1.668 MB / 0.5503 GB, free: 142.9 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001097/0.9185, allocations: 198.2 kB / 0.5505 GB, free: 142.9 MB / 430.1 MB Notification: Performance of SimCode: time 1.383e-06/0.9185, allocations: 0 / 0.5505 GB, free: 142.9 MB / 430.1 MB Notification: Performance of Templates: time 0.05746/0.9759, allocations: 42.99 MB / 0.5925 GB, free: 108.1 MB / 430.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_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_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches