Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.conf.json 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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009913/0.0009912, allocations: 174.3 kB / 8.349 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.374/1.374, allocations: 221.5 MB / 230.3 MB, free: 7.578 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009284/0.0009284, allocations: 93.92 kB / 281.2 MB, free: 5.336 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.755e-05/1.758e-05, allocations: 4 kB / 337 MB, free: 10.04 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1251/0.1251, allocations: 50.42 MB / 387.5 MB, free: 7.57 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3775/0.5027, allocations: 93.07 MB / 480.5 MB, free: 1.762 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002299/0.503, allocations: 87.95 kB / 480.6 MB, free: 1.676 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1499/0.6529, allocations: 58.48 MB / 0.5265 GB, free: 6.762 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.6529, allocations: 0 / 0.5265 GB, free: 6.762 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001018/0.653, allocations: 44 kB / 0.5265 GB, free: 6.719 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.007534/0.6606, allocations: 2.623 MB / 0.5291 GB, free: 4.039 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.925e-05/0.6606, allocations: 12.03 kB / 0.5291 GB, free: 4.027 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008238/0.6689, allocations: 1.923 MB / 0.531 GB, free: 2.098 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008832/0.6777, allocations: 3.268 MB / 0.5342 GB, free: 14.78 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001183/0.6779, allocations: 80 kB / 0.5342 GB, free: 14.7 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008654/0.6788, allocations: 139.9 kB / 0.5344 GB, free: 14.56 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006639/0.6854, allocations: 4.1 MB / 0.5384 GB, free: 10.46 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00882/0.6943, allocations: 6.214 MB / 0.5444 GB, free: 3.551 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.527e-05/0.6944, allocations: 35.69 kB / 0.5445 GB, free: 3.516 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003061/0.6947, allocations: 20 kB / 0.5445 GB, free: 3.496 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009896/0.6957, allocations: 0.7267 MB / 0.5452 GB, free: 2.77 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2939/0.9896, allocations: 30.53 MB / 0.575 GB, free: 88.91 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003089/0.9927, allocations: 2.179 MB / 0.5771 GB, free: 88.25 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001697/0.9945, allocations: 1.131 MB / 0.5782 GB, free: 88.21 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009092/0.9954, allocations: 338.7 kB / 0.5786 GB, free: 87.93 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.098e-05/0.9954, allocations: 46.23 kB / 0.5786 GB, free: 87.89 MB / 426.7 MB Notification: Performance of pre-optimization done (n=106): time 3.607e-06/0.9954, allocations: 0 / 0.5786 GB, free: 87.89 MB / 426.7 MB Notification: Performance of matching and sorting (n=114): time 0.02062/1.016, allocations: 9.665 MB / 0.5881 GB, free: 85.72 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.841e-05/1.016, allocations: 144 kB / 0.5882 GB, free: 85.57 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002779/1.019, allocations: 2.054 MB / 0.5902 GB, free: 84.78 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002391/1.019, allocations: 29.45 kB / 0.5902 GB, free: 84.75 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009404/1.02, allocations: 2.079 MB / 0.5923 GB, free: 83.39 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004416/1.021, allocations: 446 kB / 0.5927 GB, free: 83.08 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001397/1.021, allocations: 0 / 0.5927 GB, free: 83.08 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002527/1.021, allocations: 0.5407 MB / 0.5932 GB, free: 82.67 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001548/1.023, allocations: 1.384 MB / 0.5946 GB, free: 82.21 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00259/1.025, allocations: 4.073 MB / 0.5985 GB, free: 78.09 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003344/1.029, allocations: 2.473 MB / 0.601 GB, free: 77.44 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.322e-05/1.029, allocations: 30.97 kB / 0.601 GB, free: 77.44 MB / 426.7 MB Notification: Performance of matching and sorting (n=559) (initialization): time 0.009679/1.038, allocations: 5.657 MB / 0.6065 GB, free: 75.77 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.243e-05/1.038, allocations: 52.36 kB / 0.6066 GB, free: 75.77 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.351e-05/1.038, allocations: 100.7 kB / 0.6067 GB, free: 75.77 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00215/1.041, allocations: 0.8379 MB / 0.6075 GB, free: 75.68 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002879/1.044, allocations: 0.9925 MB / 0.6084 GB, free: 75.55 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004604/1.048, allocations: 4.239 MB / 0.6126 GB, free: 73.38 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003268/1.051, allocations: 212.3 kB / 0.6128 GB, free: 73.35 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004681/1.052, allocations: 270.3 kB / 0.613 GB, free: 73.32 MB / 426.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.0005423/1.052, allocations: 353.2 kB / 0.6134 GB, free: 73.02 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000306/1.053, allocations: 209.2 kB / 0.6136 GB, free: 72.91 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004437/1.057, allocations: 2.232 MB / 0.6158 GB, free: 72.3 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.377e-05/1.057, allocations: 14.98 kB / 0.6158 GB, free: 72.3 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.059e-05/1.057, allocations: 5.25 kB / 0.6158 GB, free: 72.3 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.357e-05/1.057, allocations: 7.359 kB / 0.6158 GB, free: 72.3 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009207/1.066, allocations: 5.142 MB / 0.6208 GB, free: 70.52 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.124e-05/1.067, allocations: 0 / 0.6208 GB, free: 70.52 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007285/1.067, allocations: 162.3 kB / 0.621 GB, free: 70.5 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001909/1.069, allocations: 0.6748 MB / 0.6216 GB, free: 70.41 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001119/1.069, allocations: 12.83 kB / 0.6216 GB, free: 70.41 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00388/1.073, allocations: 3.704 MB / 0.6252 GB, free: 68.43 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.2e-06/1.073, allocations: 2.438 kB / 0.6252 GB, free: 68.43 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006076/1.079, allocations: 4.366 MB / 0.6295 GB, free: 65.88 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006302/1.08, allocations: 280.8 kB / 0.6298 GB, free: 65.59 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002205/1.08, allocations: 0 / 0.6298 GB, free: 65.59 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000972/1.081, allocations: 75.05 kB / 0.6299 GB, free: 65.55 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001636/1.081, allocations: 61.91 kB / 0.6299 GB, free: 65.51 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.61e-05/1.081, allocations: 31.66 kB / 0.6299 GB, free: 65.48 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001775/1.083, allocations: 1.363 MB / 0.6313 GB, free: 64.28 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.3e-07/1.083, allocations: 0 / 0.6313 GB, free: 64.28 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003467/1.087, allocations: 0.6008 MB / 0.6319 GB, free: 63.69 MB / 426.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.0004213/1.087, allocations: 177.1 kB / 0.632 GB, free: 63.53 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004282/1.091, allocations: 3.325 MB / 0.6353 GB, free: 60.54 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.9e-06/1.091, allocations: 0 / 0.6353 GB, free: 60.54 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001054/1.093, allocations: 1.035 MB / 0.6363 GB, free: 59.6 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001191/1.094, allocations: 202.3 kB / 0.6365 GB, free: 59.42 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008408/1.102, allocations: 4.583 MB / 0.641 GB, free: 55.33 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001684/1.104, allocations: 2.294 MB / 0.6432 GB, free: 53.51 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.00301/1.107, allocations: 1.408 MB / 0.6446 GB, free: 52.62 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004183/1.107, allocations: 154.5 kB / 0.6447 GB, free: 52.48 MB / 426.7 MB Notification: Performance of SimCode: time 8.62e-07/1.107, allocations: 1.094 kB / 0.6447 GB, free: 52.48 MB / 426.7 MB Notification: Performance of Templates: time 0.03255/1.14, allocations: 19.96 MB / 0.6642 GB, free: 34.95 MB / 426.7 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.makefile (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.sim & ./Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches