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.001512/0.001512, allocations: 178.3 kB / 8.362 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.995/1.995, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001139/0.001138, allocations: 88.66 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 2.244e-05/2.276e-05, allocations: 4 kB / 314.8 MB, free: 9.145 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3658/0.3659, allocations: 47.56 MB / 362.3 MB, free: 45.86 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1533/0.5192, allocations: 91.79 MB / 454.1 MB, free: 10.49 MB / 347.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002951/0.5196, allocations: 90.64 kB / 454.2 MB, free: 10.41 MB / 347.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.255/0.7746, allocations: 57.79 MB / 0.5 GB, free: 300 kB / 395.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.7746, allocations: 0 / 0.5 GB, free: 300 kB / 395.1 MB Notification: Performance of Transformations before backend: time 0.0001444/0.7748, allocations: 48 kB / 0.5001 GB, free: 252 kB / 395.1 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.2715/1.046, allocations: 2.626 MB / 0.5026 GB, free: 98.65 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.019e-05/1.046, allocations: 10.92 kB / 0.5026 GB, free: 98.65 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0153/1.062, allocations: 1.921 MB / 0.5045 GB, free: 98.48 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01392/1.076, allocations: 3.411 MB / 0.5078 GB, free: 98.22 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002024/1.076, allocations: 78.38 kB / 0.5079 GB, free: 98.22 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001384/1.077, allocations: 136.9 kB / 0.508 GB, free: 98.22 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01091/1.088, allocations: 4.108 MB / 0.5121 GB, free: 98.2 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01417/1.102, allocations: 6.202 MB / 0.5181 GB, free: 96.37 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000131/1.103, allocations: 50 kB / 0.5182 GB, free: 96.37 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004915/1.103, allocations: 19.97 kB / 0.5182 GB, free: 96.37 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001406/1.105, allocations: 0.7247 MB / 0.5189 GB, free: 96.36 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04062/1.145, allocations: 30.57 MB / 0.5487 GB, free: 74.53 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003671/1.149, allocations: 2.189 MB / 0.5509 GB, free: 73.26 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002089/1.151, allocations: 1.133 MB / 0.552 GB, free: 72.79 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00156/1.153, allocations: 337 kB / 0.5523 GB, free: 72.49 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.345e-05/1.153, allocations: 44.91 kB / 0.5523 GB, free: 72.45 MB / 395.1 MB Notification: Performance of pre-optimization done (n=106): time 5.37e-06/1.153, allocations: 0 / 0.5523 GB, free: 72.45 MB / 395.1 MB Notification: Performance of matching and sorting (n=114): time 0.03269/1.185, allocations: 9.703 MB / 0.5618 GB, free: 68.62 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.74e-05/1.186, allocations: 146.9 kB / 0.562 GB, free: 68.46 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003937/1.19, allocations: 2.075 MB / 0.564 GB, free: 67.61 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003304/1.19, allocations: 25.7 kB / 0.564 GB, free: 67.58 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00148/1.191, allocations: 2.093 MB / 0.5661 GB, free: 65.88 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006729/1.192, allocations: 450.8 kB / 0.5665 GB, free: 65.57 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002755/1.192, allocations: 0 / 0.5665 GB, free: 65.57 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0002734/1.193, allocations: 0.4947 MB / 0.567 GB, free: 65.18 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002837/1.196, allocations: 1.379 MB / 0.5683 GB, free: 64.71 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004226/1.2, allocations: 4.066 MB / 0.5723 GB, free: 60.29 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005797/1.206, allocations: 2.48 MB / 0.5747 GB, free: 58.23 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.101e-05/1.206, allocations: 28 kB / 0.5747 GB, free: 58.21 MB / 395.1 MB Notification: Performance of matching and sorting (n=559) (initialization): time 0.01602/1.222, allocations: 5.618 MB / 0.5802 GB, free: 53.53 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.383e-05/1.222, allocations: 44 kB / 0.5803 GB, free: 53.49 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.971e-05/1.222, allocations: 96 kB / 0.5804 GB, free: 53.39 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003899/1.226, allocations: 0.8432 MB / 0.5812 GB, free: 52.82 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005687/1.232, allocations: 0.9947 MB / 0.5822 GB, free: 51.95 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008087/1.24, allocations: 4.248 MB / 0.5863 GB, free: 48.22 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004913/1.245, allocations: 204.8 kB / 0.5865 GB, free: 48.06 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007142/1.245, allocations: 268.4 kB / 0.5868 GB, free: 47.8 MB / 395.1 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.0007145/1.246, allocations: 336.8 kB / 0.5871 GB, free: 47.46 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004816/1.247, allocations: 212.8 kB / 0.5873 GB, free: 47.26 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00758/1.254, allocations: 2.242 MB / 0.5895 GB, free: 45.6 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.556e-05/1.254, allocations: 16 kB / 0.5895 GB, free: 45.59 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.222e-05/1.254, allocations: 1 kB / 0.5895 GB, free: 45.59 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.848e-05/1.254, allocations: 8.828 kB / 0.5895 GB, free: 45.58 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01593/1.27, allocations: 5.15 MB / 0.5945 GB, free: 40.77 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.72e-05/1.27, allocations: 0 / 0.5945 GB, free: 40.77 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00148/1.272, allocations: 159.9 kB / 0.5947 GB, free: 40.61 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003547/1.275, allocations: 0.6834 MB / 0.5953 GB, free: 39.93 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001866/1.276, allocations: 8 kB / 0.5953 GB, free: 39.92 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006979/1.283, allocations: 3.7 MB / 0.599 GB, free: 36.1 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.127e-06/1.283, allocations: 5.906 kB / 0.599 GB, free: 36.1 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01105/1.294, allocations: 4.358 MB / 0.6032 GB, free: 31.64 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001538/1.295, allocations: 456.5 kB / 0.6037 GB, free: 31.17 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003688/1.296, allocations: 4 kB / 0.6037 GB, free: 31.17 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001748/1.298, allocations: 71.88 kB / 0.6037 GB, free: 31.1 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002431/1.298, allocations: 60.31 kB / 0.6038 GB, free: 31.04 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001354/1.298, allocations: 36 kB / 0.6038 GB, free: 31 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.002588/1.301, allocations: 1.379 MB / 0.6052 GB, free: 29.61 MB / 395.1 MB Notification: Performance of sort global known variables: time 6.52e-07/1.301, allocations: 0 / 0.6052 GB, free: 29.61 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.005261/1.306, allocations: 0.5909 MB / 0.6057 GB, free: 29.03 MB / 395.1 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.0005856/1.307, allocations: 173.4 kB / 0.6059 GB, free: 28.86 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.007217/1.314, allocations: 3.328 MB / 0.6092 GB, free: 25.55 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 7.294e-06/1.314, allocations: 0 / 0.6092 GB, free: 25.55 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002116/1.316, allocations: 1.045 MB / 0.6102 GB, free: 24.5 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001978/1.318, allocations: 199.7 kB / 0.6104 GB, free: 24.3 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01207/1.33, allocations: 4.879 MB / 0.6151 GB, free: 19.37 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003076/1.333, allocations: 2.295 MB / 0.6174 GB, free: 17.05 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001024/1.334, allocations: 191.4 kB / 0.6176 GB, free: 16.87 MB / 395.1 MB Notification: Performance of SimCode: time 1.062e-06/1.334, allocations: 0 / 0.6176 GB, free: 16.87 MB / 395.1 MB Notification: Performance of Templates: time 0.383/1.717, allocations: 45.52 MB / 0.662 GB, free: 100.9 MB / 411.1 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