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.001089/0.001089, allocations: 178.4 kB / 8.698 MB, free: 388 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.632/1.632, allocations: 205.3 MB / 214.4 MB, free: 1.73 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009529/0.0009529, allocations: 90.69 kB / 262.4 MB, free: 1.676 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.769e-05/1.767e-05, allocations: 4 kB / 315.5 MB, free: 22.71 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.101/0.1011, allocations: 47.59 MB / 363.1 MB, free: 7.066 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.377/0.4782, allocations: 92.02 MB / 455.1 MB, free: 3.844 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003066/0.4785, allocations: 89.2 kB / 455.2 MB, free: 3.801 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1528/0.6313, allocations: 57.78 MB / 0.5009 GB, free: 15.4 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.637e-06/0.6314, allocations: 3.938 kB / 0.501 GB, free: 15.4 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001172/0.6315, allocations: 48 kB / 0.501 GB, free: 15.35 MB / 394.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.008984/0.6405, allocations: 2.639 MB / 0.5036 GB, free: 12.66 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.011e-05/0.6406, allocations: 12.03 kB / 0.5036 GB, free: 12.64 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008964/0.6496, allocations: 1.927 MB / 0.5055 GB, free: 10.71 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009812/0.6594, allocations: 3.409 MB / 0.5088 GB, free: 7.25 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001587/0.6596, allocations: 80 kB / 0.5089 GB, free: 7.172 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001274/0.6609, allocations: 139.9 kB / 0.509 GB, free: 7.035 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007589/0.6685, allocations: 4.104 MB / 0.513 GB, free: 2.926 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01215/0.6807, allocations: 6.206 MB / 0.5191 GB, free: 12.02 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001043/0.6809, allocations: 35.69 kB / 0.5191 GB, free: 11.99 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003573/0.6813, allocations: 24 kB / 0.5191 GB, free: 11.96 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001079/0.6823, allocations: 0.7267 MB / 0.5198 GB, free: 11.24 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3088/0.9912, allocations: 30.57 MB / 0.5497 GB, free: 87.21 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003301/0.9945, allocations: 2.174 MB / 0.5518 GB, free: 86.55 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00185/0.9964, allocations: 1.144 MB / 0.5529 GB, free: 86.52 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009941/0.9974, allocations: 329 kB / 0.5532 GB, free: 86.24 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.503e-05/0.9975, allocations: 40.31 kB / 0.5533 GB, free: 86.2 MB / 410.7 MB Notification: Performance of pre-optimization done (n=106): time 6.161e-06/0.9975, allocations: 0 / 0.5533 GB, free: 86.2 MB / 410.7 MB Notification: Performance of matching and sorting (n=114): time 0.022/1.02, allocations: 9.713 MB / 0.5628 GB, free: 84.32 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.805e-05/1.02, allocations: 142.8 kB / 0.5629 GB, free: 84.16 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003002/1.023, allocations: 2.077 MB / 0.5649 GB, free: 83.89 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000222/1.023, allocations: 25.7 kB / 0.565 GB, free: 83.86 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001097/1.024, allocations: 2.085 MB / 0.567 GB, free: 82.83 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004285/1.024, allocations: 448.7 kB / 0.5674 GB, free: 82.6 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001513/1.025, allocations: 0 / 0.5674 GB, free: 82.6 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003032/1.025, allocations: 0.5488 MB / 0.568 GB, free: 82.28 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001713/1.027, allocations: 1.378 MB / 0.5693 GB, free: 82.26 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003247/1.03, allocations: 4.067 MB / 0.5733 GB, free: 78.24 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004138/1.034, allocations: 2.468 MB / 0.5757 GB, free: 77.6 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.119e-05/1.034, allocations: 32.97 kB / 0.5757 GB, free: 77.6 MB / 410.7 MB Notification: Performance of matching and sorting (n=559) (initialization): time 0.01059/1.045, allocations: 5.658 MB / 0.5812 GB, free: 76.07 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.632e-05/1.045, allocations: 45.72 kB / 0.5813 GB, free: 76.07 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001076/1.045, allocations: 100.3 kB / 0.5814 GB, free: 76.07 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00239/1.047, allocations: 0.8375 MB / 0.5822 GB, free: 75.98 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003468/1.051, allocations: 0.9883 MB / 0.5832 GB, free: 75.86 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005211/1.056, allocations: 4.241 MB / 0.5873 GB, free: 73.68 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004182/1.06, allocations: 209 kB / 0.5875 GB, free: 73.66 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009925/1.061, allocations: 275.5 kB / 0.5878 GB, free: 73.62 MB / 410.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.0007759/1.062, allocations: 344.5 kB / 0.5881 GB, free: 73.33 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005443/1.063, allocations: 211.4 kB / 0.5883 GB, free: 73.21 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004777/1.067, allocations: 2.236 MB / 0.5905 GB, free: 72.61 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.822e-05/1.068, allocations: 21.66 kB / 0.5905 GB, free: 72.6 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.308e-05/1.068, allocations: 3.844 kB / 0.5905 GB, free: 72.6 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.579e-05/1.068, allocations: 3.75 kB / 0.5905 GB, free: 72.6 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01019/1.078, allocations: 5.139 MB / 0.5955 GB, free: 70.83 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.256e-05/1.078, allocations: 0 / 0.5955 GB, free: 70.83 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008062/1.079, allocations: 167.1 kB / 0.5957 GB, free: 70.82 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001986/1.081, allocations: 0.6763 MB / 0.5964 GB, free: 70.73 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001212/1.081, allocations: 5.719 kB / 0.5964 GB, free: 70.73 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004158/1.085, allocations: 3.705 MB / 0.6 GB, free: 68.75 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.732e-06/1.085, allocations: 0 / 0.6 GB, free: 68.75 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006579/1.092, allocations: 4.373 MB / 0.6042 GB, free: 66.27 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001149/1.093, allocations: 445 kB / 0.6047 GB, free: 65.85 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002547/1.093, allocations: 7.609 kB / 0.6047 GB, free: 65.85 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001042/1.094, allocations: 67.98 kB / 0.6047 GB, free: 65.81 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001826/1.094, allocations: 77.73 kB / 0.6048 GB, free: 65.76 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.411e-05/1.094, allocations: 28 kB / 0.6048 GB, free: 65.73 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002163/1.097, allocations: 1.374 MB / 0.6062 GB, free: 64.52 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.81e-07/1.097, allocations: 0 / 0.6062 GB, free: 64.52 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004176/1.101, allocations: 0.5933 MB / 0.6068 GB, free: 63.94 MB / 410.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.0005785/1.101, allocations: 175.5 kB / 0.6069 GB, free: 63.78 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.005277/1.107, allocations: 3.325 MB / 0.6102 GB, free: 60.8 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.973e-06/1.107, allocations: 0 / 0.6102 GB, free: 60.8 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001214/1.108, allocations: 1.041 MB / 0.6112 GB, free: 59.86 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001593/1.109, allocations: 194.8 kB / 0.6114 GB, free: 59.68 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008527/1.118, allocations: 4.592 MB / 0.6159 GB, free: 55.58 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001803/1.12, allocations: 2.294 MB / 0.6181 GB, free: 53.76 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.00315/1.123, allocations: 1.409 MB / 0.6195 GB, free: 52.88 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003748/1.123, allocations: 158.4 kB / 0.6196 GB, free: 52.73 MB / 410.7 MB Notification: Performance of SimCode: time 9.12e-07/1.123, allocations: 0 / 0.6196 GB, free: 52.73 MB / 410.7 MB Notification: Performance of Templates: time 0.03263/1.156, allocations: 19.96 MB / 0.6391 GB, free: 35.36 MB / 410.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/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