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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.001433/0.001433, allocations: 182.6 kB / 18.04 MB, free: 3.785 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.495/1.495, allocations: 205.4 MB / 224.2 MB, free: 9.023 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007912/0.0007912, allocations: 90 kB / 272.5 MB, free: 8.262 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002921/0.0002922, allocations: 11.98 kB / 329.5 MB, free: 15.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2368/0.2371, allocations: 47.58 MB / 377 MB, free: 45.64 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1102/0.3474, allocations: 92.68 MB / 469.7 MB, free: 3.852 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000227/0.3476, allocations: 99.94 kB / 469.8 MB, free: 3.754 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4676/0.8152, allocations: 57.95 MB / 0.5154 GB, free: 94.45 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.876e-06/0.8152, allocations: 4 kB / 0.5154 GB, free: 94.45 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001175/0.8154, allocations: 48.97 kB / 0.5154 GB, free: 94.45 MB / 378.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.007711/0.8231, allocations: 2.695 MB / 0.5181 GB, free: 93.11 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.298e-05/0.8231, allocations: 10.28 kB / 0.5181 GB, free: 93.11 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00779/0.8309, allocations: 1.895 MB / 0.5199 GB, free: 92.8 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004924/0.8359, allocations: 2.348 MB / 0.5222 GB, free: 91.98 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000192/0.8361, allocations: 185.5 kB / 0.5224 GB, free: 91.97 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001247/0.8374, allocations: 239.7 kB / 0.5226 GB, free: 91.97 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01259/0.85, allocations: 6.834 MB / 0.5293 GB, free: 86.56 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001512/0.8502, allocations: 39.78 kB / 0.5293 GB, free: 86.52 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008812/0.8511, allocations: 123.8 kB / 0.5295 GB, free: 86.42 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009331/0.8521, allocations: 0.734 MB / 0.5302 GB, free: 85.69 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01037/0.8624, allocations: 5.942 MB / 0.536 GB, free: 79.75 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02955/0.8921, allocations: 31.23 MB / 0.5665 GB, free: 47.66 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005148/0.8973, allocations: 2.621 MB / 0.569 GB, free: 44.89 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001369/0.8987, allocations: 1.211 MB / 0.5702 GB, free: 43.66 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007711/0.9064, allocations: 5.111 MB / 0.5752 GB, free: 38.43 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.128e-05/0.9064, allocations: 46.5 kB / 0.5753 GB, free: 38.37 MB / 378.7 MB Notification: Performance of pre-optimization done (n=97): time 3.086e-06/0.9065, allocations: 0 / 0.5753 GB, free: 38.37 MB / 378.7 MB Notification: Performance of matching and sorting (n=105): time 0.0211/0.9276, allocations: 9.566 MB / 0.5846 GB, free: 28.66 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.03e-05/0.9277, allocations: 140.9 kB / 0.5847 GB, free: 28.5 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004392/0.9321, allocations: 2.735 MB / 0.5874 GB, free: 25.74 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001659/0.9323, allocations: 40.83 kB / 0.5874 GB, free: 25.7 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001057/0.9333, allocations: 2.052 MB / 0.5894 GB, free: 23.65 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005944/0.9339, allocations: 433.7 kB / 0.5899 GB, free: 23.23 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002025/0.9341, allocations: 80 kB / 0.5899 GB, free: 23.15 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001997/0.9344, allocations: 490.9 kB / 0.5904 GB, free: 22.66 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002165/0.9365, allocations: 1.448 MB / 0.5918 GB, free: 21.21 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003217/0.9398, allocations: 4.055 MB / 0.5958 GB, free: 15.84 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00507/0.9448, allocations: 5.938 MB / 0.6016 GB, free: 8.605 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.19e-05/0.9449, allocations: 28 kB / 0.6016 GB, free: 8.578 MB / 378.7 MB Notification: Performance of matching and sorting (n=532) (initialization): time 0.009342/0.9543, allocations: 6.009 MB / 0.6075 GB, free: 2.562 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.347e-05/0.9544, allocations: 44 kB / 0.6075 GB, free: 2.52 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001041/0.9545, allocations: 92 kB / 0.6076 GB, free: 2.43 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002044/0.9566, allocations: 0.8123 MB / 0.6084 GB, free: 1.613 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002572/0.9591, allocations: 0.9396 MB / 0.6093 GB, free: 0.6719 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005829/0.965, allocations: 4.299 MB / 0.6135 GB, free: 12.25 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003371/0.9684, allocations: 287.5 kB / 0.6138 GB, free: 11.97 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008271/0.9692, allocations: 260 kB / 0.614 GB, free: 11.71 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 423 * 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 (496): * Single equations (assignments): 492 * 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.002769/0.972, allocations: 1.384 MB / 0.6154 GB, free: 10.32 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000499/0.9725, allocations: 225.1 kB / 0.6156 GB, free: 10.09 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004296/0.9768, allocations: 2.134 MB / 0.6177 GB, free: 7.934 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.484e-05/0.9769, allocations: 12 kB / 0.6177 GB, free: 7.922 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.007e-05/0.9769, allocations: 7.25 kB / 0.6177 GB, free: 7.918 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.126e-05/0.9769, allocations: 3.984 kB / 0.6177 GB, free: 7.914 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01017/0.9871, allocations: 5.085 MB / 0.6227 GB, free: 2.77 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.506e-06/0.9871, allocations: 0 / 0.6227 GB, free: 2.77 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006958/0.9878, allocations: 151.8 kB / 0.6228 GB, free: 2.621 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002079/0.9899, allocations: 0.6718 MB / 0.6235 GB, free: 1.945 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001245/0.9901, allocations: 23.98 kB / 0.6235 GB, free: 1.922 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005157/0.9952, allocations: 3.843 MB / 0.6272 GB, free: 13.95 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.388e-06/0.9952, allocations: 4.031 kB / 0.6272 GB, free: 13.95 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006305/1.002, allocations: 4.051 MB / 0.6312 GB, free: 9.859 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001138/1.003, allocations: 465.8 kB / 0.6316 GB, free: 9.383 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003961/1.003, allocations: 16 kB / 0.6317 GB, free: 9.367 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001195/1.004, allocations: 88.16 kB / 0.6317 GB, free: 9.281 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001685/1.005, allocations: 60.3 kB / 0.6318 GB, free: 9.223 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.719e-05/1.005, allocations: 30.66 kB / 0.6318 GB, free: 9.195 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.003119/1.008, allocations: 1.717 MB / 0.6335 GB, free: 7.469 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.9e-07/1.008, allocations: 4 kB / 0.6335 GB, free: 7.465 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003371/1.011, allocations: 0.6757 MB / 0.6342 GB, free: 6.789 MB / 410.7 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 (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.0004501/1.012, allocations: 181.1 kB / 0.6343 GB, free: 6.609 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.005483/1.017, allocations: 3.477 MB / 0.6377 GB, free: 3.145 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/1.017, allocations: 0 / 0.6377 GB, free: 3.145 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001479/1.019, allocations: 1.036 MB / 0.6388 GB, free: 2.094 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002079/1.021, allocations: 244.2 kB / 0.639 GB, free: 1.855 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0104/1.031, allocations: 6.664 MB / 0.6455 GB, free: 11.15 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002624/1.034, allocations: 2.237 MB / 0.6477 GB, free: 8.887 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.003398/1.037, allocations: 1.328 MB / 0.649 GB, free: 7.555 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005002/1.038, allocations: 155.4 kB / 0.6491 GB, free: 7.402 MB / 426.7 MB Notification: Performance of SimCode: time 3.7e-07/1.038, allocations: 0 / 0.6491 GB, free: 7.402 MB / 426.7 MB Notification: Performance of Templates: time 0.2319/1.27, allocations: 22.37 MB / 0.671 GB, free: 126.3 MB / 426.7 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/jenkins1/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