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.001079/0.001079, allocations: 110.5 kB / 18.46 MB, free: 4.598 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.001375/0.001375, allocations: 187.2 kB / 19.38 MB, free: 3.68 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.336/1.336, allocations: 222.9 MB / 243.1 MB, free: 15.06 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.1996/0.1996, allocations: 44.18 MB / 337.4 MB, free: 2.645 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001431/0.001431, allocations: 55.91 kB / 471.2 MB, free: 13.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3261/0.3276, allocations: 60.83 MB / 0.5196 GB, free: 3.59 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.001642/0.3292, allocations: 0.5323 MB / 0.5201 GB, free: 3.262 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000775/0.33, allocations: 408.9 kB / 0.5205 GB, free: 2.988 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.397e-05/0.3301, allocations: 0 / 0.5205 GB, free: 2.988 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.538e-05/0.3301, allocations: 0 / 0.5205 GB, free: 2.988 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 2.788e-05/0.3301, allocations: 3.938 kB / 0.5205 GB, free: 2.984 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005051/0.3307, allocations: 141.8 kB / 0.5206 GB, free: 2.926 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.223e-05/0.3307, allocations: 27.14 kB / 0.5206 GB, free: 2.918 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.798e-05/0.3308, allocations: 11.05 kB / 0.5206 GB, free: 2.91 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.451e-05/0.3308, allocations: 7.891 kB / 0.5207 GB, free: 2.91 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.993e-05/0.3309, allocations: 31.48 kB / 0.5207 GB, free: 2.891 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.278e-05/0.3309, allocations: 5.875 kB / 0.5207 GB, free: 2.887 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002919/0.3312, allocations: 160.5 kB / 0.5208 GB, free: 2.84 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.543e-05/0.3312, allocations: 4.734 kB / 0.5209 GB, free: 2.84 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.866e-05/0.3313, allocations: 21.61 kB / 0.5209 GB, free: 2.824 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002415/0.3315, allocations: 129 kB / 0.521 GB, free: 2.785 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.3315, allocations: 0 / 0.521 GB, free: 2.785 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3315, allocations: 0 / 0.521 GB, free: 2.785 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.698e-06/0.3315, allocations: 0 / 0.521 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.0003707/0.3319, allocations: 362.5 kB / 0.5213 GB, free: 2.41 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.294e-05/0.332, allocations: 13.56 kB / 0.5214 GB, free: 2.406 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.717e-05/0.332, allocations: 12.22 kB / 0.5214 GB, free: 2.398 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.671e-05/0.3321, allocations: 164.6 kB / 0.5215 GB, free: 2.203 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.468e-05/0.3321, allocations: 2.984 kB / 0.5215 GB, free: 2.203 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.925e-05/0.3321, allocations: 8.844 kB / 0.5215 GB, free: 2.199 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001299/0.3323, allocations: 60.95 kB / 0.5216 GB, free: 2.16 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.45e-05/0.3323, allocations: 9.734 kB / 0.5216 GB, free: 2.152 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.097e-05/0.3323, allocations: 9.094 kB / 0.5216 GB, free: 2.145 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.236e-06/0.3323, allocations: 1.062 kB / 0.5216 GB, free: 2.145 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.076e-05/0.3324, allocations: 45.44 kB / 0.5217 GB, free: 2.137 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001419/0.3326, allocations: 179.9 kB / 0.5218 GB, free: 1.93 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001488/0.3327, allocations: 85.81 kB / 0.5219 GB, free: 1.887 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.209e-05/0.3328, allocations: 31.08 kB / 0.5219 GB, free: 1.871 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002514/0.3331, allocations: 106.1 kB / 0.522 GB, free: 1.773 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.91e-05/0.3331, allocations: 32.27 kB / 0.5221 GB, free: 1.734 MB / 382.1 MB Notification: Performance of pre-optimization done (n=13): time 1.312e-06/0.3331, allocations: 0 / 0.5221 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.1357/0.4688, allocations: 5.617 MB / 0.5276 GB, free: 15.27 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.156e-05/0.4688, allocations: 54.31 kB / 0.5276 GB, free: 15.21 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.807e-05/0.4689, allocations: 91.27 kB / 0.5277 GB, free: 15.11 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.34e-05/0.469, allocations: 29.7 kB / 0.5277 GB, free: 15.07 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.951e-05/0.469, allocations: 81.52 kB / 0.5278 GB, free: 14.99 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.898e-05/0.4691, allocations: 83.25 kB / 0.5279 GB, free: 14.91 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.869e-05/0.4692, allocations: 54.7 kB / 0.5279 GB, free: 14.88 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001051/0.4693, allocations: 325.3 kB / 0.5282 GB, free: 14.55 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003739/0.4697, allocations: 117.5 kB / 0.5284 GB, free: 14.5 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003591/0.4701, allocations: 115.4 kB / 0.5285 GB, free: 14.45 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001506/0.4716, allocations: 322.2 kB / 0.5288 GB, free: 14.31 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/0.4716, allocations: 4 kB / 0.5288 GB, free: 14.31 MB / 398.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001236/0.4728, allocations: 357.2 kB / 0.5291 GB, free: 14.14 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.4729, allocations: 5.375 kB / 0.5291 GB, free: 14.14 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.4729, allocations: 5.094 kB / 0.5291 GB, free: 14.13 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/0.4729, allocations: 1.469 kB / 0.5291 GB, free: 14.13 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003975/0.4733, allocations: 82.53 kB / 0.5292 GB, free: 14.11 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.4733, allocations: 1.344 kB / 0.5292 GB, free: 14.11 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002094/0.4735, allocations: 20.34 kB / 0.5292 GB, free: 14.1 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.488e-05/0.4736, allocations: 18.7 kB / 0.5292 GB, free: 14.09 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.0001094/0.4737, allocations: 134 kB / 0.5294 GB, free: 13.95 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.664e-05/0.4737, allocations: 8.047 kB / 0.5294 GB, free: 13.95 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001439/0.4752, allocations: 424.9 kB / 0.5298 GB, free: 13.73 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.336e-06/0.4752, allocations: 7.969 kB / 0.5298 GB, free: 13.72 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.4752, allocations: 1.469 kB / 0.5298 GB, free: 13.72 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.036e-05/0.4753, allocations: 82.58 kB / 0.5299 GB, free: 13.62 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.234e-05/0.4753, allocations: 9.406 kB / 0.5299 GB, free: 13.61 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000208/0.4755, allocations: 33.19 kB / 0.5299 GB, free: 13.59 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.753e-05/0.4755, allocations: 10.61 kB / 0.5299 GB, free: 13.59 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001457/0.477, allocations: 480.8 kB / 0.5304 GB, free: 13.32 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001308/0.4783, allocations: 0.5243 MB / 0.5309 GB, free: 12.96 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000381/0.4787, allocations: 144.3 kB / 0.531 GB, free: 12.89 MB / 398.1 MB Notification: Performance of sorting global known variables: time 2.754e-05/0.4788, allocations: 80.47 kB / 0.5311 GB, free: 12.81 MB / 398.1 MB Notification: Performance of Backend: time 5.51e-07/0.4788, allocations: 0 / 0.5311 GB, free: 12.81 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.004477/0.4832, allocations: 429.8 kB / 0.5315 GB, free: 12.59 MB / 398.1 MB Notification: Performance of SimCode: time 0.00052/0.4838, allocations: 0.6104 MB / 0.5321 GB, free: 11.97 MB / 398.1 MB Notification: Performance of Templates: time 0.07338/0.5572, allocations: 54.28 MB / 0.5851 GB, free: 8.52 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/TestRegRoot2ZeroDerivative/TestRegRoot2ZeroDerivative.csv","/var/lib/jenkins1/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