Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.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.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_3.2.3_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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001062/0.001062, allocations: 110.6 kB / 18.4 MB, free: 4.699 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.001013/0.001013, allocations: 186.2 kB / 19.34 MB, free: 3.777 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.255/1.255, allocations: 205.1 MB / 225.2 MB, free: 12.23 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.001202/0.001202, allocations: 55.94 kB / 329.2 MB, free: 3.301 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07194/0.07315, allocations: 46.61 MB / 375.8 MB, free: 4.578 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses): time 0.153/0.2262, allocations: 7.963 MB / 383.8 MB, free: 9.668 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00425/0.2305, allocations: 2.558 MB / 386.3 MB, free: 8.273 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005372/0.2311, allocations: 34.94 kB / 386.4 MB, free: 8.27 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002363/0.2335, allocations: 1.424 MB / 387.8 MB, free: 7.609 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001759/0.2352, allocations: 0.9819 MB / 388.8 MB, free: 7.141 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005526/0.2358, allocations: 261.6 kB / 389 MB, free: 7.008 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002009/0.2378, allocations: 2.186 MB / 391.2 MB, free: 6.129 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001434/0.2393, allocations: 1.559 MB / 392.8 MB, free: 5.504 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007977/0.2401, allocations: 0.8414 MB / 393.6 MB, free: 5.145 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001249/0.2413, allocations: 1.184 MB / 394.8 MB, free: 4.688 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002922/0.2416, allocations: 159.8 kB / 395 MB, free: 4.688 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001154/0.2428, allocations: 0.6622 MB / 395.6 MB, free: 4.523 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009089/0.2437, allocations: 1.156 MB / 396.8 MB, free: 4.125 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009196/0.2447, allocations: 1.377 MB / 398.2 MB, free: 3.133 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003586/0.2483, allocations: 4.308 MB / 402.5 MB, free: 0.6719 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.2483, allocations: 1.125 kB / 402.5 MB, free: 0.6719 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.2483, allocations: 0 / 402.5 MB, free: 0.6719 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.634e-05/0.2484, allocations: 0 / 402.5 MB, free: 0.6719 MB / 318.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.004284/0.2527, allocations: 2.955 MB / 405.4 MB, free: 14.5 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.599e-05/0.2527, allocations: 9.812 kB / 405.4 MB, free: 14.5 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006786/0.2595, allocations: 1.774 MB / 407.2 MB, free: 13.56 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001952/0.2615, allocations: 1.157 MB / 408.4 MB, free: 12.74 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001089/0.2616, allocations: 159.6 kB / 408.5 MB, free: 12.66 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003815/0.262, allocations: 208.4 kB / 408.7 MB, free: 12.59 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01725/0.2792, allocations: 8.598 MB / 417.3 MB, free: 5.465 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.953e-05/0.2793, allocations: 39.59 kB / 417.4 MB, free: 5.426 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002684/0.2796, allocations: 107.9 kB / 417.5 MB, free: 5.32 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002759/0.2824, allocations: 1.667 MB / 419.1 MB, free: 3.652 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01662/0.299, allocations: 7.174 MB / 426.3 MB, free: 12.47 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03243/0.3315, allocations: 30.09 MB / 456.4 MB, free: 13.49 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0217/0.3532, allocations: 5.045 MB / 461.5 MB, free: 8.273 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001513/0.3547, allocations: 1.239 MB / 462.7 MB, free: 7.012 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004818/0.3596, allocations: 3.749 MB / 466.4 MB, free: 3.113 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.675e-05/0.3596, allocations: 50.88 kB / 466.5 MB, free: 3.055 MB / 382.1 MB Notification: Performance of pre-optimization done (n=111): time 4.368e-06/0.3596, allocations: 0 / 466.5 MB, free: 3.055 MB / 382.1 MB Notification: Performance of matching and sorting (n=111): time 0.04505/0.4047, allocations: 9.255 MB / 475.7 MB, free: 9.711 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.405e-05/0.4048, allocations: 195.9 kB / 475.9 MB, free: 9.477 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003866/0.4087, allocations: 3.043 MB / 479 MB, free: 6.414 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 8.582e-05/0.4088, allocations: 41.89 kB / 479 MB, free: 6.367 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001504/0.4103, allocations: 2.406 MB / 481.4 MB, free: 3.922 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004138/0.4107, allocations: 0.5057 MB / 481.9 MB, free: 3.41 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001256/0.412, allocations: 1.087 MB / 483 MB, free: 2.312 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.46e-05/0.4121, allocations: 309.1 kB / 483.3 MB, free: 2.008 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00215/0.4142, allocations: 1.6 MB / 484.9 MB, free: 412 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004381/0.4186, allocations: 5.165 MB / 490.1 MB, free: 9.434 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007122/0.4258, allocations: 7.338 MB / 497.4 MB, free: 316 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.492e-05/0.4258, allocations: 36 kB / 497.5 MB, free: 280 kB / 414.1 MB Notification: Performance of matching and sorting (n=705) (initialization): time 0.009055/0.4349, allocations: 6.43 MB / 0.4921 GB, free: 9.836 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.321e-05/0.435, allocations: 60.38 kB / 0.4921 GB, free: 9.777 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001173/0.4351, allocations: 128 kB / 0.4923 GB, free: 9.652 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001484/0.4353, allocations: 168 kB / 0.4924 GB, free: 9.488 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00469/0.4399, allocations: 1.454 MB / 0.4938 GB, free: 8.031 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001765/0.4401, allocations: 247.9 kB / 0.4941 GB, free: 7.789 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003168/0.4433, allocations: 0.7499 MB / 0.4948 GB, free: 7.031 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003894/0.4437, allocations: 354.3 kB / 0.4951 GB, free: 6.688 MB / 430.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.002158/0.4459, allocations: 1.579 MB / 0.4967 GB, free: 5.098 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000561/0.4465, allocations: 248.8 kB / 0.4969 GB, free: 4.852 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001282/0.4477, allocations: 0.8252 MB / 0.4977 GB, free: 4.016 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.327e-05/0.4478, allocations: 7.984 kB / 0.4977 GB, free: 4.008 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.4478, allocations: 0 / 0.4977 GB, free: 4.008 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003965/0.4482, allocations: 309.6 kB / 0.498 GB, free: 3.684 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002408/0.4484, allocations: 35.98 kB / 0.4981 GB, free: 3.648 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008789/0.4493, allocations: 39.95 kB / 0.4981 GB, free: 3.609 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000134/0.4495, allocations: 55.86 kB / 0.4982 GB, free: 3.555 MB / 430.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004233/0.4537, allocations: 2.179 MB / 0.5003 GB, free: 1.363 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0031/0.4568, allocations: 2.885 MB / 0.5031 GB, free: 14.45 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007763/0.4576, allocations: 0.649 MB / 0.5037 GB, free: 13.8 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002353/0.46, allocations: 1.841 MB / 0.5055 GB, free: 11.96 MB / 446.1 MB Notification: Performance of Backend: time 3.71e-07/0.46, allocations: 4 kB / 0.5055 GB, free: 11.96 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005569/0.4656, allocations: 3.194 MB / 0.5087 GB, free: 8.785 MB / 446.1 MB Notification: Performance of SimCode: time 0.009565/0.4751, allocations: 7.422 MB / 0.5159 GB, free: 1.32 MB / 446.1 MB Notification: Performance of Templates: time 0.05053/0.5257, allocations: 28.14 MB / 0.5434 GB, free: 5.137 MB / 478.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/PointGravityWithPointMasses/PointGravityWithPointMasses.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches