Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) 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(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|x|y1|y1d|y1dd|y2|y2d|y2dd|y3|y3d|y3dd|y4|y4d|y4dd",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|x|y1|y1d|y1dd|y2|y2d|y2dd|y3|y3d|y3dd|y4|y4d|y4dd",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001045/0.001045, allocations: 182.5 kB / 18.09 MB, free: 3.625 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.254/1.254, allocations: 223.3 MB / 242.1 MB, free: 11.68 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.0007318/0.0007316, allocations: 107 kB / 293.3 MB, free: 10.76 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2986/0.2986, allocations: 44.15 MB / 388.5 MB, free: 38.67 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000332/0.000332, allocations: 12 kB / 461.1 MB, free: 1.324 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2848/0.2851, allocations: 61.87 MB / 0.5107 GB, free: 38.28 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09366/0.3789, allocations: 85.77 MB / 0.5945 GB, free: 9.312 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001993/0.3791, allocations: 75.92 kB / 0.5945 GB, free: 9.242 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009063/0.3882, allocations: 3.178 MB / 0.5976 GB, free: 6.059 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.3882, allocations: 4 kB / 0.5977 GB, free: 6.055 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.302e-06/0.3882, allocations: 0 / 0.5977 GB, free: 6.055 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.000342/0.3886, allocations: 375.2 kB / 0.598 GB, free: 5.637 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.532e-05/0.3886, allocations: 8.031 kB / 0.598 GB, free: 5.629 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.088e-05/0.3886, allocations: 12.83 kB / 0.598 GB, free: 5.617 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001046/0.3887, allocations: 164.4 kB / 0.5982 GB, free: 5.418 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.968e-06/0.3888, allocations: 4.375 kB / 0.5982 GB, free: 5.414 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.484e-05/0.3888, allocations: 8.375 kB / 0.5982 GB, free: 5.406 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001101/0.3889, allocations: 62.23 kB / 0.5983 GB, free: 5.34 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.416e-05/0.3889, allocations: 4.188 kB / 0.5983 GB, free: 5.336 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.145e-05/0.3889, allocations: 11.88 kB / 0.5983 GB, free: 5.324 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.389, allocations: 0 / 0.5983 GB, free: 5.324 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.626e-05/0.389, allocations: 46.58 kB / 0.5983 GB, free: 5.281 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001667/0.3892, allocations: 177.5 kB / 0.5985 GB, free: 5.059 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001115/0.3893, allocations: 78.55 kB / 0.5986 GB, free: 4.973 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.205e-05/0.3894, allocations: 37.22 kB / 0.5986 GB, free: 4.934 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002132/0.3896, allocations: 109.1 kB / 0.5987 GB, free: 4.809 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.686e-05/0.3897, allocations: 38.5 kB / 0.5987 GB, free: 4.762 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 1.252e-06/0.3897, allocations: 0 / 0.5987 GB, free: 4.762 MB / 410.7 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: x Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=23): time 0.102/0.4916, allocations: 5.558 MB / 0.6042 GB, free: 15.18 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.557e-05/0.4917, allocations: 55.41 kB / 0.6042 GB, free: 15.11 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.337e-05/0.4918, allocations: 89.86 kB / 0.6043 GB, free: 15.01 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.892e-05/0.4919, allocations: 29.7 kB / 0.6043 GB, free: 14.98 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.113e-05/0.4919, allocations: 84.64 kB / 0.6044 GB, free: 14.89 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.534e-05/0.492, allocations: 82.84 kB / 0.6045 GB, free: 14.8 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.495e-05/0.492, allocations: 0 / 0.6045 GB, free: 14.8 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000108/0.4921, allocations: 322.8 kB / 0.6048 GB, free: 14.48 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003327/0.4924, allocations: 135.9 kB / 0.6049 GB, free: 14.35 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003214/0.4928, allocations: 147.5 kB / 0.6051 GB, free: 14.21 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001339/0.4941, allocations: 360.6 kB / 0.6054 GB, free: 13.85 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.4941, allocations: 0 / 0.6054 GB, free: 13.85 MB / 426.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001124/0.4953, allocations: 405.1 kB / 0.6058 GB, free: 13.45 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.149e-05/0.4953, allocations: 4 kB / 0.6058 GB, free: 13.45 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.4953, allocations: 0 / 0.6058 GB, free: 13.45 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.743e-05/0.4953, allocations: 4 kB / 0.6058 GB, free: 13.44 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003658/0.4957, allocations: 95.91 kB / 0.6059 GB, free: 13.35 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.443e-06/0.4957, allocations: 0 / 0.6059 GB, free: 13.35 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001831/0.4959, allocations: 39.91 kB / 0.6059 GB, free: 13.31 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.496e-05/0.496, allocations: 19.98 kB / 0.606 GB, free: 13.29 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001124/0.4961, allocations: 129.7 kB / 0.6061 GB, free: 13.15 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.71e-05/0.4961, allocations: 7.906 kB / 0.6061 GB, free: 13.14 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001356/0.4975, allocations: 476.8 kB / 0.6065 GB, free: 12.68 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.51e-06/0.4975, allocations: 4 kB / 0.6065 GB, free: 12.67 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.4975, allocations: 0 / 0.6065 GB, free: 12.67 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.4975, allocations: 3.984 kB / 0.6066 GB, free: 12.67 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002088/0.4996, allocations: 0.8675 MB / 0.6074 GB, free: 11.74 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/0.4996, allocations: 7.938 kB / 0.6074 GB, free: 11.73 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002769/0.4999, allocations: 87.98 kB / 0.6075 GB, free: 11.64 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.162e-06/0.4999, allocations: 4 kB / 0.6075 GB, free: 11.64 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.453e-05/0.5, allocations: 11.98 kB / 0.6075 GB, free: 11.63 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.5, allocations: 3.938 kB / 0.6075 GB, free: 11.62 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.5, allocations: 0 / 0.6075 GB, free: 11.62 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001084/0.5011, allocations: 472.7 kB / 0.608 GB, free: 11.14 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.87e-05/0.5011, allocations: 85 kB / 0.608 GB, free: 11.04 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.769e-05/0.5012, allocations: 8 kB / 0.608 GB, free: 11.03 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001812/0.5013, allocations: 39.97 kB / 0.6081 GB, free: 10.99 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.751e-05/0.5014, allocations: 11.98 kB / 0.6081 GB, free: 10.98 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.827e-05/0.5014, allocations: 11.98 kB / 0.6081 GB, free: 10.97 MB / 426.7 MB Notification: Performance of sorting global known variables: time 3.34e-05/0.5014, allocations: 87.22 kB / 0.6082 GB, free: 10.88 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5015, allocations: 4.094 kB / 0.6082 GB, free: 10.88 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001496/0.503, allocations: 0.609 MB / 0.6088 GB, free: 10.27 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * 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 (23): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002851/0.5058, allocations: 347.1 kB / 0.6091 GB, free: 9.918 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0007871/0.5066, allocations: 310 kB / 0.6094 GB, free: 9.617 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.546e-06/0.5066, allocations: 0 / 0.6094 GB, free: 9.617 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003331/0.507, allocations: 162 kB / 0.6096 GB, free: 9.461 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002285/0.5072, allocations: 8 kB / 0.6096 GB, free: 9.453 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009518/0.5082, allocations: 405.3 kB / 0.61 GB, free: 9.02 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002381/0.5084, allocations: 0.6934 MB / 0.6106 GB, free: 8.301 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0003245/0.5088, allocations: 77.08 kB / 0.6107 GB, free: 8.227 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00012/0.5089, allocations: 47.39 kB / 0.6108 GB, free: 8.18 MB / 426.7 MB Notification: Performance of SimCode: time 6.51e-07/0.5089, allocations: 0 / 0.6108 GB, free: 8.18 MB / 426.7 MB Notification: Performance of Templates: time 0.05859/0.5675, allocations: 48.19 MB / 0.6578 GB, free: 8.059 MB / 474.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/TestRegRoot2ZeroDerivative/TestRegRoot2ZeroDerivative.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches