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.001371/0.001371, allocations: 173.1 kB / 8.742 MB, free: 344 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.439/1.439, allocations: 221.5 MB / 230.7 MB, free: 7.57 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009046/0.0009046, allocations: 100.5 kB / 281.6 MB, free: 5.324 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.1889/0.1889, allocations: 44.15 MB / 376.5 MB, free: 3.055 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.492e-05/1.496e-05, allocations: 224 / 444.6 MB, free: 15.25 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1308/0.1308, allocations: 61.92 MB / 0.4947 GB, free: 1.266 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3874/0.5183, allocations: 85.03 MB / 0.5777 GB, free: 11.49 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002142/0.5186, allocations: 63.97 kB / 0.5778 GB, free: 11.43 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009432/0.528, allocations: 3.158 MB / 0.5809 GB, free: 8.281 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.294e-06/0.5281, allocations: 0 / 0.5809 GB, free: 8.281 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.272e-06/0.5281, allocations: 0 / 0.5809 GB, free: 8.281 MB / 394.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.0003306/0.5284, allocations: 363.6 kB / 0.5812 GB, free: 7.883 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.348e-05/0.5285, allocations: 11.98 kB / 0.5812 GB, free: 7.871 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.424e-05/0.5285, allocations: 11.91 kB / 0.5812 GB, free: 7.859 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001386/0.5287, allocations: 167 kB / 0.5814 GB, free: 7.656 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.767e-05/0.5287, allocations: 11.89 kB / 0.5814 GB, free: 7.645 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.863e-05/0.5287, allocations: 4 kB / 0.5814 GB, free: 7.641 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001025/0.5288, allocations: 43.97 kB / 0.5814 GB, free: 7.598 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001056/0.5289, allocations: 53.67 kB / 0.5815 GB, free: 7.539 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.6e-05/0.529, allocations: 4 kB / 0.5815 GB, free: 7.535 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.012e-05/0.529, allocations: 0 / 0.5815 GB, free: 7.535 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.529, allocations: 0 / 0.5815 GB, free: 7.535 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001873/0.5292, allocations: 154.1 kB / 0.5816 GB, free: 7.348 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001036/0.5293, allocations: 74.5 kB / 0.5817 GB, free: 7.266 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.143e-05/0.5293, allocations: 24.86 kB / 0.5817 GB, free: 7.238 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002419/0.5296, allocations: 109.1 kB / 0.5818 GB, free: 7.113 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.81e-05/0.5296, allocations: 46.5 kB / 0.5819 GB, free: 7.059 MB / 394.7 MB Notification: Performance of pre-optimization done (n=13): time 1.072e-06/0.5296, allocations: 0 / 0.5819 GB, free: 7.059 MB / 394.7 MB Notification: Performance of matching and sorting (n=23): time 0.1152/0.6448, allocations: 5.123 MB / 0.5869 GB, free: 1.895 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.196e-05/0.6449, allocations: 51.41 kB / 0.5869 GB, free: 1.832 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.562e-05/0.645, allocations: 93 kB / 0.587 GB, free: 1.734 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.756e-05/0.645, allocations: 25.7 kB / 0.587 GB, free: 1.703 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.065e-05/0.6451, allocations: 80.52 kB / 0.5871 GB, free: 1.617 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.853e-05/0.6452, allocations: 70.91 kB / 0.5872 GB, free: 1.547 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.697e-05/0.6452, allocations: 0 / 0.5872 GB, free: 1.547 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001141/0.6453, allocations: 322.8 kB / 0.5875 GB, free: 1.223 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001113/0.6454, allocations: 63.98 kB / 0.5876 GB, free: 1.16 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001007/0.6455, allocations: 71.91 kB / 0.5876 GB, free: 1.09 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009017/0.6464, allocations: 196.8 kB / 0.5878 GB, free: 0.8984 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.6464, allocations: 4.125 kB / 0.5878 GB, free: 0.8945 MB / 394.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001107/0.6476, allocations: 348.6 kB / 0.5882 GB, free: 0.5508 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/0.6476, allocations: 7.984 kB / 0.5882 GB, free: 0.543 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.6476, allocations: 4 kB / 0.5882 GB, free: 0.5391 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.6476, allocations: 0 / 0.5882 GB, free: 0.5391 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000384/0.648, allocations: 87.92 kB / 0.5882 GB, free: 464 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.658e-06/0.648, allocations: 0 / 0.5882 GB, free: 464 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001941/0.6482, allocations: 39.95 kB / 0.5883 GB, free: 424 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.154e-05/0.6483, allocations: 19.98 kB / 0.5883 GB, free: 404 kB / 394.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 () * 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 9.429e-05/0.6484, allocations: 116.8 kB / 0.5884 GB, free: 280 kB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.699e-05/0.6484, allocations: 7.906 kB / 0.5884 GB, free: 272 kB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001364/0.6498, allocations: 405.9 kB / 0.5888 GB, free: 15.86 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.249e-06/0.6498, allocations: 4 kB / 0.5888 GB, free: 15.86 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.76e-06/0.6498, allocations: 3.984 kB / 0.5888 GB, free: 15.86 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.6498, allocations: 0 / 0.5888 GB, free: 15.86 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002078/0.6519, allocations: 0.7807 MB / 0.5896 GB, free: 15.03 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.558e-06/0.6519, allocations: 3.984 kB / 0.5896 GB, free: 15.02 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002849/0.6522, allocations: 91.92 kB / 0.5897 GB, free: 14.93 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.127e-06/0.6522, allocations: 0 / 0.5897 GB, free: 14.93 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.272e-05/0.6522, allocations: 11.98 kB / 0.5897 GB, free: 14.92 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.791e-06/0.6523, allocations: 7.953 kB / 0.5897 GB, free: 14.91 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.6523, allocations: 0 / 0.5897 GB, free: 14.91 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001114/0.6534, allocations: 444.1 kB / 0.5901 GB, free: 14.45 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.59e-05/0.6534, allocations: 88.95 kB / 0.5902 GB, free: 14.34 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.954e-05/0.6535, allocations: 4 kB / 0.5902 GB, free: 14.34 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001919/0.6537, allocations: 31.97 kB / 0.5902 GB, free: 14.3 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.021e-05/0.6537, allocations: 11.98 kB / 0.5902 GB, free: 14.29 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.46e-05/0.6537, allocations: 15.98 kB / 0.5903 GB, free: 14.28 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.53e-05/0.6538, allocations: 83.22 kB / 0.5903 GB, free: 14.2 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.6538, allocations: 0 / 0.5903 GB, free: 14.2 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001509/0.6553, allocations: 0.613 MB / 0.5909 GB, free: 13.58 MB / 410.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 () * 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.002586/0.6579, allocations: 330.6 kB / 0.5913 GB, free: 13.25 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002993/0.6582, allocations: 160.5 kB / 0.5914 GB, free: 13.09 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.969e-06/0.6582, allocations: 4 kB / 0.5914 GB, free: 13.09 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001195/0.6583, allocations: 75.91 kB / 0.5915 GB, free: 13.01 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001478/0.6585, allocations: 4 kB / 0.5915 GB, free: 13.01 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006552/0.6592, allocations: 246.3 kB / 0.5917 GB, free: 12.74 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002543/0.6594, allocations: 0.7014 MB / 0.5924 GB, free: 12.01 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003016/0.6597, allocations: 81.2 kB / 0.5925 GB, free: 11.93 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001241/0.6599, allocations: 47.39 kB / 0.5925 GB, free: 11.88 MB / 410.7 MB Notification: Performance of SimCode: time 3.51e-07/0.6599, allocations: 0 / 0.5925 GB, free: 11.88 MB / 410.7 MB Notification: Performance of Templates: time 0.03012/0.69, allocations: 17.4 MB / 0.6095 GB, free: 10.53 MB / 426.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/jenkins/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