Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001352/0.001352, allocations: 116 kB / 18.45 MB, free: 4.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001415/0.001415, allocations: 208.3 kB / 21.41 MB, free: 1.648 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.488/1.488, allocations: 230.6 MB / 254.8 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|body1.r_0.1.|body1.r_0.2.|body1.r_0.3.|body1.v_0.1.|body1.v_0.2.|body1.v_0.3.|body2.r_0.1.|body2.r_0.2.|body2.r_0.3.|body2.v_0.1.|body2.v_0.2.|body2.v_0.3.|body3.r_0.1.|body3.r_0.2.|body3.r_0.3.|body3.v_0.1.|body3.v_0.2.|body3.v_0.3.|body4.r_0.1.|body4.r_0.2.|body4.r_0.3.|body4.v_0.1.|body4.v_0.2.|body4.v_0.3.",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|body1.r_0.1.|body1.r_0.2.|body1.r_0.3.|body1.v_0.1.|body1.v_0.2.|body1.v_0.3.|body2.r_0.1.|body2.r_0.2.|body2.r_0.3.|body2.v_0.1.|body2.v_0.2.|body2.v_0.3.|body3.r_0.1.|body3.r_0.2.|body3.r_0.3.|body3.v_0.1.|body3.v_0.2.|body3.v_0.3.|body4.r_0.1.|body4.r_0.2.|body4.r_0.3.|body4.v_0.1.|body4.v_0.2.|body4.v_0.3.",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002406/0.002406, allocations: 47.92 kB / 374.2 MB, free: 9.707 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1316/0.134, allocations: 53.34 MB / 427.5 MB, free: 4.277 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses): time 0.236/0.3699, allocations: 7.972 MB / 435.5 MB, free: 7.223 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005168/0.3751, allocations: 2.576 MB / 438 MB, free: 6.109 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001149/0.3763, allocations: 43.03 kB / 438.1 MB, free: 6.098 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002958/0.3792, allocations: 1.459 MB / 439.5 MB, free: 5.66 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002965/0.3822, allocations: 1.009 MB / 440.6 MB, free: 5.242 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009146/0.3831, allocations: 268.1 kB / 440.8 MB, free: 5.102 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003408/0.3865, allocations: 2.16 MB / 443 MB, free: 4.238 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001918/0.3884, allocations: 1.33 MB / 444.3 MB, free: 3.676 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001552/0.39, allocations: 0.8505 MB / 445.2 MB, free: 3.316 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001913/0.3919, allocations: 1.297 MB / 446.5 MB, free: 2.852 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004495/0.3923, allocations: 159.6 kB / 446.6 MB, free: 2.852 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001439/0.3938, allocations: 0.6923 MB / 447.3 MB, free: 2.684 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001136/0.3949, allocations: 1.173 MB / 448.5 MB, free: 2.254 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001254/0.3962, allocations: 1.358 MB / 449.8 MB, free: 1.266 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005426/0.4016, allocations: 4.291 MB / 454.1 MB, free: 15.12 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.4016, allocations: 1.094 kB / 454.1 MB, free: 15.12 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.4016, allocations: 4 kB / 454.1 MB, free: 15.12 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001429/0.4017, allocations: 0 / 454.1 MB, free: 15.12 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1113 * Number of variables: 1113 Notification: Performance of Generate backend data structure: time 0.006284/0.408, allocations: 3.008 MB / 457.1 MB, free: 12.88 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.05e-05/0.4081, allocations: 9.062 kB / 457.1 MB, free: 12.88 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007583/0.4157, allocations: 1.794 MB / 458.9 MB, free: 11.93 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002855/0.4185, allocations: 1.169 MB / 460.1 MB, free: 11.1 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001637/0.4187, allocations: 155.2 kB / 460.3 MB, free: 11.02 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006255/0.4193, allocations: 205.6 kB / 460.5 MB, free: 10.95 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02175/0.441, allocations: 8.613 MB / 469.1 MB, free: 5.77 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001385/0.4412, allocations: 40.83 kB / 469.1 MB, free: 5.746 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004714/0.4417, allocations: 100.3 kB / 469.2 MB, free: 5.68 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004054/0.4457, allocations: 1.673 MB / 470.9 MB, free: 4.344 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01936/0.4651, allocations: 7.179 MB / 478.1 MB, free: 13.16 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04247/0.5075, allocations: 30.14 MB / 0.4963 GB, free: 14.15 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0239/0.5315, allocations: 4.999 MB / 0.5012 GB, free: 8.98 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001974/0.5334, allocations: 1.191 MB / 0.5023 GB, free: 7.77 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006486/0.5399, allocations: 3.841 MB / 0.5061 GB, free: 3.762 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.1e-05/0.54, allocations: 50.83 kB / 0.5061 GB, free: 3.703 MB / 414.1 MB Notification: Performance of pre-optimization done (n=111): time 3.958e-06/0.54, allocations: 0 / 0.5061 GB, free: 3.703 MB / 414.1 MB Notification: Performance of matching and sorting (n=111): time 0.04819/0.5882, allocations: 9.287 MB / 0.5152 GB, free: 10.33 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001337/0.5883, allocations: 195.9 kB / 0.5154 GB, free: 10.09 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005024/0.5933, allocations: 3.043 MB / 0.5184 GB, free: 7.031 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002161/0.5935, allocations: 41.64 kB / 0.5184 GB, free: 6.984 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002281/0.5958, allocations: 2.527 MB / 0.5209 GB, free: 4.43 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00075/0.5966, allocations: 0.5168 MB / 0.5214 GB, free: 3.91 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001599/0.5982, allocations: 1.096 MB / 0.5224 GB, free: 2.805 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001274/0.5983, allocations: 301.1 kB / 0.5227 GB, free: 2.508 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002668/0.601, allocations: 1.611 MB / 0.5243 GB, free: 0.8906 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00601/0.607, allocations: 5.173 MB / 0.5294 GB, free: 9.914 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009953/0.6169, allocations: 7.329 MB / 0.5365 GB, free: 0.8047 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001587/0.6171, allocations: 36 kB / 0.5365 GB, free: 0.7695 MB / 446.1 MB Notification: Performance of matching and sorting (n=705) (initialization): time 0.01434/0.6314, allocations: 6.469 MB / 0.5429 GB, free: 10.3 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000111/0.6315, allocations: 60 kB / 0.5429 GB, free: 10.24 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001903/0.6317, allocations: 124 kB / 0.543 GB, free: 10.12 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001785/0.6319, allocations: 168 kB / 0.5432 GB, free: 9.953 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005437/0.6373, allocations: 1.458 MB / 0.5446 GB, free: 8.492 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002388/0.6376, allocations: 256.5 kB / 0.5449 GB, free: 8.242 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004344/0.6419, allocations: 0.7641 MB / 0.5456 GB, free: 7.473 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008514/0.6428, allocations: 344 kB / 0.5459 GB, free: 7.137 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 580 * Number of states: 0 () * Number of discrete variables: 30 (spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],body4.sphereColor[3],body4.sphereColor[2],body4.sphereColor[1],body3.sphereColor[3],body3.sphereColor[2],body3.sphereColor[1],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 (681): * Single equations (assignments): 678 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002873/0.6456, allocations: 1.573 MB / 0.5475 GB, free: 5.555 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005388/0.6462, allocations: 262.2 kB / 0.5477 GB, free: 5.297 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006542/0.6468, allocations: 315.3 kB / 0.548 GB, free: 4.988 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.461e-05/0.6469, allocations: 17.12 kB / 0.548 GB, free: 4.973 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.104e-05/0.6469, allocations: 4.312 kB / 0.548 GB, free: 4.969 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.502e-05/0.6469, allocations: 11.98 kB / 0.5481 GB, free: 4.957 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006573/0.6535, allocations: 3.388 MB / 0.5514 GB, free: 1.508 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-05/0.6535, allocations: 9.906 kB / 0.5514 GB, free: 1.5 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002496/0.656, allocations: 411.4 kB / 0.5518 GB, free: 1.098 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.125e-05/0.656, allocations: 8 kB / 0.5518 GB, free: 1.09 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001053/0.6561, allocations: 35.97 kB / 0.5518 GB, free: 1.055 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.077e-05/0.6561, allocations: 8.797 kB / 0.5518 GB, free: 1.047 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.608e-06/0.6561, allocations: 11.94 kB / 0.5518 GB, free: 1.035 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003828/0.6599, allocations: 2.812 MB / 0.5546 GB, free: 14.2 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006045/0.6605, allocations: 319 kB / 0.5549 GB, free: 13.87 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002556/0.6608, allocations: 31.97 kB / 0.5549 GB, free: 13.84 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009397/0.6617, allocations: 43.95 kB / 0.555 GB, free: 13.8 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001436/0.6619, allocations: 48.8 kB / 0.555 GB, free: 13.75 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.453e-05/0.662, allocations: 35.98 kB / 0.555 GB, free: 13.71 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003176/0.6651, allocations: 1.836 MB / 0.5568 GB, free: 11.88 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6651, allocations: 0 / 0.5568 GB, free: 11.88 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.004323/0.6695, allocations: 0.8226 MB / 0.5576 GB, free: 11.05 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 24 (body1.r_0[1],body1.r_0[2],body1.r_0[3],body1.v_0[1],body1.v_0[2],body1.v_0[3],body2.r_0[1],body2.r_0[2],body2.r_0[3],body2.v_0[1],body2.v_0[2],body2.v_0[3],body3.r_0[1],body3.r_0[2],body3.r_0[3],body3.v_0[1],body3.v_0[2],body3.v_0[3],body4.r_0[1],body4.r_0[2],body4.r_0[3],body4.v_0[1],body4.v_0[2],body4.v_0[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 (87): * Single equations (assignments): 84 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004254/0.6699, allocations: 167.3 kB / 0.5578 GB, free: 10.88 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.006422/0.6763, allocations: 3.488 MB / 0.5612 GB, free: 7.422 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.129e-06/0.6763, allocations: 0 / 0.5612 GB, free: 7.422 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001082/0.6774, allocations: 0.6805 MB / 0.5619 GB, free: 6.742 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001862/0.6793, allocations: 270.9 kB / 0.5621 GB, free: 6.492 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01412/0.6934, allocations: 7.497 MB / 0.5694 GB, free: 14.95 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002804/0.6962, allocations: 2.398 MB / 0.5718 GB, free: 12.53 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007998/0.697, allocations: 235.4 kB / 0.572 GB, free: 12.3 MB / 494.1 MB Notification: Performance of SimCode: time 1.162e-06/0.697, allocations: 0 / 0.572 GB, free: 12.3 MB / 494.1 MB Notification: Performance of Templates: time 0.07161/0.7686, allocations: 41.15 MB / 0.6122 GB, free: 3.219 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.sim & ./Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/PointGravityWithPointMasses/PointGravityWithPointMasses.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.558580728014931]