Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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_4.0.0_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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009277/0.0009313, allocations: 179.5 kB / 16.39 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.338/1.338, allocations: 223.2 MB / 240.3 MB, free: 10.13 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009739/0.0009739, allocations: 92.67 kB / 291.5 MB, free: 10.68 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002585/0.0002586, allocations: 4 kB / 351.1 MB, free: 15.08 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2333/0.2336, allocations: 50.41 MB / 401.5 MB, free: 32.55 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1125/0.3462, allocations: 93.82 MB / 495.3 MB, free: 2.598 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000256/0.3465, allocations: 91.94 kB / 495.4 MB, free: 2.508 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3627/0.7092, allocations: 59.43 MB / 0.5418 GB, free: 71.44 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.7093, allocations: 4 kB / 0.5418 GB, free: 71.44 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001206/0.7094, allocations: 55.98 kB / 0.5419 GB, free: 71.38 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.008169/0.7176, allocations: 2.755 MB / 0.5446 GB, free: 68.57 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.624e-05/0.7176, allocations: 12.02 kB / 0.5446 GB, free: 68.55 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008842/0.7265, allocations: 1.927 MB / 0.5465 GB, free: 66.62 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01341/0.7399, allocations: 3.279 MB / 0.5497 GB, free: 63.29 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002398/0.7402, allocations: 184.8 kB / 0.5499 GB, free: 63.11 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001451/0.7417, allocations: 243.9 kB / 0.5501 GB, free: 62.87 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01623/0.7579, allocations: 6.855 MB / 0.5568 GB, free: 55.31 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000166/0.7582, allocations: 43.59 kB / 0.5568 GB, free: 55.27 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005611/0.7587, allocations: 123.9 kB / 0.5569 GB, free: 55.14 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001364/0.7601, allocations: 0.7228 MB / 0.5576 GB, free: 54.42 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0162/0.7763, allocations: 6.001 MB / 0.5635 GB, free: 48.42 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03387/0.8103, allocations: 31.22 MB / 0.594 GB, free: 16.19 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006861/0.8172, allocations: 2.623 MB / 0.5966 GB, free: 13.41 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01036/0.8276, allocations: 5.131 MB / 0.6016 GB, free: 8.129 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.755e-05/0.8276, allocations: 42.5 kB / 0.6016 GB, free: 8.078 MB / 378.7 MB Notification: Performance of pre-optimization done (n=97): time 4.038e-06/0.8276, allocations: 0 / 0.6016 GB, free: 8.078 MB / 378.7 MB Notification: Performance of matching and sorting (n=105): time 0.0296/0.8572, allocations: 9.76 MB / 0.6111 GB, free: 14.12 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001219/0.8574, allocations: 148.9 kB / 0.6113 GB, free: 13.95 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00572/0.8631, allocations: 2.441 MB / 0.6137 GB, free: 11.49 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003123/0.8635, allocations: 37.7 kB / 0.6137 GB, free: 11.45 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001928/0.8654, allocations: 2.048 MB / 0.6157 GB, free: 9.367 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008042/0.8662, allocations: 426.8 kB / 0.6161 GB, free: 8.945 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003671/0.8666, allocations: 80 kB / 0.6162 GB, free: 8.867 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0004085/0.867, allocations: 482.9 kB / 0.6166 GB, free: 8.387 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004004/0.8711, allocations: 1.452 MB / 0.6181 GB, free: 6.93 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006102/0.8772, allocations: 4.036 MB / 0.622 GB, free: 1.582 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005192/0.8824, allocations: 2.361 MB / 0.6243 GB, free: 15.22 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.598e-05/0.8825, allocations: 28 kB / 0.6243 GB, free: 15.2 MB / 410.7 MB Notification: Performance of matching and sorting (n=532) (initialization): time 0.01554/0.8981, allocations: 6.02 MB / 0.6302 GB, free: 9.164 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001061/0.8982, allocations: 44 kB / 0.6303 GB, free: 9.121 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000169/0.8984, allocations: 92 kB / 0.6303 GB, free: 9.031 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003238/0.9016, allocations: 0.8273 MB / 0.6312 GB, free: 8.203 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004394/0.9061, allocations: 0.9396 MB / 0.6321 GB, free: 7.262 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008253/0.9143, allocations: 4.387 MB / 0.6364 GB, free: 2.738 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00489/0.9193, allocations: 288.4 kB / 0.6366 GB, free: 2.457 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008967/0.9202, allocations: 256 kB / 0.6369 GB, free: 2.207 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 () * 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.003736/0.9239, allocations: 1.364 MB / 0.6382 GB, free: 0.832 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006953/0.9247, allocations: 229.1 kB / 0.6384 GB, free: 0.6055 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006405/0.9311, allocations: 2.13 MB / 0.6405 GB, free: 14.46 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.064e-05/0.9311, allocations: 12 kB / 0.6405 GB, free: 14.45 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.172e-05/0.9312, allocations: 7.953 kB / 0.6405 GB, free: 14.44 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.542e-05/0.9312, allocations: 7.984 kB / 0.6405 GB, free: 14.43 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01173/0.9429, allocations: 5.076 MB / 0.6455 GB, free: 9.273 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.105e-05/0.9429, allocations: 7.938 kB / 0.6455 GB, free: 9.266 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007133/0.9437, allocations: 139.8 kB / 0.6456 GB, free: 9.129 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002109/0.9458, allocations: 0.6835 MB / 0.6463 GB, free: 8.441 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001123/0.9459, allocations: 20 kB / 0.6463 GB, free: 8.422 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005019/0.9509, allocations: 3.947 MB / 0.6502 GB, free: 4.34 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.951, allocations: 8.016 kB / 0.6502 GB, free: 4.332 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006256/0.9572, allocations: 4.143 MB / 0.6542 GB, free: 128 kB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008778/0.9581, allocations: 294 kB / 0.6545 GB, free: 15.81 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000225/0.9584, allocations: 20 kB / 0.6545 GB, free: 15.79 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009807/0.9593, allocations: 75.88 kB / 0.6546 GB, free: 15.72 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001828/0.9595, allocations: 52.38 kB / 0.6546 GB, free: 15.66 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.695e-05/0.9597, allocations: 39.95 kB / 0.6547 GB, free: 15.63 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.003691/0.9633, allocations: 1.701 MB / 0.6563 GB, free: 13.92 MB / 442.7 MB Notification: Performance of sort global known variables: time 3.186e-06/0.9634, allocations: 0.5625 kB / 0.6563 GB, free: 13.92 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.005516/0.9689, allocations: 0.6795 MB / 0.657 GB, free: 13.24 MB / 442.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.0005455/0.9695, allocations: 179.1 kB / 0.6572 GB, free: 13.05 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.006069/0.9756, allocations: 3.473 MB / 0.6606 GB, free: 9.586 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.552e-06/0.9756, allocations: 64 / 0.6606 GB, free: 9.586 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001401/0.977, allocations: 1.051 MB / 0.6616 GB, free: 8.523 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001462/0.9785, allocations: 247.4 kB / 0.6618 GB, free: 8.281 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01032/0.9888, allocations: 6.624 MB / 0.6683 GB, free: 1.613 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1959/1.185, allocations: 2.288 MB / 0.6705 GB, free: 127.3 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.003547/1.188, allocations: 1.325 MB / 0.6718 GB, free: 127.3 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004311/1.189, allocations: 157.2 kB / 0.672 GB, free: 127.3 MB / 442.7 MB Notification: Performance of SimCode: time 7.12e-07/1.189, allocations: 0 / 0.672 GB, free: 127.3 MB / 442.7 MB Notification: Performance of Templates: time 0.03929/1.228, allocations: 22.32 MB / 0.6938 GB, free: 126.6 MB / 442.7 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.makefile (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.sim & ./Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/UserDefinedGravityField/UserDefinedGravityField.csv","../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches