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.001473/0.001473, allocations: 186.3 kB / 16.4 MB, free: 5.75 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.923/1.923, allocations: 205.4 MB / 222.5 MB, free: 9.125 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.001128/0.001127, allocations: 88.42 kB / 270.9 MB, free: 8.371 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003787/0.0003786, allocations: 12 kB / 327 MB, free: 200 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.334/0.3344, allocations: 47.57 MB / 374.5 MB, free: 45.42 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1495/0.4839, allocations: 92.55 MB / 467.1 MB, free: 4.203 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003425/0.4844, allocations: 87.95 kB / 467.2 MB, free: 4.117 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5194/1.004, allocations: 58.76 MB / 0.5136 GB, free: 94.09 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.695e-06/1.004, allocations: 4 kB / 0.5136 GB, free: 94.09 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001176/1.004, allocations: 50.03 kB / 0.5137 GB, free: 94.09 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.009746/1.014, allocations: 2.777 MB / 0.5164 GB, free: 92.75 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.566e-05/1.014, allocations: 9.656 kB / 0.5164 GB, free: 92.75 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01391/1.028, allocations: 1.918 MB / 0.5183 GB, free: 92.31 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01266/1.04, allocations: 3.432 MB / 0.5216 GB, free: 91.11 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001938/1.041, allocations: 184.9 kB / 0.5218 GB, free: 91.1 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001309/1.042, allocations: 239.4 kB / 0.522 GB, free: 91.04 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01639/1.058, allocations: 6.864 MB / 0.5287 GB, free: 85.01 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001315/1.059, allocations: 43.53 kB / 0.5288 GB, free: 84.97 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005485/1.059, allocations: 121.6 kB / 0.5289 GB, free: 84.87 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001346/1.061, allocations: 0.7228 MB / 0.5296 GB, free: 84.15 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01597/1.077, allocations: 6 MB / 0.5354 GB, free: 78.15 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03999/1.117, allocations: 31.23 MB / 0.5659 GB, free: 46.05 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009076/1.126, allocations: 2.628 MB / 0.5685 GB, free: 43.27 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01196/1.138, allocations: 5.145 MB / 0.5735 GB, free: 38 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.095e-05/1.138, allocations: 38.56 kB / 0.5736 GB, free: 37.96 MB / 378.7 MB Notification: Performance of pre-optimization done (n=97): time 5.019e-06/1.138, allocations: 4 kB / 0.5736 GB, free: 37.95 MB / 378.7 MB Notification: Performance of matching and sorting (n=105): time 0.03529/1.173, allocations: 9.827 MB / 0.5832 GB, free: 27.94 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.598e-05/1.173, allocations: 137 kB / 0.5833 GB, free: 27.77 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004678/1.178, allocations: 2.457 MB / 0.5857 GB, free: 25.3 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002418/1.178, allocations: 37.7 kB / 0.5857 GB, free: 25.25 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001259/1.179, allocations: 2.034 MB / 0.5877 GB, free: 23.23 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000489/1.18, allocations: 429.8 kB / 0.5881 GB, free: 22.81 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003226/1.18, allocations: 80 kB / 0.5882 GB, free: 22.73 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002445/1.181, allocations: 491.8 kB / 0.5887 GB, free: 22.24 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003446/1.184, allocations: 1.445 MB / 0.5901 GB, free: 20.79 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004537/1.189, allocations: 4.047 MB / 0.594 GB, free: 15.43 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005104/1.194, allocations: 2.361 MB / 0.5963 GB, free: 13.07 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.575e-05/1.194, allocations: 28 kB / 0.5964 GB, free: 13.05 MB / 378.7 MB Notification: Performance of matching and sorting (n=532) (initialization): time 0.01553/1.209, allocations: 5.934 MB / 0.6022 GB, free: 7.102 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.706e-05/1.209, allocations: 44 kB / 0.6022 GB, free: 7.059 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.845e-05/1.21, allocations: 92 kB / 0.6023 GB, free: 6.969 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003854/1.213, allocations: 0.8283 MB / 0.6031 GB, free: 6.137 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005178/1.219, allocations: 0.9396 MB / 0.604 GB, free: 5.195 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008365/1.227, allocations: 4.398 MB / 0.6083 GB, free: 0.668 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00474/1.232, allocations: 275.5 kB / 0.6086 GB, free: 408 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005024/1.232, allocations: 264 kB / 0.6088 GB, free: 144 kB / 378.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.003117/1.235, allocations: 1.377 MB / 0.6102 GB, free: 14.75 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005766/1.236, allocations: 233 kB / 0.6104 GB, free: 14.52 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007515/1.244, allocations: 2.126 MB / 0.6125 GB, free: 12.38 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.339e-05/1.244, allocations: 15.95 kB / 0.6125 GB, free: 12.37 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.283e-05/1.244, allocations: 15.12 kB / 0.6125 GB, free: 12.36 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.709e-05/1.244, allocations: 4.828 kB / 0.6125 GB, free: 12.35 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01554/1.259, allocations: 5.075 MB / 0.6175 GB, free: 7.211 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.504e-05/1.259, allocations: 4 kB / 0.6175 GB, free: 7.207 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001397/1.261, allocations: 151.8 kB / 0.6176 GB, free: 7.059 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00397/1.265, allocations: 0.6716 MB / 0.6183 GB, free: 6.383 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002681/1.265, allocations: 23.98 kB / 0.6183 GB, free: 6.359 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009001/1.274, allocations: 3.948 MB / 0.6221 GB, free: 2.281 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.259e-06/1.274, allocations: 3.938 kB / 0.6221 GB, free: 2.277 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01152/1.286, allocations: 4.149 MB / 0.6262 GB, free: 14.06 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001615/1.287, allocations: 454 kB / 0.6266 GB, free: 13.6 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004749/1.288, allocations: 16 kB / 0.6266 GB, free: 13.58 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001815/1.29, allocations: 83.88 kB / 0.6267 GB, free: 13.5 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003276/1.29, allocations: 60.36 kB / 0.6268 GB, free: 13.44 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001382/1.29, allocations: 35.67 kB / 0.6268 GB, free: 13.41 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.004664/1.295, allocations: 1.71 MB / 0.6285 GB, free: 11.69 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.22e-07/1.295, allocations: 0 / 0.6285 GB, free: 11.69 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004945/1.3, allocations: 0.6835 MB / 0.6292 GB, free: 11 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.0006057/1.3, allocations: 178.2 kB / 0.6293 GB, free: 10.82 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.009229/1.31, allocations: 3.474 MB / 0.6327 GB, free: 7.355 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.781e-06/1.31, allocations: 4.375 kB / 0.6327 GB, free: 7.352 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002487/1.312, allocations: 1.047 MB / 0.6337 GB, free: 6.289 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001913/1.314, allocations: 242 kB / 0.634 GB, free: 6.055 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01619/1.33, allocations: 6.922 MB / 0.6407 GB, free: 15.09 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004108/1.335, allocations: 2.3 MB / 0.643 GB, free: 12.76 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001171/1.336, allocations: 191.4 kB / 0.6432 GB, free: 12.57 MB / 426.7 MB Notification: Performance of SimCode: time 8.52e-07/1.336, allocations: 0 / 0.6432 GB, free: 12.57 MB / 426.7 MB Notification: Performance of Templates: time 0.3807/1.716, allocations: 46.57 MB / 0.6886 GB, free: 116.9 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