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.001494/0.001494, allocations: 106.2 kB / 18.25 MB, free: 4.773 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.001705/0.001705, allocations: 195.3 kB / 19.19 MB, free: 3.844 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.328/1.328, allocations: 205.1 MB / 225 MB, free: 12.3 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.001805/0.001805, allocations: 51.92 kB / 281.3 MB, free: 3.172 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08468/0.0865, allocations: 46.63 MB / 328 MB, free: 4.473 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity): time 0.008083/0.09463, allocations: 6.993 MB / 335 MB, free: 13.43 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00586/0.1005, allocations: 3.085 MB / 338 MB, free: 10.34 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009358/0.1015, allocations: 35.88 kB / 338.1 MB, free: 10.3 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001594/0.1032, allocations: 0.6652 MB / 338.7 MB, free: 9.637 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003143/0.1063, allocations: 1.393 MB / 340.1 MB, free: 8.238 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001014/0.1074, allocations: 0.4913 MB / 340.6 MB, free: 7.746 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.003774/0.1111, allocations: 3.136 MB / 343.8 MB, free: 4.602 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008297/0.112, allocations: 459.1 kB / 344.2 MB, free: 4.145 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001239/0.1132, allocations: 0.7938 MB / 345 MB, free: 3.348 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001663/0.1149, allocations: 1.219 MB / 346.2 MB, free: 2.125 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004775/0.1154, allocations: 132 kB / 346.3 MB, free: 1.996 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001761/0.1172, allocations: 0.9476 MB / 347.3 MB, free: 1.047 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001207/0.1184, allocations: 1.087 MB / 348.4 MB, free: 15.96 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001508/0.1199, allocations: 1.23 MB / 349.6 MB, free: 14.72 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004229/0.1242, allocations: 3.867 MB / 353.5 MB, free: 10.84 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.1242, allocations: 0 / 353.5 MB, free: 10.84 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1242, allocations: 0 / 353.5 MB, free: 10.84 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001151/0.1243, allocations: 0 / 353.5 MB, free: 10.84 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.007092/0.1314, allocations: 3.213 MB / 356.7 MB, free: 7.566 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.297e-05/0.1315, allocations: 12.03 kB / 356.7 MB, free: 7.555 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008237/0.1397, allocations: 1.889 MB / 358.6 MB, free: 5.66 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002859/0.1426, allocations: 1.727 MB / 360.3 MB, free: 3.891 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.611e-05/0.1427, allocations: 122.5 kB / 360.4 MB, free: 3.77 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008269/0.1435, allocations: 303.5 kB / 360.7 MB, free: 3.473 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01366/0.1572, allocations: 8.223 MB / 369 MB, free: 10.68 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.042e-05/0.1573, allocations: 35.75 kB / 369 MB, free: 10.65 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002553/0.1576, allocations: 75.89 kB / 369.1 MB, free: 10.57 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002155/0.1597, allocations: 1.397 MB / 370.5 MB, free: 9.176 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.163/0.3227, allocations: 9.535 MB / 380 MB, free: 48.21 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03055/0.3533, allocations: 30.62 MB / 410.6 MB, free: 27.18 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0106/0.3639, allocations: 4.376 MB / 415 MB, free: 24.72 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002325/0.3663, allocations: 2.115 MB / 417.1 MB, free: 23.63 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.271e-05/0.3664, allocations: 15.16 kB / 417.1 MB, free: 23.62 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.475e-05/0.3664, allocations: 52.62 kB / 417.2 MB, free: 23.57 MB / 318.1 MB Notification: Performance of pre-optimization done (n=122): time 3.868e-06/0.3664, allocations: 0 / 417.2 MB, free: 23.57 MB / 318.1 MB Notification: Performance of matching and sorting (n=136): time 0.04082/0.4073, allocations: 18.34 MB / 435.5 MB, free: 5.66 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001697/0.409, allocations: 3.231 MB / 438.7 MB, free: 2.098 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003521/0.4125, allocations: 2.998 MB / 441.7 MB, free: 15.08 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005695/0.4131, allocations: 41.7 kB / 441.8 MB, free: 15.03 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001411/0.4145, allocations: 2.084 MB / 443.9 MB, free: 12.95 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007774/0.4153, allocations: 0.5727 MB / 444.4 MB, free: 12.39 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001434/0.4168, allocations: 1.011 MB / 445.5 MB, free: 11.37 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 9.179e-05/0.4169, allocations: 309.1 kB / 445.8 MB, free: 11.06 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004023/0.4209, allocations: 2.629 MB / 448.4 MB, free: 8.426 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006118/0.427, allocations: 5.585 MB / 454 MB, free: 1.363 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01101/0.4381, allocations: 8.625 MB / 462.6 MB, free: 7.281 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.325e-05/0.4382, allocations: 32 kB / 462.6 MB, free: 7.25 MB / 350.1 MB Notification: Performance of matching and sorting (n=644) (initialization): time 0.03423/0.4724, allocations: 11.78 MB / 474.4 MB, free: 11.43 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.091e-05/0.4725, allocations: 48 kB / 474.5 MB, free: 11.38 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02453/0.4971, allocations: 7.008 MB / 481.5 MB, free: 4.344 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03325/0.5304, allocations: 4.546 MB / 486 MB, free: 15.77 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007005/0.5374, allocations: 1.244 MB / 487.3 MB, free: 14.52 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02626/0.5637, allocations: 12.56 MB / 499.8 MB, free: 1.406 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008597/0.5724, allocations: 0.5771 MB / 0.4887 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001363/0.5738, allocations: 320.6 kB / 0.489 GB, free: 0.5156 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 (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.003233/0.5771, allocations: 1.416 MB / 0.4903 GB, free: 15.09 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007521/0.5778, allocations: 256.7 kB / 0.4906 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009402/0.5788, allocations: 415.2 kB / 0.491 GB, free: 14.43 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01322/0.592, allocations: 5.017 MB / 0.4959 GB, free: 9.375 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.224e-05/0.5921, allocations: 4 kB / 0.4959 GB, free: 9.371 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.178e-05/0.5921, allocations: 7.984 kB / 0.4959 GB, free: 9.363 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01006/0.6022, allocations: 5.366 MB / 0.5011 GB, free: 3.934 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.549e-05/0.6022, allocations: 288 / 0.5011 GB, free: 3.934 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002027/0.6043, allocations: 371.4 kB / 0.5015 GB, free: 3.57 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009363/0.6136, allocations: 2.394 MB / 0.5038 GB, free: 1.148 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005942/0.6143, allocations: 51.88 kB / 0.5039 GB, free: 1.098 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01046/0.6247, allocations: 9.435 MB / 0.5131 GB, free: 7.105 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.00209/0.6269, allocations: 3.077 MB / 0.5161 GB, free: 3.73 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01812/0.645, allocations: 8.767 MB / 0.5247 GB, free: 10.9 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009265/0.646, allocations: 329.6 kB / 0.525 GB, free: 10.55 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008116/0.6468, allocations: 31.98 kB / 0.525 GB, free: 10.52 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002594/0.6494, allocations: 323.4 kB / 0.5253 GB, free: 10.21 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004745/0.6499, allocations: 107.8 kB / 0.5254 GB, free: 10.1 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001796/0.6501, allocations: 51.95 kB / 0.5255 GB, free: 10.05 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.003124/0.6532, allocations: 1.879 MB / 0.5273 GB, free: 8.168 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.6533, allocations: 0 / 0.5273 GB, free: 8.168 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.005044/0.6583, allocations: 1.01 MB / 0.5283 GB, free: 7.164 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 (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.0005638/0.6589, allocations: 166.1 kB / 0.5284 GB, free: 6.996 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.1722/0.8311, allocations: 7.742 MB / 0.536 GB, free: 147.7 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 8.055e-06/0.8311, allocations: 1.156 kB / 0.536 GB, free: 147.7 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007299/0.8384, allocations: 3.651 MB / 0.5396 GB, free: 146.8 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002685/0.8412, allocations: 308.2 kB / 0.5399 GB, free: 146.8 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01472/0.8559, allocations: 8.467 MB / 0.5481 GB, free: 144 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002204/0.8582, allocations: 2.296 MB / 0.5504 GB, free: 143 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001408/0.8596, allocations: 239.4 kB / 0.5506 GB, free: 143 MB / 430.1 MB Notification: Performance of SimCode: time 9.31e-07/0.8596, allocations: 0 / 0.5506 GB, free: 143 MB / 430.1 MB Notification: Performance of Templates: time 0.2853/1.145, allocations: 145.3 MB / 0.6925 GB, free: 141.8 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/PointGravity/PointGravity.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches