Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.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.UserDefinedGravityField,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009956/0.0009956, allocations: 113.3 kB / 17.28 MB, free: 6.312 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.0009383/0.0009383, allocations: 189.3 kB / 18.19 MB, free: 5.395 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.394/1.394, allocations: 205.1 MB / 224.1 MB, free: 12.43 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.001218/0.001218, allocations: 55.92 kB / 280.2 MB, free: 3.48 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09721/0.09844, allocations: 46.63 MB / 326.8 MB, free: 4.777 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField): time 0.02136/0.1198, allocations: 18.14 MB / 344.9 MB, free: 2.551 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01373/0.1336, allocations: 4.978 MB / 349.9 MB, free: 13.55 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004358/0.1381, allocations: 71.81 kB / 350 MB, free: 13.48 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003179/0.1413, allocations: 0.9659 MB / 350.9 MB, free: 12.52 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004496/0.1458, allocations: 1.262 MB / 352.2 MB, free: 11.25 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001744/0.1476, allocations: 0.5108 MB / 352.7 MB, free: 10.74 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.004561/0.1522, allocations: 2.621 MB / 355.3 MB, free: 8.109 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002787/0.155, allocations: 1.471 MB / 356.8 MB, free: 6.613 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001703/0.1567, allocations: 0.8562 MB / 357.7 MB, free: 5.754 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002215/0.159, allocations: 1.289 MB / 359 MB, free: 4.461 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004308/0.1594, allocations: 151.9 kB / 359.1 MB, free: 4.312 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001852/0.1613, allocations: 0.9048 MB / 360 MB, free: 3.406 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001131/0.1624, allocations: 1.079 MB / 361.1 MB, free: 2.324 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001244/0.1637, allocations: 1.265 MB / 362.4 MB, free: 1.051 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004262/0.168, allocations: 3.991 MB / 366.3 MB, free: 13.05 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.168, allocations: 0 / 366.3 MB, free: 13.05 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.168, allocations: 0 / 366.3 MB, free: 13.05 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001303/0.1681, allocations: 0 / 366.3 MB, free: 13.05 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: 951 * Number of variables: 951 Notification: Performance of Generate backend data structure: time 0.005231/0.1734, allocations: 3.007 MB / 369.4 MB, free: 9.98 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.409e-05/0.1734, allocations: 8.031 kB / 369.4 MB, free: 9.973 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004931/0.1784, allocations: 1.565 MB / 370.9 MB, free: 8.402 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002295/0.1807, allocations: 1.446 MB / 372.4 MB, free: 6.91 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001045/0.1808, allocations: 130.9 kB / 372.5 MB, free: 6.781 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002942/0.1811, allocations: 159.8 kB / 372.7 MB, free: 6.625 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1869/0.368, allocations: 6.538 MB / 379.2 MB, free: 51.16 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.649e-05/0.3681, allocations: 23.19 kB / 379.2 MB, free: 51.15 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002835/0.3684, allocations: 82.77 kB / 379.3 MB, free: 51.15 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002934/0.3713, allocations: 1.473 MB / 380.8 MB, free: 51.13 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01154/0.3829, allocations: 5.825 MB / 386.6 MB, free: 49.6 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02468/0.4076, allocations: 25.77 MB / 412.4 MB, free: 29.36 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004712/0.4124, allocations: 2.544 MB / 414.9 MB, free: 26.67 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001192/0.4136, allocations: 1.219 MB / 416.1 MB, free: 25.44 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006441/0.42, allocations: 4.817 MB / 421 MB, free: 20.56 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.476e-05/0.4201, allocations: 42.56 kB / 421 MB, free: 20.51 MB / 318.1 MB Notification: Performance of pre-optimization done (n=97): time 4.218e-06/0.4201, allocations: 4 kB / 421 MB, free: 20.5 MB / 318.1 MB Notification: Performance of matching and sorting (n=105): time 0.02108/0.4412, allocations: 9.806 MB / 430.8 MB, free: 10.57 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.842e-05/0.4413, allocations: 137 kB / 430.9 MB, free: 10.41 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002844/0.4442, allocations: 2.718 MB / 433.7 MB, free: 7.668 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001492/0.4443, allocations: 47.73 kB / 433.7 MB, free: 7.617 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008145/0.4451, allocations: 2.05 MB / 435.8 MB, free: 5.547 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003153/0.4455, allocations: 422.8 kB / 436.2 MB, free: 5.129 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007826/0.4463, allocations: 0.837 MB / 437 MB, free: 4.277 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.496e-05/0.4463, allocations: 305.1 kB / 437.3 MB, free: 3.977 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001551/0.4479, allocations: 1.445 MB / 438.7 MB, free: 2.523 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00304/0.4509, allocations: 4.075 MB / 442.8 MB, free: 13.12 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006867/0.4578, allocations: 5.959 MB / 448.8 MB, free: 5.848 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.005e-05/0.4579, allocations: 28 kB / 448.8 MB, free: 5.82 MB / 334.1 MB Notification: Performance of matching and sorting (n=538) (initialization): time 0.0116/0.4695, allocations: 6.029 MB / 454.8 MB, free: 15.78 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001005/0.4697, allocations: 44.22 kB / 454.9 MB, free: 15.74 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001927/0.4699, allocations: 99.94 kB / 455 MB, free: 15.64 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002329/0.4722, allocations: 0.8189 MB / 455.8 MB, free: 14.82 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002949/0.4752, allocations: 0.9513 MB / 456.7 MB, free: 13.87 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006315/0.4815, allocations: 4.643 MB / 461.4 MB, free: 9.094 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003512/0.4851, allocations: 252.4 kB / 461.6 MB, free: 8.848 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008177/0.4859, allocations: 260 kB / 461.9 MB, free: 8.594 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 425 * Number of states: 0 () * Number of discrete variables: 21 (fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[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 (502): * Single equations (assignments): 498 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003104/0.489, allocations: 1.372 MB / 463.3 MB, free: 7.207 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006226/0.4896, allocations: 225.1 kB / 463.5 MB, free: 6.984 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004527/0.4942, allocations: 2.129 MB / 465.6 MB, free: 4.844 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.263e-05/0.4942, allocations: 19.92 kB / 465.6 MB, free: 4.824 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.153e-05/0.4943, allocations: 4 kB / 465.6 MB, free: 4.82 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.212e-05/0.4943, allocations: 7.922 kB / 465.6 MB, free: 4.812 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01029/0.5046, allocations: 5.08 MB / 470.7 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.094e-05/0.5046, allocations: 3.938 kB / 470.7 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007742/0.5054, allocations: 151.8 kB / 470.9 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00209/0.5075, allocations: 0.6873 MB / 471.6 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001255/0.5076, allocations: 16.55 kB / 471.6 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005425/0.5131, allocations: 4.152 MB / 475.7 MB, free: 10.5 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.843e-06/0.5131, allocations: 4 kB / 475.7 MB, free: 10.5 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006523/0.5196, allocations: 4.058 MB / 479.8 MB, free: 6.402 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001431/0.5211, allocations: 462 kB / 480.2 MB, free: 5.93 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000615/0.5217, allocations: 16 kB / 480.3 MB, free: 5.914 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001348/0.5231, allocations: 71.89 kB / 480.3 MB, free: 5.844 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002236/0.5234, allocations: 60.28 kB / 480.4 MB, free: 5.785 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.649e-05/0.5235, allocations: 28 kB / 480.4 MB, free: 5.758 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.003426/0.5269, allocations: 1.705 MB / 482.1 MB, free: 4.043 MB / 366.1 MB Notification: Performance of sort global known variables: time 5.11e-07/0.5269, allocations: 0 / 482.1 MB, free: 4.043 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.003982/0.5309, allocations: 0.6718 MB / 482.8 MB, free: 3.379 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (rev.phi,rev.w) * 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 (74): * Single equations (assignments): 70 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006781/0.5316, allocations: 201.6 kB / 483 MB, free: 3.184 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.006458/0.5381, allocations: 3.703 MB / 486.7 MB, free: 15.5 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.694e-06/0.5381, allocations: 0 / 486.7 MB, free: 15.5 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001538/0.5397, allocations: 1.037 MB / 487.7 MB, free: 14.45 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002425/0.5421, allocations: 269.4 kB / 488 MB, free: 14.19 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0129/0.555, allocations: 6.87 MB / 494.9 MB, free: 7.277 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003632/0.5587, allocations: 2.241 MB / 497.1 MB, free: 5.004 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.003532/0.5623, allocations: 1.318 MB / 498.4 MB, free: 3.68 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007252/0.563, allocations: 159.4 kB / 498.6 MB, free: 3.523 MB / 382.1 MB Notification: Performance of SimCode: time 1.112e-06/0.563, allocations: 0 / 498.6 MB, free: 3.523 MB / 382.1 MB Notification: Performance of Templates: time 0.04618/0.6092, allocations: 23.95 MB / 0.5103 GB, free: 11.54 MB / 414.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/UserDefinedGravityField/UserDefinedGravityField.csv","../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches