Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.001522/0.001521, allocations: 181.7 kB / 13.66 MB, free: 1.664 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.966/1.966, allocations: 205.2 MB / 219.4 MB, free: 14.29 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.001086/0.001086, allocations: 98.56 kB / 267.5 MB, free: 14.11 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.199e-05/3.206e-05, allocations: 4 kB / 321.5 MB, free: 17.85 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09311/0.09317, allocations: 47.57 MB / 369.1 MB, free: 2.211 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4266/0.5198, allocations: 92.45 MB / 461.5 MB, free: 0.9609 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002925/0.5202, allocations: 86.33 kB / 461.6 MB, free: 0.918 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2586/0.7787, allocations: 58.79 MB / 0.5082 GB, free: 7.457 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.274e-06/0.7788, allocations: 0 / 0.5082 GB, free: 7.457 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001382/0.779, allocations: 52 kB / 0.5083 GB, free: 7.406 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.01001/0.789, allocations: 2.631 MB / 0.5108 GB, free: 4.719 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.021e-05/0.7891, allocations: 16.02 kB / 0.5109 GB, free: 4.703 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01492/0.804, allocations: 1.919 MB / 0.5127 GB, free: 2.777 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01429/0.8183, allocations: 3.416 MB / 0.5161 GB, free: 15.31 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002567/0.8187, allocations: 184.8 kB / 0.5162 GB, free: 15.13 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001367/0.82, allocations: 251.8 kB / 0.5165 GB, free: 14.88 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01885/0.8389, allocations: 6.773 MB / 0.5231 GB, free: 7.406 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001588/0.8391, allocations: 43.69 kB / 0.5231 GB, free: 7.363 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006263/0.8398, allocations: 123.9 kB / 0.5233 GB, free: 7.242 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001753/0.8415, allocations: 0.7228 MB / 0.524 GB, free: 6.516 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01806/0.8596, allocations: 5.846 MB / 0.5297 GB, free: 0.6719 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3253/1.185, allocations: 31.24 MB / 0.5602 GB, free: 81.18 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0101/1.195, allocations: 2.609 MB / 0.5627 GB, free: 80.51 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0029/1.198, allocations: 1.191 MB / 0.5639 GB, free: 80.48 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01476/1.213, allocations: 5.147 MB / 0.5689 GB, free: 78.95 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.931e-05/1.213, allocations: 43.47 kB / 0.569 GB, free: 78.9 MB / 410.7 MB Notification: Performance of pre-optimization done (n=97): time 5.691e-06/1.213, allocations: 0 / 0.569 GB, free: 78.9 MB / 410.7 MB Notification: Performance of matching and sorting (n=105): time 0.03213/1.245, allocations: 8.027 MB / 0.5768 GB, free: 75.88 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.335e-05/1.245, allocations: 139.4 kB / 0.5769 GB, free: 75.71 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0051/1.25, allocations: 2.402 MB / 0.5793 GB, free: 74.84 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003467/1.251, allocations: 38.09 kB / 0.5793 GB, free: 74.8 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001525/1.252, allocations: 2.041 MB / 0.5813 GB, free: 73.3 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006808/1.253, allocations: 427.2 kB / 0.5817 GB, free: 73 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003876/1.254, allocations: 83.12 kB / 0.5818 GB, free: 72.94 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002528/1.254, allocations: 484.6 kB / 0.5823 GB, free: 72.56 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003314/1.257, allocations: 1.388 MB / 0.5836 GB, free: 72.12 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004995/1.262, allocations: 3.992 MB / 0.5875 GB, free: 68.17 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005169/1.267, allocations: 2.332 MB / 0.5898 GB, free: 67.54 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.719e-05/1.268, allocations: 27.97 kB / 0.5898 GB, free: 67.54 MB / 410.7 MB Notification: Performance of matching and sorting (n=532) (initialization): time 0.01688/1.284, allocations: 5.815 MB / 0.5955 GB, free: 65.77 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.613e-05/1.285, allocations: 48.12 kB / 0.5955 GB, free: 65.77 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001245/1.285, allocations: 92.47 kB / 0.5956 GB, free: 65.77 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004159/1.289, allocations: 0.8274 MB / 0.5964 GB, free: 65.68 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005705/1.295, allocations: 0.941 MB / 0.5974 GB, free: 65.56 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008573/1.303, allocations: 4.297 MB / 0.6016 GB, free: 63.33 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00526/1.309, allocations: 277.7 kB / 0.6018 GB, free: 63.25 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009276/1.31, allocations: 260.8 kB / 0.6021 GB, free: 63.22 MB / 410.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 () * 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.0008653/1.31, allocations: 425.9 kB / 0.6025 GB, free: 62.86 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006081/1.311, allocations: 225.4 kB / 0.6027 GB, free: 62.74 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007126/1.318, allocations: 2.125 MB / 0.6048 GB, free: 62.09 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.937e-05/1.318, allocations: 15.61 kB / 0.6048 GB, free: 62.09 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.142e-05/1.318, allocations: 7.703 kB / 0.6048 GB, free: 62.09 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.756e-05/1.318, allocations: 6.469 kB / 0.6048 GB, free: 62.09 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01511/1.333, allocations: 5.069 MB / 0.6097 GB, free: 60.31 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-05/1.334, allocations: 0 / 0.6097 GB, free: 60.31 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00146/1.335, allocations: 146.9 kB / 0.6099 GB, free: 60.3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003754/1.339, allocations: 0.6738 MB / 0.6105 GB, free: 60.21 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002893/1.339, allocations: 19.52 kB / 0.6106 GB, free: 60.21 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007564/1.347, allocations: 3.841 MB / 0.6143 GB, free: 57.05 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.182e-06/1.347, allocations: 7.984 kB / 0.6143 GB, free: 57.04 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01028/1.357, allocations: 4.12 MB / 0.6183 GB, free: 53.51 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001601/1.359, allocations: 469 kB / 0.6188 GB, free: 53.06 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006175/1.359, allocations: 23.69 kB / 0.6188 GB, free: 53.04 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002109/1.361, allocations: 73.72 kB / 0.6189 GB, free: 53 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000354/1.362, allocations: 59.09 kB / 0.6189 GB, free: 52.96 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001464/1.362, allocations: 31.75 kB / 0.619 GB, free: 52.93 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.003807/1.366, allocations: 1.661 MB / 0.6206 GB, free: 51.45 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.91e-07/1.366, allocations: 7.938 kB / 0.6206 GB, free: 51.44 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004884/1.371, allocations: 0.6792 MB / 0.6213 GB, free: 50.77 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 () * 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.0006665/1.372, allocations: 180.2 kB / 0.6214 GB, free: 50.61 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00779/1.379, allocations: 3.4 MB / 0.6247 GB, free: 47.53 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.232e-06/1.379, allocations: 0 / 0.6247 GB, free: 47.53 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002182/1.382, allocations: 1.032 MB / 0.6258 GB, free: 46.59 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002142/1.384, allocations: 242.9 kB / 0.626 GB, free: 46.38 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01282/1.397, allocations: 4.861 MB / 0.6307 GB, free: 42.05 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003897/1.401, allocations: 2.294 MB / 0.633 GB, free: 40.23 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001102/1.402, allocations: 196.8 kB / 0.6332 GB, free: 40.05 MB / 410.7 MB Notification: Performance of SimCode: time 1.133e-06/1.402, allocations: 3.938 kB / 0.6332 GB, free: 40.05 MB / 410.7 MB Notification: Performance of Templates: time 0.08699/1.489, allocations: 46.57 MB / 0.6786 GB, free: 10.78 MB / 426.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.sim & ./Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_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_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches