Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009866/0.0009866, allocations: 198.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.283/1.283, allocations: 225.6 MB / 234.8 MB, free: 3.289 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008926/0.0008926, allocations: 92.81 kB / 286.7 MB, free: 5.281 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1988/0.1988, allocations: 45.14 MB / 383.8 MB, free: 304 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.038e-05/1.042e-05, allocations: 0 / 453.2 MB, free: 75.85 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1026/0.1026, allocations: 63.25 MB / 0.5044 GB, free: 12.65 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3417/0.4444, allocations: 86.08 MB / 0.5884 GB, free: 0.5273 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001689/0.4446, allocations: 62.22 kB / 0.5885 GB, free: 0.4961 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008913/0.4535, allocations: 3.155 MB / 0.5916 GB, free: 13.9 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.347e-06/0.4535, allocations: 0 / 0.5916 GB, free: 13.9 MB / 394.7 MB Notification: Performance of Transformations before backend: time 7.134e-06/0.4536, allocations: 7.938 kB / 0.5916 GB, free: 13.89 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.0003344/0.4539, allocations: 362.1 kB / 0.5919 GB, free: 13.5 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.842e-05/0.4539, allocations: 8.031 kB / 0.5919 GB, free: 13.49 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.111e-05/0.454, allocations: 7.906 kB / 0.5919 GB, free: 13.48 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001183/0.4541, allocations: 171 kB / 0.5921 GB, free: 13.27 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.159e-05/0.4541, allocations: 0 / 0.5921 GB, free: 13.27 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.175e-05/0.4542, allocations: 4 kB / 0.5921 GB, free: 13.27 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001179/0.4543, allocations: 43.66 kB / 0.5921 GB, free: 13.23 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.812e-05/0.4544, allocations: 53.55 kB / 0.5922 GB, free: 13.18 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.4544, allocations: 0 / 0.5922 GB, free: 13.18 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.799e-06/0.4544, allocations: 0 / 0.5922 GB, free: 13.18 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.4544, allocations: 4 kB / 0.5922 GB, free: 13.18 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001594/0.4546, allocations: 157.8 kB / 0.5923 GB, free: 12.99 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001018/0.4547, allocations: 81.84 kB / 0.5924 GB, free: 12.91 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.669e-05/0.4547, allocations: 23.92 kB / 0.5924 GB, free: 12.89 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002298/0.455, allocations: 109.1 kB / 0.5926 GB, free: 12.77 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.978e-05/0.455, allocations: 38.44 kB / 0.5926 GB, free: 12.73 MB / 394.7 MB Notification: Performance of pre-optimization done (n=13): time 2.525e-06/0.455, allocations: 3.984 kB / 0.5926 GB, free: 12.72 MB / 394.7 MB Notification: Performance of matching and sorting (n=23): time 0.1143/0.5693, allocations: 5.123 MB / 0.5976 GB, free: 7.637 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.431e-05/0.5694, allocations: 55.41 kB / 0.5976 GB, free: 7.57 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.209e-05/0.5695, allocations: 92.94 kB / 0.5977 GB, free: 7.473 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.962e-05/0.5695, allocations: 25.7 kB / 0.5978 GB, free: 7.441 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.06e-05/0.5696, allocations: 84.5 kB / 0.5978 GB, free: 7.352 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.274e-05/0.5696, allocations: 66.61 kB / 0.5979 GB, free: 7.293 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.613e-05/0.5697, allocations: 4 kB / 0.5979 GB, free: 7.289 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001019/0.5698, allocations: 318.5 kB / 0.5982 GB, free: 6.973 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.443e-05/0.5699, allocations: 70.92 kB / 0.5983 GB, free: 6.926 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.724e-05/0.57, allocations: 63.36 kB / 0.5983 GB, free: 6.883 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009011/0.5709, allocations: 196.1 kB / 0.5985 GB, free: 6.715 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.5709, allocations: 8.109 kB / 0.5985 GB, free: 6.707 MB / 394.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001103/0.572, allocations: 347 kB / 0.5989 GB, free: 6.406 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/0.572, allocations: 4 kB / 0.5989 GB, free: 6.402 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.5721, allocations: 0 / 0.5989 GB, free: 6.402 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.586e-05/0.5721, allocations: 0 / 0.5989 GB, free: 6.402 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003767/0.5725, allocations: 100.7 kB / 0.599 GB, free: 6.305 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.338e-06/0.5725, allocations: 0 / 0.599 GB, free: 6.305 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001866/0.5727, allocations: 35.92 kB / 0.599 GB, free: 6.27 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.733e-05/0.5727, allocations: 11.98 kB / 0.599 GB, free: 6.258 MB / 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.366e-05/0.5728, allocations: 116.9 kB / 0.5991 GB, free: 6.137 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.68e-05/0.5728, allocations: 7.906 kB / 0.5991 GB, free: 6.129 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001318/0.5742, allocations: 421 kB / 0.5995 GB, free: 5.766 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.5742, allocations: 0 / 0.5995 GB, free: 5.766 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.5742, allocations: 0 / 0.5995 GB, free: 5.766 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.439e-06/0.5742, allocations: 7.938 kB / 0.5995 GB, free: 5.758 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002062/0.5763, allocations: 0.7769 MB / 0.6003 GB, free: 4.98 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.247e-06/0.5763, allocations: 4 kB / 0.6003 GB, free: 4.977 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000281/0.5766, allocations: 86.44 kB / 0.6004 GB, free: 4.895 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/0.5766, allocations: 4 kB / 0.6004 GB, free: 4.891 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.203e-05/0.5766, allocations: 11.98 kB / 0.6004 GB, free: 4.879 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.337e-06/0.5766, allocations: 0 / 0.6004 GB, free: 4.879 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.5766, allocations: 3.938 kB / 0.6004 GB, free: 4.875 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001079/0.5777, allocations: 449.5 kB / 0.6008 GB, free: 4.434 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.597e-05/0.5778, allocations: 85.02 kB / 0.6009 GB, free: 4.332 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.732e-05/0.5778, allocations: 0 / 0.6009 GB, free: 4.332 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001897/0.578, allocations: 35.97 kB / 0.6009 GB, free: 4.297 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.812e-05/0.578, allocations: 19.53 kB / 0.601 GB, free: 4.281 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.246e-05/0.5781, allocations: 12 kB / 0.601 GB, free: 4.27 MB / 394.7 MB Notification: Performance of sorting global known variables: time 2.86e-05/0.5781, allocations: 79.27 kB / 0.6011 GB, free: 4.191 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5781, allocations: 0 / 0.6011 GB, free: 4.191 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001437/0.5795, allocations: 0.6008 MB / 0.6016 GB, free: 3.594 MB / 394.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.00247/0.582, allocations: 345.3 kB / 0.602 GB, free: 3.25 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002615/0.5823, allocations: 160.7 kB / 0.6021 GB, free: 3.129 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.5823, allocations: 0 / 0.6021 GB, free: 3.129 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001029/0.5824, allocations: 83.66 kB / 0.6022 GB, free: 3.062 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001423/0.5826, allocations: 0 / 0.6022 GB, free: 3.062 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006166/0.5832, allocations: 243.5 kB / 0.6024 GB, free: 2.816 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002139/0.5834, allocations: 0.7014 MB / 0.6031 GB, free: 2.086 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002945/0.5837, allocations: 81.2 kB / 0.6032 GB, free: 2.004 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001155/0.5838, allocations: 47.39 kB / 0.6032 GB, free: 1.961 MB / 394.7 MB Notification: Performance of SimCode: time 2.61e-07/0.5838, allocations: 0 / 0.6032 GB, free: 1.961 MB / 394.7 MB Notification: Performance of Templates: time 0.02707/0.6109, allocations: 17.4 MB / 0.6202 GB, free: 0.6328 MB / 410.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches