Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_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_cpp_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.002498/0.002498, allocations: 182.4 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.036/2.036, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001073/0.001073, allocations: 82.77 kB / 267.5 MB, free: 14.05 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.2726/0.2726, allocations: 43.49 MB / 359.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.545e-05/3.564e-05, allocations: 8 kB / 425.3 MB, free: 23.38 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1159/0.1159, allocations: 58.85 MB / 484.1 MB, free: 12.48 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4737/0.5897, allocations: 84.58 MB / 0.5554 GB, free: 2.984 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002321/0.59, allocations: 61.16 kB / 0.5554 GB, free: 2.953 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01448/0.6045, allocations: 3.148 MB / 0.5585 GB, free: 324 kB / 362.7 MB Notification: Performance of FrontEnd: time 1.654e-06/0.6046, allocations: 0 / 0.5585 GB, free: 324 kB / 362.7 MB Notification: Performance of Transformations before backend: time 7.834e-06/0.6046, allocations: 0 / 0.5585 GB, free: 324 kB / 362.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.0003776/0.605, allocations: 362.2 kB / 0.5589 GB, free: 15.92 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.729e-05/0.6051, allocations: 8.031 kB / 0.5589 GB, free: 15.91 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.8e-05/0.6051, allocations: 7.906 kB / 0.5589 GB, free: 15.91 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001392/0.6053, allocations: 167 kB / 0.559 GB, free: 15.7 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.634e-05/0.6053, allocations: 4 kB / 0.559 GB, free: 15.7 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.339e-05/0.6053, allocations: 11.81 kB / 0.5591 GB, free: 15.69 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001591/0.6055, allocations: 61.36 kB / 0.5591 GB, free: 15.63 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.592e-05/0.6055, allocations: 7.375 kB / 0.5591 GB, free: 15.63 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.274e-05/0.6056, allocations: 0 / 0.5591 GB, free: 15.63 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.705e-06/0.6056, allocations: 4 kB / 0.5591 GB, free: 15.62 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001249/0.6057, allocations: 43.72 kB / 0.5592 GB, free: 15.59 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002284/0.6059, allocations: 188.7 kB / 0.5593 GB, free: 15.36 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001901/0.6062, allocations: 80.62 kB / 0.5594 GB, free: 15.29 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.803e-05/0.6062, allocations: 32.42 kB / 0.5595 GB, free: 15.26 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003687/0.6066, allocations: 113.1 kB / 0.5596 GB, free: 15.13 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.843e-05/0.6067, allocations: 30.56 kB / 0.5596 GB, free: 15.09 MB / 378.7 MB Notification: Performance of pre-optimization done (n=13): time 1.924e-06/0.6067, allocations: 0 / 0.5596 GB, free: 15.09 MB / 378.7 MB Notification: Performance of matching and sorting (n=23): time 0.2372/0.8439, allocations: 4.979 MB / 0.5645 GB, free: 10.16 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.488e-05/0.844, allocations: 55.27 kB / 0.5645 GB, free: 10.09 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.566e-05/0.8441, allocations: 92.62 kB / 0.5646 GB, free: 10 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.199e-05/0.8441, allocations: 25.7 kB / 0.5646 GB, free: 9.969 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.507e-05/0.8442, allocations: 158.8 kB / 0.5648 GB, free: 9.812 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001021/0.8443, allocations: 74.16 kB / 0.5648 GB, free: 9.746 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.065e-05/0.8444, allocations: 7.875 kB / 0.5648 GB, free: 9.742 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001319/0.8445, allocations: 318.7 kB / 0.5652 GB, free: 9.426 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002532/0.8448, allocations: 67.23 kB / 0.5652 GB, free: 9.379 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002338/0.845, allocations: 74.53 kB / 0.5653 GB, free: 9.328 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009081/0.8459, allocations: 103 kB / 0.5654 GB, free: 9.246 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.846, allocations: 0 / 0.5654 GB, free: 9.246 MB / 378.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.00136/0.8473, allocations: 270.8 kB / 0.5656 GB, free: 9.02 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.148e-05/0.8474, allocations: 8 kB / 0.5656 GB, free: 9.012 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.476e-05/0.8474, allocations: 3.984 kB / 0.5657 GB, free: 9.008 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.943e-05/0.8474, allocations: 4 kB / 0.5657 GB, free: 9.004 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007856/0.8482, allocations: 91.81 kB / 0.5657 GB, free: 8.914 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.117e-06/0.8483, allocations: 4 kB / 0.5657 GB, free: 8.91 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004028/0.8487, allocations: 43.7 kB / 0.5658 GB, free: 8.871 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.225e-05/0.8488, allocations: 11.98 kB / 0.5658 GB, free: 8.859 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 () * 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.0001326/0.8489, allocations: 120.6 kB / 0.5659 GB, free: 8.742 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.811e-05/0.849, allocations: 11.91 kB / 0.5659 GB, free: 8.73 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001762/0.8507, allocations: 343.2 kB / 0.5663 GB, free: 8.441 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.395e-05/0.8508, allocations: 4 kB / 0.5663 GB, free: 8.438 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.957e-06/0.8508, allocations: 7.891 kB / 0.5663 GB, free: 8.43 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.72e-06/0.8508, allocations: 0 / 0.5663 GB, free: 8.43 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003336/0.8542, allocations: 0.7302 MB / 0.567 GB, free: 7.699 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.53e-06/0.8542, allocations: 0 / 0.567 GB, free: 7.699 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005906/0.8548, allocations: 91.92 kB / 0.5671 GB, free: 7.609 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.416e-06/0.8548, allocations: 0 / 0.5671 GB, free: 7.609 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.308e-05/0.8549, allocations: 15.92 kB / 0.5671 GB, free: 7.598 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.973e-06/0.8549, allocations: 4 kB / 0.5671 GB, free: 7.594 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.8549, allocations: 0 / 0.5671 GB, free: 7.594 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0013/0.8562, allocations: 366.9 kB / 0.5674 GB, free: 7.234 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.324e-05/0.8563, allocations: 81.02 kB / 0.5675 GB, free: 7.137 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.387e-05/0.8564, allocations: 7.875 kB / 0.5675 GB, free: 7.133 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004395/0.8568, allocations: 35.97 kB / 0.5676 GB, free: 7.098 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.998e-05/0.8569, allocations: 23.86 kB / 0.5676 GB, free: 7.078 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.043e-05/0.8569, allocations: 11.98 kB / 0.5676 GB, free: 7.066 MB / 378.7 MB Notification: Performance of sorting global known variables: time 4.13e-05/0.857, allocations: 79.28 kB / 0.5677 GB, free: 6.988 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.857, allocations: 0 / 0.5677 GB, free: 6.988 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002347/0.8594, allocations: 0.6088 MB / 0.5683 GB, free: 6.387 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 () * 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.004473/0.8639, allocations: 346.2 kB / 0.5686 GB, free: 6.047 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006452/0.8646, allocations: 174 kB / 0.5688 GB, free: 5.914 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.8646, allocations: 0 / 0.5688 GB, free: 5.914 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00024/0.8648, allocations: 86.28 kB / 0.5688 GB, free: 5.844 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002027/0.865, allocations: 6.141 kB / 0.5688 GB, free: 5.844 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001219/0.8663, allocations: 284.6 kB / 0.5691 GB, free: 5.555 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002974/0.8666, allocations: 0.7017 MB / 0.5698 GB, free: 4.828 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002431/0.8668, allocations: 50.7 kB / 0.5698 GB, free: 4.781 MB / 378.7 MB Notification: Performance of SimCode: time 1.032e-06/0.8669, allocations: 0 / 0.5698 GB, free: 4.781 MB / 378.7 MB Notification: Performance of Templates: time 0.03524/0.9021, allocations: 14.6 MB / 0.5841 GB, free: 6.172 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative_res.mat","/var/lib/jenkins1/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_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches