Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001479/0.001479, allocations: 198.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.553/1.553, allocations: 225.6 MB / 234.8 MB, free: 3.289 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009339/0.0009341, allocations: 103.4 kB / 286.7 MB, free: 5.242 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.92e-05/1.937e-05, allocations: 4 kB / 343.7 MB, free: 8.297 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0992/0.09923, allocations: 51.49 MB / 395.2 MB, free: 4.77 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3708/0.4701, allocations: 93.74 MB / 488.9 MB, free: 15.64 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002214/0.4704, allocations: 86.45 kB / 489 MB, free: 15.6 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1539/0.6243, allocations: 59.21 MB / 0.5354 GB, free: 9.133 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.412e-06/0.6244, allocations: 0 / 0.5354 GB, free: 9.133 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.000111/0.6245, allocations: 48 kB / 0.5354 GB, free: 9.086 MB / 410.7 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.007628/0.6321, allocations: 2.642 MB / 0.538 GB, free: 6.391 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.512e-05/0.6322, allocations: 12.03 kB / 0.538 GB, free: 6.379 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008628/0.6408, allocations: 1.923 MB / 0.5399 GB, free: 4.449 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007459/0.6483, allocations: 2.765 MB / 0.5426 GB, free: 1.633 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001501/0.6485, allocations: 83.55 kB / 0.5427 GB, free: 1.555 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001196/0.6497, allocations: 143.9 kB / 0.5428 GB, free: 1.414 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007621/0.6574, allocations: 4.092 MB / 0.5468 GB, free: 13.32 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008904/0.6663, allocations: 6.213 MB / 0.5529 GB, free: 6.41 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.712e-05/0.6664, allocations: 35.69 kB / 0.5529 GB, free: 6.375 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002761/0.6667, allocations: 20 kB / 0.5529 GB, free: 6.355 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009677/0.6677, allocations: 0.7345 MB / 0.5536 GB, free: 5.621 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2931/0.9607, allocations: 30.54 MB / 0.5834 GB, free: 77.05 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002505/0.9633, allocations: 2.176 MB / 0.5856 GB, free: 76.39 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001151/0.9645, allocations: 1.128 MB / 0.5867 GB, free: 76.36 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007813/0.9653, allocations: 341.8 kB / 0.587 GB, free: 76.07 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.19e-05/0.9653, allocations: 40.56 kB / 0.587 GB, free: 76.04 MB / 442.7 MB Notification: Performance of pre-optimization done (n=106): time 4.098e-06/0.9653, allocations: 0 / 0.587 GB, free: 76.04 MB / 442.7 MB Notification: Performance of matching and sorting (n=114): time 0.01816/0.9835, allocations: 9.706 MB / 0.5965 GB, free: 74.2 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.549e-05/0.9836, allocations: 143.3 kB / 0.5967 GB, free: 74.05 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00264/0.9862, allocations: 2.061 MB / 0.5987 GB, free: 73.78 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001538/0.9864, allocations: 29.08 kB / 0.5987 GB, free: 73.75 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009974/0.9874, allocations: 2.078 MB / 0.6007 GB, free: 72.68 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000385/0.9878, allocations: 449.1 kB / 0.6012 GB, free: 72.43 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001378/0.9879, allocations: 1.312 kB / 0.6012 GB, free: 72.43 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002557/0.9882, allocations: 0.5388 MB / 0.6017 GB, free: 72.11 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0016/0.9898, allocations: 1.389 MB / 0.603 GB, free: 72.09 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002524/0.9923, allocations: 4.066 MB / 0.607 GB, free: 68.58 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003454/0.9958, allocations: 2.48 MB / 0.6094 GB, free: 68.57 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.462e-05/0.9958, allocations: 28.16 kB / 0.6095 GB, free: 68.57 MB / 442.7 MB Notification: Performance of matching and sorting (n=559) (initialization): time 0.009731/1.006, allocations: 5.668 MB / 0.615 GB, free: 68.18 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.394e-05/1.006, allocations: 53.95 kB / 0.615 GB, free: 68.18 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001132/1.006, allocations: 99.03 kB / 0.6151 GB, free: 68.18 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002304/1.008, allocations: 0.8361 MB / 0.616 GB, free: 68.17 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003167/1.011, allocations: 0.9899 MB / 0.6169 GB, free: 68.08 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005506/1.017, allocations: 4.241 MB / 0.6211 GB, free: 66.19 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00371/1.021, allocations: 210.6 kB / 0.6213 GB, free: 66.17 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005745/1.021, allocations: 270.1 kB / 0.6215 GB, free: 66.14 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 441 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (523): * Single equations (assignments): 519 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006009/1.022, allocations: 344 kB / 0.6218 GB, free: 65.85 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003441/1.022, allocations: 211 kB / 0.622 GB, free: 65.73 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004751/1.027, allocations: 2.251 MB / 0.6242 GB, free: 65.13 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.292e-05/1.027, allocations: 19.53 kB / 0.6243 GB, free: 65.13 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.3e-05/1.027, allocations: 3.906 kB / 0.6243 GB, free: 65.13 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.251e-05/1.027, allocations: 7.422 kB / 0.6243 GB, free: 65.13 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01016/1.037, allocations: 5.134 MB / 0.6293 GB, free: 63.38 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.094e-05/1.037, allocations: 5.328 kB / 0.6293 GB, free: 63.38 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008165/1.038, allocations: 158.1 kB / 0.6294 GB, free: 63.37 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002322/1.04, allocations: 0.6884 MB / 0.6301 GB, free: 63.29 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001414/1.041, allocations: 12.3 kB / 0.6301 GB, free: 63.28 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005308/1.046, allocations: 3.69 MB / 0.6337 GB, free: 61.31 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.662e-06/1.046, allocations: 6.031 kB / 0.6337 GB, free: 61.31 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006982/1.053, allocations: 4.383 MB / 0.638 GB, free: 59.52 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006067/1.053, allocations: 275.5 kB / 0.6383 GB, free: 59.3 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002241/1.054, allocations: 3.875 kB / 0.6383 GB, free: 59.3 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000972/1.055, allocations: 65.8 kB / 0.6383 GB, free: 59.3 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001631/1.055, allocations: 70.94 kB / 0.6384 GB, free: 59.28 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.485e-05/1.055, allocations: 33.59 kB / 0.6384 GB, free: 59.27 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001818/1.057, allocations: 1.369 MB / 0.6398 GB, free: 58.74 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.9e-07/1.057, allocations: 0.6562 kB / 0.6398 GB, free: 58.74 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003396/1.06, allocations: 0.5955 MB / 0.6404 GB, free: 58.73 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 2 (rev.phi,rev.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (83): * Single equations (assignments): 79 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003973/1.061, allocations: 186.5 kB / 0.6405 GB, free: 58.62 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004202/1.065, allocations: 3.324 MB / 0.6438 GB, free: 57.45 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.691e-06/1.065, allocations: 3.906 kB / 0.6438 GB, free: 57.45 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001065/1.066, allocations: 1.033 MB / 0.6448 GB, free: 57.01 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009797/1.067, allocations: 195.9 kB / 0.645 GB, free: 56.91 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007141/1.074, allocations: 4.594 MB / 0.6495 GB, free: 55.22 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002196/1.076, allocations: 2.291 MB / 0.6517 GB, free: 54.19 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.003288/1.08, allocations: 1.402 MB / 0.6531 GB, free: 54.08 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000354/1.08, allocations: 156.9 kB / 0.6532 GB, free: 54.07 MB / 442.7 MB Notification: Performance of SimCode: time 1.202e-06/1.08, allocations: 0 / 0.6532 GB, free: 54.07 MB / 442.7 MB Notification: Performance of Templates: time 0.0337/1.114, allocations: 20 MB / 0.6728 GB, free: 51.08 MB / 442.7 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.makefile (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/UserDefinedGravityField/UserDefinedGravityField.csv","../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches