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.001307/0.001307, allocations: 116.2 kB / 18.46 MB, free: 4.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001468/0.001468, allocations: 206.7 kB / 19.41 MB, free: 3.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.315/1.315, allocations: 227.4 MB / 247.6 MB, free: 10.56 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001192/0.001192, allocations: 59.91 kB / 359.4 MB, free: 12.94 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2034/0.2046, allocations: 50.54 MB / 409.9 MB, free: 1.613 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses): time 0.00808/0.2127, allocations: 7.935 MB / 417.9 MB, free: 9.637 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004207/0.2169, allocations: 2.563 MB / 420.4 MB, free: 7.066 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006402/0.2176, allocations: 31.94 kB / 420.5 MB, free: 7.035 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002539/0.2201, allocations: 1.44 MB / 421.9 MB, free: 5.59 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00187/0.222, allocations: 0.9801 MB / 422.9 MB, free: 4.605 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005804/0.2226, allocations: 271.4 kB / 423.2 MB, free: 4.34 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00262/0.2252, allocations: 2.157 MB / 425.3 MB, free: 2.18 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001707/0.227, allocations: 1.563 MB / 426.9 MB, free: 0.5859 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001014/0.228, allocations: 0.8289 MB / 427.7 MB, free: 15.75 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001472/0.2295, allocations: 1.183 MB / 428.9 MB, free: 14.57 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003669/0.2298, allocations: 160 kB / 429 MB, free: 14.41 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001074/0.2309, allocations: 0.6592 MB / 429.7 MB, free: 13.75 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000853/0.2318, allocations: 1.153 MB / 430.9 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001018/0.2328, allocations: 1.359 MB / 432.2 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003322/0.2361, allocations: 4.275 MB / 436.5 MB, free: 6.938 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.2362, allocations: 0 / 436.5 MB, free: 6.938 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.2362, allocations: 0 / 436.5 MB, free: 6.938 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.941e-05/0.2362, allocations: 0 / 436.5 MB, free: 6.938 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.003418/0.2396, allocations: 2.922 MB / 439.4 MB, free: 3.953 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.539e-05/0.2397, allocations: 12.03 kB / 439.4 MB, free: 3.941 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0064/0.2461, allocations: 1.767 MB / 441.2 MB, free: 2.168 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00192/0.248, allocations: 1.169 MB / 442.4 MB, free: 0.957 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.255e-05/0.2481, allocations: 151.8 kB / 442.5 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003374/0.2485, allocations: 207.8 kB / 442.7 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01581/0.2643, allocations: 8.608 MB / 451.3 MB, free: 7.391 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.54e-05/0.2644, allocations: 43.64 kB / 451.4 MB, free: 7.348 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002506/0.2646, allocations: 99.89 kB / 451.5 MB, free: 7.25 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00266/0.2673, allocations: 1.671 MB / 453.1 MB, free: 5.582 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01661/0.2839, allocations: 7.186 MB / 460.3 MB, free: 14.39 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03089/0.3148, allocations: 30.08 MB / 490.4 MB, free: 15.42 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02328/0.3381, allocations: 5.056 MB / 495.5 MB, free: 10.19 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001545/0.3397, allocations: 1.248 MB / 496.7 MB, free: 8.918 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005202/0.3449, allocations: 3.835 MB / 0.4888 GB, free: 4.918 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.237e-05/0.345, allocations: 46.83 kB / 0.4889 GB, free: 4.863 MB / 414.1 MB Notification: Performance of pre-optimization done (n=111): time 3.115e-06/0.345, allocations: 0 / 0.4889 GB, free: 4.863 MB / 414.1 MB Notification: Performance of matching and sorting (n=111): time 0.04734/0.3923, allocations: 9.282 MB / 0.4979 GB, free: 11.5 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.81e-05/0.3924, allocations: 195.8 kB / 0.4981 GB, free: 11.26 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004209/0.3967, allocations: 3.027 MB / 0.5011 GB, free: 8.215 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000106/0.3968, allocations: 41.7 kB / 0.5011 GB, free: 8.168 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0015/0.3983, allocations: 2.422 MB / 0.5035 GB, free: 5.707 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004705/0.3988, allocations: 0.4903 MB / 0.5039 GB, free: 5.211 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00127/0.4, allocations: 1.087 MB / 0.505 GB, free: 4.113 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.459e-05/0.4002, allocations: 305.2 kB / 0.5053 GB, free: 3.812 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002217/0.4024, allocations: 1.611 MB / 0.5069 GB, free: 2.195 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004423/0.4068, allocations: 5.173 MB / 0.5119 GB, free: 11.22 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007333/0.4142, allocations: 7.332 MB / 0.5191 GB, free: 2.105 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.81e-05/0.4142, allocations: 36 kB / 0.5191 GB, free: 2.07 MB / 446.1 MB Notification: Performance of matching and sorting (n=705) (initialization): time 0.009097/0.4233, allocations: 6.45 MB / 0.5254 GB, free: 11.61 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.945e-05/0.4234, allocations: 60 kB / 0.5255 GB, free: 11.55 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001119/0.4235, allocations: 124 kB / 0.5256 GB, free: 11.43 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001493/0.4237, allocations: 168 kB / 0.5257 GB, free: 11.27 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004641/0.4283, allocations: 1.455 MB / 0.5272 GB, free: 9.809 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001774/0.4285, allocations: 251 kB / 0.5274 GB, free: 9.562 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002977/0.4315, allocations: 0.7543 MB / 0.5281 GB, free: 8.801 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003639/0.4319, allocations: 340 kB / 0.5285 GB, free: 8.469 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.001849/0.4337, allocations: 1.575 MB / 0.53 GB, free: 6.879 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003663/0.4341, allocations: 248.7 kB / 0.5302 GB, free: 6.633 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004509/0.4346, allocations: 315.3 kB / 0.5305 GB, free: 6.324 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.263e-05/0.4346, allocations: 11.98 kB / 0.5306 GB, free: 6.312 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/0.4346, allocations: 3.938 kB / 0.5306 GB, free: 6.309 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004065/0.435, allocations: 301.7 kB / 0.5308 GB, free: 5.992 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002367/0.4353, allocations: 31.98 kB / 0.5309 GB, free: 5.961 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008909/0.4362, allocations: 39.95 kB / 0.5309 GB, free: 5.922 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001263/0.4363, allocations: 63.84 kB / 0.531 GB, free: 5.859 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004355/0.4407, allocations: 2.194 MB / 0.5331 GB, free: 3.66 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003158/0.4438, allocations: 2.9 MB / 0.536 GB, free: 0.7383 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008109/0.4447, allocations: 0.6522 MB / 0.5366 GB, free: 88 kB / 462.1 MB Notification: Performance of sorting global known variables: time 0.1742/0.6189, allocations: 1.837 MB / 0.5384 GB, free: 123.1 MB / 462.1 MB Notification: Performance of Backend: time 1.152e-06/0.6189, allocations: 0 / 0.5384 GB, free: 123.1 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.005437/0.6244, allocations: 3.209 MB / 0.5415 GB, free: 122.1 MB / 462.1 MB Notification: Performance of SimCode: time 0.007284/0.6317, allocations: 7.405 MB / 0.5487 GB, free: 118.3 MB / 462.1 MB Notification: Performance of Templates: time 0.04043/0.6721, allocations: 28.22 MB / 0.5763 GB, free: 94.46 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