Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001/0.001, allocations: 183 kB / 16.63 MB, free: 5.137 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.202/1.202, allocations: 205.1 MB / 222.5 MB, free: 8.484 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008526/0.0008526, allocations: 94.3 kB / 269.9 MB, free: 8.434 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.284/0.284, allocations: 43.49 MB / 360.7 MB, free: 51.21 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009495/0.0009495, allocations: 51.92 kB / 429.2 MB, free: 6.395 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09231/0.09327, allocations: 57.77 MB / 487 MB, free: 12.55 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.00166/0.09497, allocations: 0.6009 MB / 487.6 MB, free: 11.95 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007444/0.09574, allocations: 441.6 kB / 488 MB, free: 11.52 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.383e-05/0.09576, allocations: 0 / 488 MB, free: 11.52 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 2.1e-05/0.0958, allocations: 3.938 kB / 488 MB, free: 11.51 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 1.775e-05/0.09583, allocations: 4 kB / 488 MB, free: 11.51 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000349/0.09618, allocations: 103.8 kB / 488.2 MB, free: 11.41 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 4.873e-05/0.09624, allocations: 27.97 kB / 488.2 MB, free: 11.38 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.753e-05/0.09628, allocations: 0 / 488.2 MB, free: 11.38 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.179e-05/0.09631, allocations: 15.94 kB / 488.2 MB, free: 11.36 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.251e-05/0.09637, allocations: 23.91 kB / 488.2 MB, free: 11.34 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.113e-05/0.09638, allocations: 4 kB / 488.2 MB, free: 11.34 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002303/0.09662, allocations: 151.8 kB / 488.4 MB, free: 11.19 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.475e-05/0.09664, allocations: 23.91 kB / 488.4 MB, free: 11.16 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 2.082e-05/0.09667, allocations: 7.938 kB / 488.4 MB, free: 11.16 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001887/0.09686, allocations: 132 kB / 488.5 MB, free: 11.03 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.09688, allocations: 4 kB / 488.5 MB, free: 11.02 MB / 378.7 MB Notification: Performance of FrontEnd: time 8.81e-07/0.09688, allocations: 3.938 kB / 488.5 MB, free: 11.02 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.356e-06/0.09689, allocations: 0 / 488.5 MB, free: 11.02 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.0003438/0.09724, allocations: 363.4 kB / 488.9 MB, free: 10.62 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.167e-05/0.09728, allocations: 12.03 kB / 488.9 MB, free: 10.61 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.864e-05/0.09731, allocations: 4.844 kB / 488.9 MB, free: 10.6 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.974e-05/0.09741, allocations: 172.3 kB / 489.1 MB, free: 10.39 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.276e-06/0.09742, allocations: 8.312 kB / 489.1 MB, free: 10.39 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.276e-05/0.09745, allocations: 8.359 kB / 489.1 MB, free: 10.38 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001026/0.09756, allocations: 62.23 kB / 489.2 MB, free: 10.31 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.271e-05/0.09758, allocations: 11.92 kB / 489.2 MB, free: 10.3 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.484e-06/0.09759, allocations: 0 / 489.2 MB, free: 10.3 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.471e-06/0.0976, allocations: 4 kB / 489.2 MB, free: 10.3 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.06e-05/0.09767, allocations: 39.95 kB / 489.2 MB, free: 10.26 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000145/0.09782, allocations: 177.6 kB / 489.4 MB, free: 10.04 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000115/0.09795, allocations: 94.41 kB / 489.5 MB, free: 9.934 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.019e-05/0.09799, allocations: 28.86 kB / 489.5 MB, free: 9.902 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002343/0.09823, allocations: 105 kB / 489.6 MB, free: 9.781 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.283e-05/0.09827, allocations: 38.56 kB / 489.6 MB, free: 9.734 MB / 378.7 MB Notification: Performance of pre-optimization done (n=13): time 1.122e-06/0.09827, allocations: 0 / 489.6 MB, free: 9.734 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.1316/0.2299, allocations: 5.614 MB / 495.3 MB, free: 4.082 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.95e-05/0.23, allocations: 55.41 kB / 495.3 MB, free: 4.016 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.301e-05/0.2301, allocations: 93.86 kB / 495.4 MB, free: 3.914 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.297e-05/0.2301, allocations: 29.7 kB / 495.4 MB, free: 3.879 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.284e-05/0.2301, allocations: 80.52 kB / 495.5 MB, free: 3.793 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.694e-05/0.2302, allocations: 86.83 kB / 495.6 MB, free: 3.707 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.301e-05/0.2303, allocations: 57.67 kB / 495.7 MB, free: 3.645 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.569e-05/0.2304, allocations: 318.8 kB / 496 MB, free: 3.324 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003332/0.2308, allocations: 116 kB / 496.1 MB, free: 3.211 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003155/0.2311, allocations: 115.8 kB / 496.2 MB, free: 3.098 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001279/0.2324, allocations: 320.5 kB / 496.5 MB, free: 2.781 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.2324, allocations: 0 / 496.5 MB, free: 2.781 MB / 378.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.00108/0.2335, allocations: 357.8 kB / 496.9 MB, free: 2.426 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/0.2335, allocations: 8 kB / 496.9 MB, free: 2.418 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.2335, allocations: 0 / 496.9 MB, free: 2.418 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.2335, allocations: 0 / 496.9 MB, free: 2.418 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003484/0.2339, allocations: 83.84 kB / 496.9 MB, free: 2.336 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.2339, allocations: 4 kB / 496.9 MB, free: 2.332 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002045/0.2341, allocations: 23.97 kB / 497 MB, free: 2.309 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.134e-05/0.2341, allocations: 19.92 kB / 497 MB, free: 2.289 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 0.0001034/0.2343, allocations: 117.8 kB / 497.1 MB, free: 2.164 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.535e-05/0.2343, allocations: 11.89 kB / 497.1 MB, free: 2.152 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0013/0.2356, allocations: 433.9 kB / 497.5 MB, free: 1.719 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.923e-06/0.2356, allocations: 4 kB / 497.5 MB, free: 1.715 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.2356, allocations: 7.938 kB / 497.5 MB, free: 1.707 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.2356, allocations: 3.984 kB / 497.6 MB, free: 1.703 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00199/0.2376, allocations: 0.7766 MB / 498.3 MB, free: 0.8633 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.2377, allocations: 3.938 kB / 498.3 MB, free: 0.8594 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002574/0.2379, allocations: 75.86 kB / 498.4 MB, free: 0.7852 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.609e-06/0.2379, allocations: 4 kB / 498.4 MB, free: 0.7812 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.495e-05/0.238, allocations: 15.98 kB / 498.4 MB, free: 0.7656 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.238, allocations: 4.062 kB / 498.4 MB, free: 0.7617 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.238, allocations: 0 / 498.4 MB, free: 0.7617 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001576/0.2396, allocations: 1.065 MB / 499.5 MB, free: 15.63 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.946e-05/0.2396, allocations: 85.02 kB / 499.6 MB, free: 15.53 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.77e-05/0.2396, allocations: 11.98 kB / 499.6 MB, free: 15.52 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001716/0.2398, allocations: 23.97 kB / 499.6 MB, free: 15.5 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.881e-05/0.2399, allocations: 15.92 kB / 499.6 MB, free: 15.48 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.38e-05/0.2399, allocations: 15.98 kB / 499.6 MB, free: 15.46 MB / 394.7 MB Notification: Performance of sorting global known variables: time 4.29e-05/0.2399, allocations: 79.28 kB / 499.7 MB, free: 15.39 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2399, allocations: 4.031 kB / 499.7 MB, free: 15.38 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001583/0.2415, allocations: 0.6327 MB / 0.4886 GB, free: 14.75 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 () * 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.003007/0.2446, allocations: 295.3 kB / 0.4889 GB, free: 14.45 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0007908/0.2454, allocations: 259.6 kB / 0.4892 GB, free: 14.2 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.2454, allocations: 0 / 0.4892 GB, free: 14.2 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003309/0.2457, allocations: 135.7 kB / 0.4893 GB, free: 14.07 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002271/0.246, allocations: 8 kB / 0.4893 GB, free: 14.06 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001008/0.247, allocations: 0.5234 MB / 0.4898 GB, free: 13.49 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002383/0.2472, allocations: 0.7011 MB / 0.4905 GB, free: 12.76 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002919/0.2475, allocations: 81.08 kB / 0.4906 GB, free: 12.68 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001191/0.2476, allocations: 43.41 kB / 0.4906 GB, free: 12.64 MB / 394.7 MB Notification: Performance of SimCode: time 4.91e-07/0.2477, allocations: 0 / 0.4906 GB, free: 12.64 MB / 394.7 MB Notification: Performance of Templates: time 0.2114/0.459, allocations: 53.84 MB / 0.5432 GB, free: 43.16 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestUtilities/TestRegRoot2ZeroDerivative/TestRegRoot2ZeroDerivative.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches