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.001184/0.001184, allocations: 111.8 kB / 18.45 MB, free: 4.578 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.001153/0.001153, allocations: 182.3 kB / 19.38 MB, free: 3.664 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.288/1.288, allocations: 222.9 MB / 243.1 MB, free: 15.07 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.1979/0.1979, allocations: 44.18 MB / 337.4 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001337/0.001337, allocations: 55.91 kB / 471.2 MB, free: 13.18 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3426/0.3439, allocations: 60.83 MB / 0.5195 GB, free: 3.602 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.001562/0.3456, allocations: 0.5411 MB / 0.5201 GB, free: 3.266 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007302/0.3463, allocations: 404.5 kB / 0.5205 GB, free: 2.996 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.059e-05/0.3463, allocations: 0 / 0.5205 GB, free: 2.996 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.812e-05/0.3464, allocations: 12.94 kB / 0.5205 GB, free: 2.984 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 2.043e-05/0.3464, allocations: 0 / 0.5205 GB, free: 2.984 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004815/0.3469, allocations: 145 kB / 0.5206 GB, free: 2.922 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 7.232e-05/0.347, allocations: 31.53 kB / 0.5206 GB, free: 2.91 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.509e-05/0.347, allocations: 2.984 kB / 0.5206 GB, free: 2.91 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.399e-05/0.347, allocations: 13.14 kB / 0.5207 GB, free: 2.906 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.109e-05/0.3471, allocations: 26.34 kB / 0.5207 GB, free: 2.891 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.311e-05/0.3471, allocations: 2.344 kB / 0.5207 GB, free: 2.891 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002812/0.3474, allocations: 160.8 kB / 0.5208 GB, free: 2.844 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.522e-05/0.3474, allocations: 8.484 kB / 0.5208 GB, free: 2.84 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.613e-05/0.3475, allocations: 17.8 kB / 0.5209 GB, free: 2.828 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002263/0.3477, allocations: 127.6 kB / 0.521 GB, free: 2.789 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/0.3477, allocations: 4 kB / 0.521 GB, free: 2.785 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.3477, allocations: 5.438 kB / 0.521 GB, free: 2.781 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.758e-06/0.3477, allocations: 0 / 0.521 GB, free: 2.781 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.0003373/0.3481, allocations: 353.6 kB / 0.5213 GB, free: 2.414 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.525e-05/0.3481, allocations: 9.844 kB / 0.5213 GB, free: 2.414 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.664e-05/0.3482, allocations: 12.45 kB / 0.5214 GB, free: 2.406 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.055e-05/0.3482, allocations: 164.5 kB / 0.5215 GB, free: 2.211 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.076e-05/0.3483, allocations: 6.5 kB / 0.5215 GB, free: 2.207 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.065e-05/0.3483, allocations: 10.16 kB / 0.5215 GB, free: 2.203 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001249/0.3484, allocations: 63.88 kB / 0.5216 GB, free: 2.164 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.364e-05/0.3484, allocations: 10.05 kB / 0.5216 GB, free: 2.156 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.135e-05/0.3485, allocations: 1.031 kB / 0.5216 GB, free: 2.156 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.3485, allocations: 1.031 kB / 0.5216 GB, free: 2.156 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.934e-05/0.3486, allocations: 49.72 kB / 0.5216 GB, free: 2.145 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001402/0.3487, allocations: 187.6 kB / 0.5218 GB, free: 1.93 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001326/0.3488, allocations: 86.05 kB / 0.5219 GB, free: 1.887 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.567e-05/0.3489, allocations: 27.67 kB / 0.5219 GB, free: 1.875 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002333/0.3491, allocations: 105.3 kB / 0.522 GB, free: 1.777 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.428e-05/0.3492, allocations: 32.41 kB / 0.5221 GB, free: 1.738 MB / 382.1 MB Notification: Performance of pre-optimization done (n=13): time 1.152e-06/0.3492, allocations: 4 kB / 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.1346/0.4838, allocations: 5.6 MB / 0.5275 GB, free: 15.3 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.125e-05/0.4838, allocations: 58.44 kB / 0.5276 GB, free: 15.24 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.988e-05/0.4839, allocations: 93.86 kB / 0.5277 GB, free: 15.14 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.588e-05/0.484, allocations: 31.86 kB / 0.5277 GB, free: 15.1 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.2e-05/0.484, allocations: 84.5 kB / 0.5278 GB, free: 15.01 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.839e-05/0.4841, allocations: 80.16 kB / 0.5279 GB, free: 14.94 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001032/0.4842, allocations: 58.7 kB / 0.5279 GB, free: 14.9 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.946e-05/0.4843, allocations: 324.2 kB / 0.5282 GB, free: 14.58 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003296/0.4846, allocations: 118.6 kB / 0.5283 GB, free: 14.52 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003264/0.485, allocations: 111 kB / 0.5285 GB, free: 14.48 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001379/0.4864, allocations: 325.8 kB / 0.5288 GB, free: 14.34 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.4864, allocations: 3.938 kB / 0.5288 GB, free: 14.33 MB / 398.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001124/0.4875, allocations: 353.5 kB / 0.5291 GB, free: 14.16 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.4875, allocations: 5.406 kB / 0.5291 GB, free: 14.16 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.623e-06/0.4875, allocations: 7.922 kB / 0.5291 GB, free: 14.16 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.889e-05/0.4876, allocations: 1.562 kB / 0.5291 GB, free: 14.16 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003617/0.4879, allocations: 78.17 kB / 0.5292 GB, free: 14.13 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-06/0.488, allocations: 1.188 kB / 0.5292 GB, free: 14.13 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001832/0.4881, allocations: 29.75 kB / 0.5292 GB, free: 14.12 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.065e-05/0.4882, allocations: 21.66 kB / 0.5292 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.0001024/0.4883, allocations: 122.1 kB / 0.5294 GB, free: 13.98 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.2e-05/0.4883, allocations: 4.25 kB / 0.5294 GB, free: 13.98 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001318/0.4896, allocations: 439.3 kB / 0.5298 GB, free: 13.74 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.539e-06/0.4897, allocations: 2.688 kB / 0.5298 GB, free: 13.74 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.718e-06/0.4897, allocations: 0 / 0.5298 GB, free: 13.74 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.4897, allocations: 0 / 0.5298 GB, free: 13.74 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002067/0.4918, allocations: 0.7745 MB / 0.5305 GB, free: 13.18 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/0.4918, allocations: 3.938 kB / 0.5305 GB, free: 13.17 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002648/0.492, allocations: 76.53 kB / 0.5306 GB, free: 13.15 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/0.4921, allocations: 2.312 kB / 0.5306 GB, free: 13.15 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.603e-05/0.4921, allocations: 15.11 kB / 0.5306 GB, free: 13.14 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.412e-06/0.4921, allocations: 6.25 kB / 0.5306 GB, free: 13.14 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.4921, allocations: 1.219 kB / 0.5306 GB, free: 13.14 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001078/0.4932, allocations: 431.4 kB / 0.5311 GB, free: 12.86 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.508e-05/0.4932, allocations: 83.3 kB / 0.5311 GB, free: 12.77 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.173e-05/0.4933, allocations: 7.688 kB / 0.5311 GB, free: 12.76 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001721/0.4935, allocations: 21.03 kB / 0.5312 GB, free: 12.75 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.081e-05/0.4935, allocations: 19.28 kB / 0.5312 GB, free: 12.74 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.891e-05/0.4935, allocations: 10.59 kB / 0.5312 GB, free: 12.74 MB / 398.1 MB Notification: Performance of sorting global known variables: time 2.861e-05/0.4936, allocations: 79.28 kB / 0.5313 GB, free: 12.66 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.453e-06/0.4936, allocations: 3.5 kB / 0.5313 GB, free: 12.66 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001773/0.4953, allocations: 0.6323 MB / 0.5319 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.002987/0.4983, allocations: 293 kB / 0.5322 GB, free: 12.44 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007968/0.4991, allocations: 264 kB / 0.5324 GB, free: 12.33 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.4992, allocations: 0 / 0.5324 GB, free: 12.33 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000345/0.4995, allocations: 135.8 kB / 0.5325 GB, free: 12.27 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002472/0.4998, allocations: 11.38 kB / 0.5326 GB, free: 12.27 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000901/0.5007, allocations: 355.2 kB / 0.5329 GB, free: 12 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002546/0.5009, allocations: 0.6993 MB / 0.5336 GB, free: 11.29 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001312/0.5011, allocations: 47.55 kB / 0.5336 GB, free: 11.27 MB / 398.1 MB Notification: Performance of SimCode: time 2.31e-07/0.5011, allocations: 0 / 0.5336 GB, free: 11.27 MB / 398.1 MB Notification: Performance of Templates: time 0.02232/0.5234, allocations: 14.17 MB / 0.5475 GB, free: 15.09 MB / 414.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