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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001365/0.001365, allocations: 110 kB / 17.78 MB, free: 5.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001437/0.001437, allocations: 187.1 kB / 18.71 MB, free: 4.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.323/1.323, allocations: 222.9 MB / 242.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1951/0.1951, allocations: 44.17 MB / 336.7 MB, free: 2.695 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001225, allocations: 67.89 kB / 470.5 MB, free: 13.2 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4114/0.4127, allocations: 60.82 MB / 0.5189 GB, free: 3.605 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.001799/0.4145, allocations: 0.5498 MB / 0.5194 GB, free: 3.262 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007739/0.4153, allocations: 408.9 kB / 0.5198 GB, free: 2.988 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.041e-05/0.4154, allocations: 0 / 0.5198 GB, free: 2.988 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.021e-05/0.4154, allocations: 0 / 0.5198 GB, free: 2.988 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 2.978e-05/0.4154, allocations: 3.938 kB / 0.5198 GB, free: 2.984 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005329/0.416, allocations: 142.4 kB / 0.52 GB, free: 2.926 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 7.596e-05/0.4161, allocations: 23 kB / 0.52 GB, free: 2.922 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.977e-05/0.4161, allocations: 10.8 kB / 0.52 GB, free: 2.914 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.813e-05/0.4161, allocations: 12.39 kB / 0.52 GB, free: 2.91 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.684e-05/0.4162, allocations: 27.27 kB / 0.52 GB, free: 2.895 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.285e-05/0.4162, allocations: 2.844 kB / 0.52 GB, free: 2.895 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003033/0.4165, allocations: 159.5 kB / 0.5202 GB, free: 2.848 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.771e-05/0.4166, allocations: 8.641 kB / 0.5202 GB, free: 2.844 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.606e-05/0.4166, allocations: 17.73 kB / 0.5202 GB, free: 2.832 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002468/0.4169, allocations: 131.9 kB / 0.5203 GB, free: 2.789 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.4169, allocations: 0.9062 kB / 0.5203 GB, free: 2.789 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.4169, allocations: 0 / 0.5203 GB, free: 2.789 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.561e-06/0.4169, allocations: 4 kB / 0.5203 GB, free: 2.785 MB / 382.1 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.0003817/0.4173, allocations: 359.7 kB / 0.5207 GB, free: 2.414 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.764e-05/0.4173, allocations: 9.188 kB / 0.5207 GB, free: 2.414 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.854e-05/0.4174, allocations: 7.641 kB / 0.5207 GB, free: 2.41 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.668e-05/0.4174, allocations: 168.6 kB / 0.5209 GB, free: 2.211 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.336e-05/0.4175, allocations: 2.656 kB / 0.5209 GB, free: 2.211 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.175e-05/0.4175, allocations: 9.594 kB / 0.5209 GB, free: 2.207 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001331/0.4176, allocations: 60.84 kB / 0.5209 GB, free: 2.168 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.591e-05/0.4177, allocations: 9.531 kB / 0.5209 GB, free: 2.16 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.361e-05/0.4177, allocations: 16.97 kB / 0.5209 GB, free: 2.145 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.4177, allocations: 1.281 kB / 0.5209 GB, free: 2.145 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.799e-05/0.4178, allocations: 40.94 kB / 0.521 GB, free: 2.141 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001634/0.418, allocations: 179.5 kB / 0.5212 GB, free: 1.934 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001375/0.4181, allocations: 90.81 kB / 0.5212 GB, free: 1.887 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.855e-05/0.4182, allocations: 32.44 kB / 0.5213 GB, free: 1.871 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002578/0.4184, allocations: 105.2 kB / 0.5214 GB, free: 1.773 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.776e-05/0.4185, allocations: 31.75 kB / 0.5214 GB, free: 1.734 MB / 382.1 MB Notification: Performance of pre-optimization done (n=13): time 1.192e-06/0.4185, allocations: 0 / 0.5214 GB, free: 1.734 MB / 382.1 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.1304/0.5488, allocations: 5.603 MB / 0.5269 GB, free: 15.31 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.849e-05/0.5489, allocations: 53.59 kB / 0.5269 GB, free: 15.25 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.956e-05/0.549, allocations: 95.03 kB / 0.527 GB, free: 15.14 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.07e-05/0.5491, allocations: 30.89 kB / 0.5271 GB, free: 15.11 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.308e-05/0.5491, allocations: 88.44 kB / 0.5271 GB, free: 15.02 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.554e-05/0.5492, allocations: 75.98 kB / 0.5272 GB, free: 14.95 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001116/0.5493, allocations: 59.08 kB / 0.5273 GB, free: 14.91 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001228/0.5494, allocations: 328.8 kB / 0.5276 GB, free: 14.58 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000351/0.5498, allocations: 113.8 kB / 0.5277 GB, free: 14.53 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003609/0.5502, allocations: 116.1 kB / 0.5278 GB, free: 14.48 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001422/0.5516, allocations: 325.2 kB / 0.5281 GB, free: 14.34 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.5516, allocations: 0 / 0.5281 GB, free: 14.34 MB / 398.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001189/0.5528, allocations: 354.1 kB / 0.5284 GB, free: 14.17 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.036e-05/0.5528, allocations: 8.594 kB / 0.5285 GB, free: 14.17 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.5529, allocations: 1.125 kB / 0.5285 GB, free: 14.17 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.877e-05/0.5529, allocations: 5.188 kB / 0.5285 GB, free: 14.16 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003926/0.5533, allocations: 82.42 kB / 0.5285 GB, free: 14.14 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.508e-06/0.5533, allocations: 5.078 kB / 0.5285 GB, free: 14.13 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001888/0.5535, allocations: 21.16 kB / 0.5286 GB, free: 14.12 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.319e-05/0.5535, allocations: 26.33 kB / 0.5286 GB, free: 14.11 MB / 398.1 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 0.0001132/0.5537, allocations: 117.1 kB / 0.5287 GB, free: 13.99 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.608e-05/0.5537, allocations: 4.5 kB / 0.5287 GB, free: 13.99 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001407/0.5551, allocations: 430.7 kB / 0.5291 GB, free: 13.76 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.422e-06/0.5551, allocations: 2.25 kB / 0.5291 GB, free: 13.76 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.032e-06/0.5551, allocations: 1.156 kB / 0.5291 GB, free: 13.76 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.5551, allocations: 0 / 0.5291 GB, free: 13.76 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002152/0.5573, allocations: 0.7781 MB / 0.5299 GB, free: 13.19 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.479e-06/0.5573, allocations: 5.844 kB / 0.5299 GB, free: 13.18 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002771/0.5576, allocations: 70.94 kB / 0.53 GB, free: 13.16 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.431e-06/0.5576, allocations: 6.875 kB / 0.53 GB, free: 13.16 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.567e-05/0.5577, allocations: 14.8 kB / 0.53 GB, free: 13.15 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.5577, allocations: 2.25 kB / 0.53 GB, free: 13.15 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.5577, allocations: 1.062 kB / 0.53 GB, free: 13.15 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001144/0.5588, allocations: 430.7 kB / 0.5304 GB, free: 12.88 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.93e-05/0.5589, allocations: 84.7 kB / 0.5305 GB, free: 12.78 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.228e-05/0.5589, allocations: 9.328 kB / 0.5305 GB, free: 12.77 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001874/0.5591, allocations: 33.92 kB / 0.5305 GB, free: 12.75 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.709e-05/0.5591, allocations: 14.7 kB / 0.5305 GB, free: 12.75 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.706e-05/0.5592, allocations: 19.3 kB / 0.5305 GB, free: 12.74 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.054e-05/0.5592, allocations: 76.44 kB / 0.5306 GB, free: 12.66 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5592, allocations: 0 / 0.5306 GB, free: 12.66 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002042/0.5613, allocations: 0.6299 MB / 0.5312 GB, free: 12.62 MB / 398.1 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.00324/0.5645, allocations: 297.8 kB / 0.5315 GB, free: 12.44 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008819/0.5654, allocations: 263.8 kB / 0.5318 GB, free: 12.33 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.5654, allocations: 4 kB / 0.5318 GB, free: 12.32 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003561/0.5658, allocations: 128.2 kB / 0.5319 GB, free: 12.28 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002484/0.566, allocations: 8.031 kB / 0.5319 GB, free: 12.27 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001034/0.5671, allocations: 333.6 kB / 0.5322 GB, free: 12.04 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004106/0.5675, allocations: 0.7027 MB / 0.5329 GB, free: 11.32 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000244/0.5678, allocations: 73.02 kB / 0.533 GB, free: 11.3 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001417/0.5679, allocations: 45.33 kB / 0.533 GB, free: 11.28 MB / 398.1 MB Notification: Performance of SimCode: time 3.1e-07/0.5679, allocations: 0 / 0.533 GB, free: 11.28 MB / 398.1 MB Notification: Performance of Templates: time 0.07726/0.6452, allocations: 53.96 MB / 0.5857 GB, free: 7.207 MB / 446.1 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches