Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(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_3.2.3_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_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001563/0.001563, allocations: 184 kB / 15.76 MB, free: 6.367 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.473/1.473, allocations: 205.4 MB / 221.9 MB, free: 13.86 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.00104/0.00104, allocations: 82.88 kB / 270.2 MB, free: 13.39 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1939/0.1939, allocations: 43.56 MB / 362.1 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003171/0.0003171, allocations: 8 kB / 431.4 MB, free: 19.62 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1121/0.1124, allocations: 58.85 MB / 490.2 MB, free: 8.699 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3232/0.4357, allocations: 84.67 MB / 0.5614 GB, free: 15.16 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002068/0.4359, allocations: 67.66 kB / 0.5615 GB, free: 15.12 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009482/0.4454, allocations: 3.171 MB / 0.5646 GB, free: 12.45 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.395e-06/0.4455, allocations: 0 / 0.5646 GB, free: 12.45 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.077e-05/0.4455, allocations: 0 / 0.5646 GB, free: 12.45 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0003581/0.4459, allocations: 362.3 kB / 0.5649 GB, free: 12.05 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.993e-05/0.4459, allocations: 12.03 kB / 0.565 GB, free: 12.04 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.242e-05/0.4459, allocations: 11.84 kB / 0.565 GB, free: 12.03 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001039/0.4461, allocations: 166.3 kB / 0.5651 GB, free: 11.83 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.298e-05/0.4461, allocations: 4 kB / 0.5651 GB, free: 11.82 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.234e-05/0.4461, allocations: 7.375 kB / 0.5651 GB, free: 11.82 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001259/0.4463, allocations: 67.78 kB / 0.5652 GB, free: 11.76 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.319e-05/0.4463, allocations: 0 / 0.5652 GB, free: 11.76 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.224e-05/0.4463, allocations: 7.938 kB / 0.5652 GB, free: 11.75 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.4463, allocations: 0 / 0.5652 GB, free: 11.75 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.28e-05/0.4464, allocations: 46.02 kB / 0.5653 GB, free: 11.71 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001894/0.4466, allocations: 183.5 kB / 0.5654 GB, free: 11.49 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001157/0.4467, allocations: 79.98 kB / 0.5655 GB, free: 11.42 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002408/0.447, allocations: 108.4 kB / 0.5656 GB, free: 11.3 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.926e-05/0.447, allocations: 42.55 kB / 0.5656 GB, free: 11.25 MB / 378.7 MB Notification: Performance of pre-optimization done (n=13): time 1.192e-06/0.447, allocations: 0 / 0.5656 GB, free: 11.25 MB / 378.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.1143/0.5613, allocations: 5.525 MB / 0.571 GB, free: 5.793 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.732e-05/0.5614, allocations: 67.2 kB / 0.5711 GB, free: 5.715 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.281e-05/0.5615, allocations: 85 kB / 0.5712 GB, free: 5.625 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.327e-05/0.5616, allocations: 33 kB / 0.5712 GB, free: 5.59 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.43e-05/0.5616, allocations: 80.52 kB / 0.5713 GB, free: 5.504 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.831e-05/0.5617, allocations: 81.72 kB / 0.5714 GB, free: 5.434 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.842e-05/0.5617, allocations: 3.75 kB / 0.5714 GB, free: 5.434 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001462/0.5619, allocations: 322.1 kB / 0.5717 GB, free: 5.113 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003639/0.5622, allocations: 142.5 kB / 0.5718 GB, free: 4.996 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000322/0.5626, allocations: 134.1 kB / 0.5719 GB, free: 4.883 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006895/0.5633, allocations: 181 kB / 0.5721 GB, free: 4.734 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.5633, allocations: 0 / 0.5721 GB, free: 4.734 MB / 378.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001157/0.5644, allocations: 398.1 kB / 0.5725 GB, free: 4.391 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.716e-05/0.5645, allocations: 19.27 kB / 0.5725 GB, free: 4.375 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.5645, allocations: 0 / 0.5725 GB, free: 4.375 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.728e-05/0.5645, allocations: 0 / 0.5725 GB, free: 4.375 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000397/0.5649, allocations: 87.86 kB / 0.5726 GB, free: 4.289 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.18e-05/0.5649, allocations: 3.953 kB / 0.5726 GB, free: 4.285 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002205/0.5652, allocations: 39.47 kB / 0.5726 GB, free: 4.25 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.954e-05/0.5652, allocations: 23.66 kB / 0.5727 GB, free: 4.23 MB / 378.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.0001167/0.5653, allocations: 124.8 kB / 0.5728 GB, free: 4.105 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.81e-05/0.5654, allocations: 11.91 kB / 0.5728 GB, free: 4.094 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001393/0.5668, allocations: 474.7 kB / 0.5733 GB, free: 3.68 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.251e-06/0.5668, allocations: 4 kB / 0.5733 GB, free: 3.676 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.5668, allocations: 0 / 0.5733 GB, free: 3.676 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.531e-06/0.5668, allocations: 3.953 kB / 0.5733 GB, free: 3.672 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002245/0.5691, allocations: 0.8603 MB / 0.5741 GB, free: 2.816 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.5691, allocations: 4.062 kB / 0.5741 GB, free: 2.812 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002868/0.5694, allocations: 87.86 kB / 0.5742 GB, free: 2.727 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.13e-06/0.5694, allocations: 0 / 0.5742 GB, free: 2.727 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.697e-05/0.5694, allocations: 15.92 kB / 0.5742 GB, free: 2.715 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.191e-06/0.5694, allocations: 7.984 kB / 0.5742 GB, free: 2.707 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.5694, allocations: 4 kB / 0.5742 GB, free: 2.703 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001119/0.5706, allocations: 0.4899 MB / 0.5747 GB, free: 2.219 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.366e-05/0.5706, allocations: 85.02 kB / 0.5748 GB, free: 2.117 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.717e-05/0.5707, allocations: 3.562 kB / 0.5748 GB, free: 2.117 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001986/0.5709, allocations: 31.97 kB / 0.5748 GB, free: 2.086 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.504e-05/0.5709, allocations: 31.05 kB / 0.5748 GB, free: 2.059 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.312e-05/0.5709, allocations: 12 kB / 0.5748 GB, free: 2.047 MB / 378.7 MB Notification: Performance of sorting global known variables: time 3.679e-05/0.571, allocations: 82.58 kB / 0.5749 GB, free: 1.969 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.571, allocations: 0 / 0.5749 GB, free: 1.969 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00169/0.5727, allocations: 0.6201 MB / 0.5755 GB, free: 1.355 MB / 378.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.00272/0.5754, allocations: 340.9 kB / 0.5759 GB, free: 1.02 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007675/0.5762, allocations: 312.6 kB / 0.5762 GB, free: 0.7539 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.5762, allocations: 0 / 0.5762 GB, free: 0.7539 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000332/0.5765, allocations: 152.6 kB / 0.5763 GB, free: 0.6172 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001472/0.5767, allocations: 9.5 kB / 0.5763 GB, free: 0.6133 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009349/0.5776, allocations: 402.2 kB / 0.5767 GB, free: 212 kB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002908/0.5779, allocations: 0.6978 MB / 0.5774 GB, free: 15.48 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003123/0.5783, allocations: 77.08 kB / 0.5774 GB, free: 15.41 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000125/0.5784, allocations: 50.89 kB / 0.5775 GB, free: 15.36 MB / 394.7 MB Notification: Performance of SimCode: time 2.8e-07/0.5784, allocations: 0 / 0.5775 GB, free: 15.36 MB / 394.7 MB Notification: Performance of Templates: time 0.028/0.6064, allocations: 17.13 MB / 0.5942 GB, free: 14.22 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestUtilities/TestRegRoot2ZeroDerivative/TestRegRoot2ZeroDerivative.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches