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.0009806/0.0009806, allocations: 180.5 kB / 14.15 MB, free: 1.176 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.276/1.276, allocations: 221.3 MB / 236 MB, free: 2.973 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.0008024/0.0008025, allocations: 87.69 kB / 287 MB, free: 240 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1816/0.1816, allocations: 44.15 MB / 382 MB, free: 14.66 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.702e-05/2.712e-05, allocations: 4.219 kB / 451.8 MB, free: 9.422 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1092/0.1093, allocations: 61.92 MB / 0.5017 GB, free: 11.45 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3262/0.4355, allocations: 85.7 MB / 0.5854 GB, free: 3.586 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001906/0.4358, allocations: 59.97 kB / 0.5854 GB, free: 3.527 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00942/0.4452, allocations: 3.175 MB / 0.5885 GB, free: 372 kB / 394.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.4452, allocations: 0 / 0.5885 GB, free: 372 kB / 394.7 MB Notification: Performance of Transformations before backend: time 6.061e-06/0.4453, allocations: 4 kB / 0.5886 GB, free: 368 kB / 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.0003093/0.4456, allocations: 366.3 kB / 0.5889 GB, free: 15.96 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.829e-05/0.4456, allocations: 12.03 kB / 0.5889 GB, free: 15.95 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.793e-05/0.4456, allocations: 4.781 kB / 0.5889 GB, free: 15.94 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001114/0.4458, allocations: 163.1 kB / 0.5891 GB, free: 15.74 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.165e-05/0.4458, allocations: 7.891 kB / 0.5891 GB, free: 15.73 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.508e-05/0.4458, allocations: 8 kB / 0.5891 GB, free: 15.73 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001232/0.4459, allocations: 61.67 kB / 0.5891 GB, free: 15.66 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.446, allocations: 4 kB / 0.5892 GB, free: 15.66 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.073e-05/0.446, allocations: 4 kB / 0.5892 GB, free: 15.65 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.446, allocations: 4 kB / 0.5892 GB, free: 15.65 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.232e-05/0.4461, allocations: 47.84 kB / 0.5892 GB, free: 15.6 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001749/0.4462, allocations: 177.5 kB / 0.5894 GB, free: 15.38 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000121/0.4464, allocations: 78.56 kB / 0.5894 GB, free: 15.29 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.574e-05/0.4464, allocations: 33.19 kB / 0.5895 GB, free: 15.26 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002377/0.4467, allocations: 109.1 kB / 0.5896 GB, free: 15.13 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.483e-05/0.4467, allocations: 42.55 kB / 0.5896 GB, free: 15.08 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 1.202e-06/0.4467, allocations: 0 / 0.5896 GB, free: 15.08 MB / 410.7 MB Notification: Performance of matching and sorting (n=23): time 0.1154/0.5622, allocations: 4.973 MB / 0.5945 GB, free: 10.07 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.841e-05/0.5622, allocations: 55.41 kB / 0.5945 GB, free: 10 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.886e-05/0.5623, allocations: 85 kB / 0.5946 GB, free: 9.914 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.854e-05/0.5623, allocations: 33.64 kB / 0.5946 GB, free: 9.875 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.987e-05/0.5624, allocations: 84.5 kB / 0.5947 GB, free: 9.785 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.324e-05/0.5625, allocations: 74.86 kB / 0.5948 GB, free: 9.711 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.659e-05/0.5625, allocations: 4 kB / 0.5948 GB, free: 9.707 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.638e-05/0.5626, allocations: 330.9 kB / 0.5951 GB, free: 9.375 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001199/0.5627, allocations: 67.98 kB / 0.5952 GB, free: 9.309 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001189/0.5628, allocations: 67.98 kB / 0.5952 GB, free: 9.242 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007074/0.5635, allocations: 107.9 kB / 0.5954 GB, free: 9.137 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/0.5636, allocations: 0 / 0.5954 GB, free: 9.137 MB / 410.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0009418/0.5645, allocations: 264.4 kB / 0.5956 GB, free: 8.875 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.945e-05/0.5645, allocations: 4 kB / 0.5956 GB, free: 8.871 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.5646, allocations: 0 / 0.5956 GB, free: 8.871 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.8e-05/0.5646, allocations: 4 kB / 0.5956 GB, free: 8.867 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004979/0.5651, allocations: 99.84 kB / 0.5957 GB, free: 8.77 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.206e-06/0.5651, allocations: 0 / 0.5957 GB, free: 8.77 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002578/0.5654, allocations: 39.97 kB / 0.5957 GB, free: 8.73 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.675e-05/0.5654, allocations: 15.98 kB / 0.5958 GB, free: 8.715 MB / 410.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.0001085/0.5655, allocations: 120.8 kB / 0.5959 GB, free: 8.59 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.216e-05/0.5656, allocations: 7.906 kB / 0.5959 GB, free: 8.582 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001167/0.5668, allocations: 341.8 kB / 0.5962 GB, free: 8.238 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.439e-06/0.5668, allocations: 4 kB / 0.5962 GB, free: 8.234 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.5668, allocations: 0 / 0.5962 GB, free: 8.234 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.5668, allocations: 0 / 0.5962 GB, free: 8.234 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002255/0.5691, allocations: 0.7374 MB / 0.5969 GB, free: 7.438 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.47e-06/0.5691, allocations: 4 kB / 0.5969 GB, free: 7.434 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003742/0.5695, allocations: 83.86 kB / 0.597 GB, free: 7.352 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.945e-06/0.5695, allocations: 7.953 kB / 0.597 GB, free: 7.344 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.908e-05/0.5695, allocations: 16.06 kB / 0.597 GB, free: 7.328 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.927e-06/0.5695, allocations: 3.984 kB / 0.597 GB, free: 7.324 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.5695, allocations: 0 / 0.597 GB, free: 7.324 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008541/0.5704, allocations: 363.4 kB / 0.5974 GB, free: 6.938 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.152e-05/0.5705, allocations: 89.02 kB / 0.5975 GB, free: 6.832 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.284e-05/0.5705, allocations: 7.938 kB / 0.5975 GB, free: 6.824 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002584/0.5708, allocations: 35.97 kB / 0.5975 GB, free: 6.789 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.007e-05/0.5708, allocations: 11.98 kB / 0.5975 GB, free: 6.777 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.234e-05/0.5708, allocations: 23.98 kB / 0.5976 GB, free: 6.754 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.323e-05/0.5709, allocations: 75.28 kB / 0.5976 GB, free: 6.68 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.5709, allocations: 0 / 0.5976 GB, free: 6.68 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001731/0.5726, allocations: 0.6129 MB / 0.5982 GB, free: 6.066 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.002572/0.5752, allocations: 338.5 kB / 0.5985 GB, free: 5.727 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003374/0.5756, allocations: 171.7 kB / 0.5987 GB, free: 5.559 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.5756, allocations: 0 / 0.5987 GB, free: 5.559 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001273/0.5757, allocations: 92 kB / 0.5988 GB, free: 5.469 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001365/0.5759, allocations: 11.95 kB / 0.5988 GB, free: 5.457 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006894/0.5766, allocations: 255.8 kB / 0.5991 GB, free: 5.18 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002355/0.5768, allocations: 0.7017 MB / 0.5997 GB, free: 4.453 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002978/0.5771, allocations: 81.2 kB / 0.5998 GB, free: 4.375 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001245/0.5772, allocations: 51.39 kB / 0.5999 GB, free: 4.324 MB / 410.7 MB Notification: Performance of SimCode: time 2.41e-07/0.5772, allocations: 0 / 0.5999 GB, free: 4.324 MB / 410.7 MB Notification: Performance of Templates: time 0.02742/0.6047, allocations: 17.07 MB / 0.6165 GB, free: 3.281 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