Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001072/0.001072, allocations: 117.2 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001099/0.001099, allocations: 202.7 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.309/1.309, allocations: 227.4 MB / 247.6 MB, free: 10.41 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001142/0.001142, allocations: 67.89 kB / 359.4 MB, free: 12.88 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2096/0.2107, allocations: 50.55 MB / 409.9 MB, free: 1.695 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses): time 0.00802/0.2188, allocations: 7.934 MB / 417.9 MB, free: 9.727 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003779/0.2226, allocations: 2.574 MB / 420.5 MB, free: 7.145 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00047/0.2231, allocations: 35.94 kB / 420.5 MB, free: 7.109 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002503/0.2256, allocations: 1.429 MB / 421.9 MB, free: 5.676 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001857/0.2275, allocations: 1.023 MB / 422.9 MB, free: 4.648 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005308/0.228, allocations: 263.5 kB / 423.2 MB, free: 4.391 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001937/0.23, allocations: 2.161 MB / 425.4 MB, free: 2.227 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001376/0.2313, allocations: 1.54 MB / 426.9 MB, free: 0.6523 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006536/0.232, allocations: 0.8406 MB / 427.7 MB, free: 15.81 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001235/0.2333, allocations: 1.183 MB / 428.9 MB, free: 14.62 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002447/0.2335, allocations: 160 kB / 429.1 MB, free: 14.46 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001022/0.2345, allocations: 0.6669 MB / 429.7 MB, free: 13.8 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008179/0.2354, allocations: 1.149 MB / 430.9 MB, free: 12.64 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001006/0.2364, allocations: 1.355 MB / 432.3 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003492/0.2399, allocations: 4.286 MB / 436.5 MB, free: 6.977 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.2399, allocations: 4 kB / 436.5 MB, free: 6.973 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.2399, allocations: 4 kB / 436.5 MB, free: 6.969 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.853e-05/0.2399, allocations: 0 / 436.5 MB, free: 6.969 MB / 350.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.003401/0.2434, allocations: 3.01 MB / 439.6 MB, free: 3.891 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.39e-05/0.2434, allocations: 12.03 kB / 439.6 MB, free: 3.879 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006406/0.2498, allocations: 1.789 MB / 441.4 MB, free: 2.086 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001594/0.2514, allocations: 1.17 MB / 442.5 MB, free: 0.875 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.289e-05/0.2515, allocations: 147.8 kB / 442.7 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003342/0.2519, allocations: 207.8 kB / 442.9 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01615/0.268, allocations: 8.611 MB / 451.5 MB, free: 7.309 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.101e-05/0.2681, allocations: 39.64 kB / 451.5 MB, free: 7.27 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002871/0.2684, allocations: 103.9 kB / 451.6 MB, free: 7.168 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002757/0.2712, allocations: 1.667 MB / 453.3 MB, free: 5.504 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01684/0.288, allocations: 7.182 MB / 460.5 MB, free: 14.32 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02996/0.318, allocations: 30.14 MB / 490.6 MB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02252/0.3405, allocations: 5.06 MB / 495.7 MB, free: 10.05 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00151/0.3421, allocations: 1.244 MB / 496.9 MB, free: 8.785 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004755/0.3468, allocations: 3.837 MB / 0.489 GB, free: 4.785 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.119e-05/0.3469, allocations: 54.83 kB / 0.4891 GB, free: 4.723 MB / 414.1 MB Notification: Performance of pre-optimization done (n=111): time 3.246e-06/0.3469, allocations: 0 / 0.4891 GB, free: 4.723 MB / 414.1 MB Notification: Performance of matching and sorting (n=111): time 0.04529/0.3922, allocations: 9.287 MB / 0.4981 GB, free: 11.35 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.404e-05/0.3923, allocations: 195.9 kB / 0.4983 GB, free: 11.11 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003611/0.3959, allocations: 3.039 MB / 0.5013 GB, free: 8.055 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.753e-05/0.396, allocations: 41.7 kB / 0.5013 GB, free: 8.008 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001563/0.3976, allocations: 2.531 MB / 0.5038 GB, free: 5.449 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004136/0.398, allocations: 0.5119 MB / 0.5043 GB, free: 4.934 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001226/0.3992, allocations: 1.1 MB / 0.5054 GB, free: 3.824 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.345e-05/0.3993, allocations: 305.1 kB / 0.5057 GB, free: 3.523 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002272/0.4016, allocations: 1.603 MB / 0.5072 GB, free: 1.914 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004496/0.4061, allocations: 5.169 MB / 0.5123 GB, free: 10.94 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007406/0.4135, allocations: 7.337 MB / 0.5195 GB, free: 1.824 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.74e-05/0.4136, allocations: 36 kB / 0.5195 GB, free: 1.789 MB / 446.1 MB Notification: Performance of matching and sorting (n=705) (initialization): time 0.009328/0.4229, allocations: 6.462 MB / 0.5258 GB, free: 11.32 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.186e-05/0.423, allocations: 63.94 kB / 0.5259 GB, free: 11.26 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001312/0.4232, allocations: 128 kB / 0.526 GB, free: 11.13 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001533/0.4233, allocations: 168 kB / 0.5261 GB, free: 10.97 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005005/0.4283, allocations: 1.454 MB / 0.5276 GB, free: 9.512 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001858/0.4285, allocations: 247 kB / 0.5278 GB, free: 9.27 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002965/0.4315, allocations: 0.772 MB / 0.5286 GB, free: 8.492 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004105/0.4319, allocations: 344 kB / 0.5289 GB, free: 8.156 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.001838/0.4338, allocations: 1.575 MB / 0.5304 GB, free: 6.566 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003709/0.4341, allocations: 262.2 kB / 0.5307 GB, free: 6.309 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004734/0.4346, allocations: 319.2 kB / 0.531 GB, free: 5.996 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.09e-05/0.4346, allocations: 7.984 kB / 0.531 GB, free: 5.988 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.449e-06/0.4347, allocations: 7.938 kB / 0.531 GB, free: 5.98 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003778/0.435, allocations: 315.1 kB / 0.5313 GB, free: 5.652 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002574/0.4353, allocations: 27.98 kB / 0.5313 GB, free: 5.625 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000895/0.4362, allocations: 43.95 kB / 0.5314 GB, free: 5.582 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001378/0.4364, allocations: 55.92 kB / 0.5314 GB, free: 5.527 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004417/0.4408, allocations: 2.202 MB / 0.5336 GB, free: 3.32 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003295/0.4441, allocations: 2.907 MB / 0.5364 GB, free: 400 kB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.1722/0.6163, allocations: 0.6492 MB / 0.537 GB, free: 123.4 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002721/0.6191, allocations: 1.838 MB / 0.5388 GB, free: 123.1 MB / 462.1 MB Notification: Performance of Backend: time 4.3e-07/0.6191, allocations: 1.031 kB / 0.5388 GB, free: 123.1 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.005223/0.6243, allocations: 3.202 MB / 0.542 GB, free: 122.1 MB / 462.1 MB Notification: Performance of SimCode: time 0.007519/0.6318, allocations: 7.532 MB / 0.5493 GB, free: 118.2 MB / 462.1 MB Notification: Performance of Templates: time 0.03901/0.6709, allocations: 28.21 MB / 0.5769 GB, free: 94.07 MB / 462.1 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.makefile (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/PointGravityWithPointMasses/PointGravityWithPointMasses.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches