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.001062/0.001062, allocations: 177.3 kB / 17.41 MB, free: 4.289 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.293/1.293, allocations: 205.4 MB / 223.6 MB, free: 9.035 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.0007564/0.0007563, allocations: 99.75 kB / 271.9 MB, free: 8.281 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003101/0.0003101, allocations: 12 kB / 328.2 MB, free: 15.97 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2284/0.2287, allocations: 47.58 MB / 375.7 MB, free: 45.45 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1015/0.3302, allocations: 92.69 MB / 468.4 MB, free: 3.949 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002566/0.3305, allocations: 99.89 kB / 468.5 MB, free: 3.852 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2997/0.6302, allocations: 57.95 MB / 0.5141 GB, free: 94.16 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.834e-06/0.6303, allocations: 0 / 0.5141 GB, free: 94.16 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.496e-05/0.6304, allocations: 43 kB / 0.5142 GB, free: 94.16 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.004939/0.6353, allocations: 2.697 MB / 0.5168 GB, free: 92.82 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.122e-05/0.6354, allocations: 10.75 kB / 0.5168 GB, free: 92.82 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006593/0.642, allocations: 1.901 MB / 0.5187 GB, free: 92.54 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004129/0.6461, allocations: 2.341 MB / 0.521 GB, free: 91.72 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001381/0.6463, allocations: 190.3 kB / 0.5211 GB, free: 91.71 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006218/0.6469, allocations: 245 kB / 0.5214 GB, free: 91.7 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009742/0.6567, allocations: 6.822 MB / 0.528 GB, free: 86.68 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001251/0.6568, allocations: 43.72 kB / 0.5281 GB, free: 86.64 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005233/0.6573, allocations: 123.9 kB / 0.5282 GB, free: 86.54 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008288/0.6582, allocations: 0.7259 MB / 0.5289 GB, free: 85.81 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009094/0.6673, allocations: 5.95 MB / 0.5347 GB, free: 79.86 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02808/0.6954, allocations: 31.23 MB / 0.5652 GB, free: 47.77 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005263/0.7007, allocations: 2.611 MB / 0.5678 GB, free: 45 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00137/0.7021, allocations: 1.215 MB / 0.5689 GB, free: 43.78 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007589/0.7098, allocations: 5.116 MB / 0.5739 GB, free: 38.54 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.613e-05/0.7098, allocations: 42.56 kB / 0.574 GB, free: 38.48 MB / 378.7 MB Notification: Performance of pre-optimization done (n=97): time 4.097e-06/0.7098, allocations: 0 / 0.574 GB, free: 38.48 MB / 378.7 MB Notification: Performance of matching and sorting (n=105): time 0.02148/0.7313, allocations: 9.565 MB / 0.5833 GB, free: 28.78 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.514e-05/0.7314, allocations: 137 kB / 0.5835 GB, free: 28.61 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003965/0.7354, allocations: 2.735 MB / 0.5861 GB, free: 25.86 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002015/0.7356, allocations: 44.67 kB / 0.5862 GB, free: 25.81 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001069/0.7367, allocations: 2.056 MB / 0.5882 GB, free: 23.76 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004274/0.7371, allocations: 429.7 kB / 0.5886 GB, free: 23.34 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002465/0.7374, allocations: 80 kB / 0.5887 GB, free: 23.27 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002447/0.7376, allocations: 490.9 kB / 0.5891 GB, free: 22.78 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002166/0.7398, allocations: 1.448 MB / 0.5905 GB, free: 21.32 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00304/0.7429, allocations: 4.063 MB / 0.5945 GB, free: 15.95 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00541/0.7483, allocations: 5.934 MB / 0.6003 GB, free: 8.715 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.57e-05/0.7484, allocations: 28 kB / 0.6003 GB, free: 8.688 MB / 378.7 MB Notification: Performance of matching and sorting (n=532) (initialization): time 0.009628/0.758, allocations: 6.004 MB / 0.6062 GB, free: 2.676 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.166e-05/0.7581, allocations: 44 kB / 0.6062 GB, free: 2.633 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.654e-05/0.7582, allocations: 96 kB / 0.6063 GB, free: 2.539 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002123/0.7604, allocations: 0.8059 MB / 0.6071 GB, free: 1.73 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002653/0.763, allocations: 0.9474 MB / 0.608 GB, free: 0.7812 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00597/0.769, allocations: 4.301 MB / 0.6122 GB, free: 12.35 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003315/0.7724, allocations: 283.5 kB / 0.6125 GB, free: 12.07 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007294/0.7731, allocations: 260 kB / 0.6128 GB, free: 11.82 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.003073/0.7762, allocations: 1.376 MB / 0.6141 GB, free: 10.43 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005798/0.7768, allocations: 225.1 kB / 0.6143 GB, free: 10.21 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004834/0.7817, allocations: 2.134 MB / 0.6164 GB, free: 8.047 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.784e-05/0.7817, allocations: 12 kB / 0.6164 GB, free: 8.035 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.416e-05/0.7817, allocations: 4 kB / 0.6164 GB, free: 8.031 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.474e-05/0.7818, allocations: 7.984 kB / 0.6164 GB, free: 8.023 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0122/0.794, allocations: 5.098 MB / 0.6214 GB, free: 2.871 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.277e-05/0.794, allocations: 0 / 0.6214 GB, free: 2.871 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007501/0.7948, allocations: 147.8 kB / 0.6215 GB, free: 2.727 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002114/0.7969, allocations: 0.6678 MB / 0.6222 GB, free: 2.055 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001438/0.7971, allocations: 20 kB / 0.6222 GB, free: 2.035 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005359/0.8024, allocations: 3.842 MB / 0.626 GB, free: 14.07 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.8025, allocations: 4.312 kB / 0.626 GB, free: 14.06 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006912/0.8094, allocations: 4.062 MB / 0.6299 GB, free: 9.965 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001171/0.8106, allocations: 461.9 kB / 0.6304 GB, free: 9.492 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005219/0.8111, allocations: 19.19 kB / 0.6304 GB, free: 9.477 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001281/0.8124, allocations: 87.75 kB / 0.6305 GB, free: 9.391 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001948/0.8126, allocations: 52.36 kB / 0.6305 GB, free: 9.34 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.857e-05/0.8128, allocations: 35.98 kB / 0.6306 GB, free: 9.305 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.003656/0.8164, allocations: 1.714 MB / 0.6322 GB, free: 7.582 MB / 410.7 MB Notification: Performance of sort global known variables: time 2e-07/0.8164, allocations: 0 / 0.6322 GB, free: 7.582 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003966/0.8204, allocations: 0.6794 MB / 0.6329 GB, free: 6.906 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.0005461/0.821, allocations: 185.9 kB / 0.6331 GB, free: 6.719 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.006126/0.8271, allocations: 3.465 MB / 0.6365 GB, free: 3.266 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.979e-06/0.8271, allocations: 0 / 0.6365 GB, free: 3.266 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001569/0.8287, allocations: 1.047 MB / 0.6375 GB, free: 2.203 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002434/0.8312, allocations: 249 kB / 0.6377 GB, free: 1.961 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01273/0.8439, allocations: 6.964 MB / 0.6445 GB, free: 10.95 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002936/0.8469, allocations: 2.237 MB / 0.6467 GB, free: 8.688 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008253/0.8477, allocations: 199.3 kB / 0.6469 GB, free: 8.492 MB / 426.7 MB Notification: Performance of SimCode: time 1.082e-06/0.8478, allocations: 0 / 0.6469 GB, free: 8.492 MB / 426.7 MB Notification: Performance of Templates: time 0.2364/1.084, allocations: 47.86 MB / 0.6936 GB, free: 112.8 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