Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.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.TestRegRoot2Derivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|x|y|yd|ydd|k1|k2|y2|y2d|y2dd",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|x|y|yd|ydd|k1|k2|y2|y2d|y2dd",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009201/0.0009202, allocations: 175.3 kB / 16.76 MB, free: 5.051 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.405/1.405, allocations: 205.4 MB / 222.9 MB, free: 8.941 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.0007396/0.0007396, allocations: 90.41 kB / 271.3 MB, free: 8.234 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.406/0.406, allocations: 43.57 MB / 363.1 MB, free: 51.94 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006606/0.0006607, allocations: 16 kB / 432.6 MB, free: 4.977 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1353/0.136, allocations: 58.85 MB / 491.5 MB, free: 10.04 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.287/0.4231, allocations: 84.58 MB / 0.5626 GB, free: 1.258 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002266/0.4234, allocations: 67.95 kB / 0.5626 GB, free: 1.191 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008831/0.4322, allocations: 3.035 MB / 0.5656 GB, free: 14.18 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.955e-06/0.4322, allocations: 0 / 0.5656 GB, free: 14.18 MB / 394.7 MB Notification: Performance of Transformations before backend: time 8.205e-06/0.4323, allocations: 4 kB / 0.5656 GB, free: 14.18 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004261/0.4327, allocations: 367.1 kB / 0.5659 GB, free: 13.77 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.349e-05/0.4328, allocations: 8.031 kB / 0.5659 GB, free: 13.77 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.955e-05/0.4328, allocations: 8.844 kB / 0.566 GB, free: 13.76 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001501/0.433, allocations: 164.3 kB / 0.5661 GB, free: 13.56 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.679e-05/0.433, allocations: 8.375 kB / 0.5661 GB, free: 13.55 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.91e-05/0.433, allocations: 8.125 kB / 0.5661 GB, free: 13.55 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000133/0.4332, allocations: 62.17 kB / 0.5662 GB, free: 13.48 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.531e-05/0.4332, allocations: 4.188 kB / 0.5662 GB, free: 13.48 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.325e-05/0.4332, allocations: 3.938 kB / 0.5662 GB, free: 13.47 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.59e-06/0.4332, allocations: 0 / 0.5662 GB, free: 13.47 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.339e-05/0.4333, allocations: 23.98 kB / 0.5662 GB, free: 13.45 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002357/0.4336, allocations: 181.6 kB / 0.5664 GB, free: 13.22 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002347/0.4338, allocations: 58.58 kB / 0.5664 GB, free: 13.16 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.364e-05/0.4339, allocations: 24.84 kB / 0.5665 GB, free: 13.13 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002472/0.4341, allocations: 109.1 kB / 0.5666 GB, free: 13 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.206e-05/0.4342, allocations: 38.56 kB / 0.5666 GB, free: 12.96 MB / 394.7 MB Notification: Performance of pre-optimization done (n=9): time 1.343e-06/0.4342, allocations: 0 / 0.5666 GB, free: 12.96 MB / 394.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: k2 2: k1 3: x Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=19): time 0.1195/0.5537, allocations: 6.311 MB / 0.5728 GB, free: 6.621 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.192e-05/0.5537, allocations: 59.41 kB / 0.5728 GB, free: 6.551 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.802e-05/0.5538, allocations: 101.8 kB / 0.5729 GB, free: 6.441 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.842e-05/0.5539, allocations: 29.7 kB / 0.573 GB, free: 6.406 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.898e-05/0.554, allocations: 84.14 kB / 0.573 GB, free: 6.32 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.849e-05/0.554, allocations: 67 kB / 0.5731 GB, free: 6.254 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.154e-05/0.5541, allocations: 0 / 0.5731 GB, free: 6.254 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001118/0.5542, allocations: 318.8 kB / 0.5734 GB, free: 5.934 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005278/0.5547, allocations: 247.8 kB / 0.5736 GB, free: 5.691 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005173/0.5553, allocations: 243.8 kB / 0.5739 GB, free: 5.453 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002064/0.5573, allocations: 0.5884 MB / 0.5744 GB, free: 4.863 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.5574, allocations: 4 kB / 0.5745 GB, free: 4.859 MB / 394.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001784/0.5591, allocations: 0.6389 MB / 0.5751 GB, free: 4.215 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.5592, allocations: 4 kB / 0.5751 GB, free: 4.211 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.747e-06/0.5592, allocations: 8 kB / 0.5751 GB, free: 4.203 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.5592, allocations: 3.938 kB / 0.5751 GB, free: 4.199 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006594/0.5599, allocations: 118.9 kB / 0.5752 GB, free: 4.086 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.784e-06/0.5599, allocations: 0 / 0.5752 GB, free: 4.086 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004616/0.5604, allocations: 39.95 kB / 0.5752 GB, free: 4.047 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.38e-05/0.5604, allocations: 28.42 kB / 0.5753 GB, free: 4.02 MB / 394.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 (19): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001511/0.5606, allocations: 129.7 kB / 0.5754 GB, free: 3.883 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.694e-05/0.5606, allocations: 7.906 kB / 0.5754 GB, free: 3.875 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002176/0.5628, allocations: 0.7613 MB / 0.5761 GB, free: 3.113 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.5628, allocations: 0 / 0.5761 GB, free: 3.113 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.5629, allocations: 3.938 kB / 0.5761 GB, free: 3.109 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.5629, allocations: 0 / 0.5761 GB, free: 3.109 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00403/0.5669, allocations: 1.225 MB / 0.5773 GB, free: 1.824 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.5669, allocations: 0 / 0.5773 GB, free: 1.824 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005453/0.5675, allocations: 112 kB / 0.5774 GB, free: 1.715 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.765e-06/0.5675, allocations: 4 kB / 0.5775 GB, free: 1.711 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.693e-05/0.5675, allocations: 27.95 kB / 0.5775 GB, free: 1.684 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.889e-06/0.5676, allocations: 4 kB / 0.5775 GB, free: 1.68 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.5676, allocations: 0 / 0.5775 GB, free: 1.68 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001637/0.5692, allocations: 0.6133 MB / 0.5781 GB, free: 1.031 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.221e-05/0.5693, allocations: 89.02 kB / 0.5782 GB, free: 0.9258 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.829e-05/0.5693, allocations: 4 kB / 0.5782 GB, free: 0.9219 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004113/0.5697, allocations: 35.95 kB / 0.5782 GB, free: 0.8867 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.087e-05/0.5698, allocations: 13.11 kB / 0.5782 GB, free: 0.875 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.769e-05/0.5699, allocations: 35.95 kB / 0.5783 GB, free: 0.8398 MB / 394.7 MB Notification: Performance of sorting global known variables: time 4.47e-05/0.5699, allocations: 79.28 kB / 0.5783 GB, free: 0.7617 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5699, allocations: 0 / 0.5783 GB, free: 0.7617 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001756/0.5717, allocations: 0.6325 MB / 0.5789 GB, free: 132 kB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (19): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003023/0.5747, allocations: 362.4 kB / 0.5793 GB, free: 15.77 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001201/0.5759, allocations: 479 kB / 0.5797 GB, free: 15.3 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.5759, allocations: 0 / 0.5797 GB, free: 15.3 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005578/0.5765, allocations: 224.1 kB / 0.58 GB, free: 15.08 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003124/0.5768, allocations: 10.81 kB / 0.58 GB, free: 15.07 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00237/0.5792, allocations: 0.5914 MB / 0.5806 GB, free: 14.44 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002869/0.5795, allocations: 0.6929 MB / 0.5812 GB, free: 13.72 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0006008/0.5801, allocations: 125.5 kB / 0.5813 GB, free: 13.59 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003021/0.5804, allocations: 91.28 kB / 0.5814 GB, free: 13.5 MB / 410.7 MB Notification: Performance of SimCode: time 7.32e-07/0.5804, allocations: 0 / 0.5814 GB, free: 13.5 MB / 410.7 MB Notification: Performance of Templates: time 0.07054/0.651, allocations: 51.29 MB / 0.6315 GB, free: 10.06 MB / 458.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestUtilities/TestRegRoot2Derivatives/TestRegRoot2Derivatives.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches