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.001114/0.001113, allocations: 186.9 kB / 17.97 MB, free: 3.797 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.268/1.268, allocations: 222.9 MB / 241.6 MB, free: 10.99 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001045/0.001045, allocations: 120 kB / 291.9 MB, free: 10.95 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.3261/0.3261, allocations: 44.14 MB / 386.1 MB, free: 38.05 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001017/0.001017, allocations: 55.91 kB / 457.7 MB, free: 2.328 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2905/0.2916, allocations: 60.8 MB / 0.5064 GB, free: 38.25 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.00175/0.2934, allocations: 0.6067 MB / 0.507 GB, free: 37.88 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007205/0.2941, allocations: 428.4 kB / 0.5074 GB, free: 37.61 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.824e-05/0.2941, allocations: 1.094 kB / 0.5074 GB, free: 37.61 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 1.565e-05/0.2942, allocations: 0 / 0.5074 GB, free: 37.61 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 2.403e-05/0.2942, allocations: 3.938 kB / 0.5074 GB, free: 37.6 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003817/0.2946, allocations: 104.9 kB / 0.5075 GB, free: 37.55 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 5.963e-05/0.2947, allocations: 29.41 kB / 0.5075 GB, free: 37.54 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.526e-05/0.2947, allocations: 6.719 kB / 0.5075 GB, free: 37.54 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.416e-05/0.2947, allocations: 14.66 kB / 0.5075 GB, free: 37.53 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.004e-05/0.2948, allocations: 22.36 kB / 0.5076 GB, free: 37.52 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.24e-05/0.2948, allocations: 2.219 kB / 0.5076 GB, free: 37.52 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002321/0.2951, allocations: 155.2 kB / 0.5077 GB, free: 37.48 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.398e-05/0.2951, allocations: 14.67 kB / 0.5077 GB, free: 37.47 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 2.221e-05/0.2951, allocations: 12.56 kB / 0.5077 GB, free: 37.46 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001911/0.2953, allocations: 133.8 kB / 0.5079 GB, free: 37.41 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.2953, allocations: 4 kB / 0.5079 GB, free: 37.41 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.2953, allocations: 4 kB / 0.5079 GB, free: 37.41 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.843e-06/0.2953, allocations: 0 / 0.5079 GB, free: 37.41 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.000322/0.2957, allocations: 359.3 kB / 0.5082 GB, free: 37.04 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.71e-05/0.2957, allocations: 8.344 kB / 0.5082 GB, free: 37.04 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.375e-05/0.2957, allocations: 11.16 kB / 0.5082 GB, free: 37.03 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.214e-05/0.2958, allocations: 167.1 kB / 0.5084 GB, free: 36.83 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.272e-05/0.2958, allocations: 6.938 kB / 0.5084 GB, free: 36.83 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.263e-05/0.2959, allocations: 7.062 kB / 0.5084 GB, free: 36.82 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001143/0.296, allocations: 70.06 kB / 0.5085 GB, free: 36.78 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/0.296, allocations: 7.938 kB / 0.5085 GB, free: 36.77 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.869e-06/0.296, allocations: 2.562 kB / 0.5085 GB, free: 36.77 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.296, allocations: 0 / 0.5085 GB, free: 36.77 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.343e-05/0.2961, allocations: 47.89 kB / 0.5085 GB, free: 36.76 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001245/0.2962, allocations: 172.9 kB / 0.5087 GB, free: 36.56 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001049/0.2964, allocations: 89.89 kB / 0.5088 GB, free: 36.52 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.083e-05/0.2964, allocations: 28.19 kB / 0.5088 GB, free: 36.5 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002096/0.2966, allocations: 107.6 kB / 0.5089 GB, free: 36.4 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.206e-05/0.2966, allocations: 37.78 kB / 0.5089 GB, free: 36.36 MB / 378.7 MB Notification: Performance of pre-optimization done (n=13): time 1.332e-06/0.2966, allocations: 0 / 0.5089 GB, free: 36.36 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.1409/0.4376, allocations: 5.626 MB / 0.5144 GB, free: 35.71 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.339e-05/0.4377, allocations: 58.31 kB / 0.5145 GB, free: 35.65 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.737e-05/0.4377, allocations: 89.86 kB / 0.5146 GB, free: 35.55 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.951e-05/0.4377, allocations: 25.7 kB / 0.5146 GB, free: 35.52 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.547e-05/0.4378, allocations: 87.39 kB / 0.5147 GB, free: 35.43 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.391e-05/0.4378, allocations: 74.14 kB / 0.5148 GB, free: 35.37 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.532e-05/0.4379, allocations: 64.17 kB / 0.5148 GB, free: 35.34 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 3.957e-05/0.438, allocations: 322.1 kB / 0.5151 GB, free: 35.02 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003512/0.4383, allocations: 109.7 kB / 0.5152 GB, free: 35 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003278/0.4387, allocations: 115.3 kB / 0.5153 GB, free: 34.98 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001333/0.44, allocations: 322.9 kB / 0.5156 GB, free: 34.91 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.44, allocations: 0 / 0.5156 GB, free: 34.91 MB / 378.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001102/0.4411, allocations: 361.3 kB / 0.516 GB, free: 34.81 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/0.4411, allocations: 8.656 kB / 0.516 GB, free: 34.81 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.4412, allocations: 0 / 0.516 GB, free: 34.81 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.947e-05/0.4412, allocations: 0 / 0.516 GB, free: 34.81 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003528/0.4415, allocations: 81.44 kB / 0.5161 GB, free: 34.8 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.4416, allocations: 3.031 kB / 0.5161 GB, free: 34.8 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001822/0.4417, allocations: 22.53 kB / 0.5161 GB, free: 34.8 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.242e-05/0.4418, allocations: 23.44 kB / 0.5161 GB, free: 34.79 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.848e-05/0.4419, allocations: 124 kB / 0.5162 GB, free: 34.67 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.351e-05/0.4419, allocations: 9.562 kB / 0.5163 GB, free: 34.66 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001332/0.4432, allocations: 433.3 kB / 0.5167 GB, free: 34.53 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.828e-06/0.4433, allocations: 2.656 kB / 0.5167 GB, free: 34.53 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.159e-06/0.4433, allocations: 2.719 kB / 0.5167 GB, free: 34.53 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.4433, allocations: 3.375 kB / 0.5167 GB, free: 34.53 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002003/0.4453, allocations: 0.7778 MB / 0.5174 GB, free: 34.12 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.526e-06/0.4453, allocations: 6.844 kB / 0.5174 GB, free: 34.11 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000253/0.4456, allocations: 75.7 kB / 0.5175 GB, free: 34.11 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/0.4456, allocations: 0 / 0.5175 GB, free: 34.11 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.312e-05/0.4456, allocations: 15.69 kB / 0.5175 GB, free: 34.11 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.4456, allocations: 3 kB / 0.5175 GB, free: 34.11 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.4456, allocations: 0 / 0.5175 GB, free: 34.11 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001474/0.4471, allocations: 1.069 MB / 0.5186 GB, free: 33.3 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.175e-05/0.4471, allocations: 88.08 kB / 0.5187 GB, free: 33.2 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.711e-05/0.4472, allocations: 0 / 0.5187 GB, free: 33.2 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001813/0.4474, allocations: 32 kB / 0.5187 GB, free: 33.19 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.028e-05/0.4474, allocations: 18.81 kB / 0.5187 GB, free: 33.19 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.337e-05/0.4474, allocations: 18.39 kB / 0.5187 GB, free: 33.18 MB / 378.7 MB Notification: Performance of sorting global known variables: time 1.864e-05/0.4475, allocations: 79.22 kB / 0.5188 GB, free: 33.11 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4475, allocations: 0 / 0.5188 GB, free: 33.11 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001573/0.449, allocations: 0.6258 MB / 0.5194 GB, free: 33.07 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003191/0.4522, allocations: 295.4 kB / 0.5197 GB, free: 32.93 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007732/0.453, allocations: 258.6 kB / 0.5199 GB, free: 32.89 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.997e-06/0.4531, allocations: 0 / 0.5199 GB, free: 32.89 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003272/0.4534, allocations: 144.1 kB / 0.5201 GB, free: 32.86 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002401/0.4536, allocations: 10.88 kB / 0.5201 GB, free: 32.85 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001007/0.4546, allocations: 0.5184 MB / 0.5206 GB, free: 32.5 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001292/0.4548, allocations: 0.7002 MB / 0.5213 GB, free: 31.8 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002944/0.4551, allocations: 78.47 kB / 0.5214 GB, free: 31.77 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001221/0.4552, allocations: 47.98 kB / 0.5214 GB, free: 31.77 MB / 378.7 MB Notification: Performance of SimCode: time 4.1e-07/0.4552, allocations: 0 / 0.5214 GB, free: 31.77 MB / 378.7 MB Notification: Performance of Templates: time 0.06003/0.5153, allocations: 53.84 MB / 0.574 GB, free: 10.49 MB / 394.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@2/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