Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_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_cpp_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.001483/0.001487, allocations: 184.8 kB / 16.41 MB, free: 5.727 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.922/1.922, allocations: 205.4 MB / 222.5 MB, free: 9.121 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.001113/0.001113, allocations: 95.34 kB / 270.9 MB, free: 8.371 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.5797/0.5797, allocations: 43.55 MB / 362.7 MB, free: 52 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006309/0.0006311, allocations: 8 kB / 431.4 MB, free: 5.941 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1247/0.1254, allocations: 58.85 MB / 490.2 MB, free: 11.01 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.45/0.5754, allocations: 84.57 MB / 0.5613 GB, free: 1.996 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002329/0.5757, allocations: 63.95 kB / 0.5614 GB, free: 1.934 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01404/0.5898, allocations: 3.034 MB / 0.5643 GB, free: 14.93 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.355e-06/0.5898, allocations: 0 / 0.5643 GB, free: 14.93 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.953e-06/0.5898, allocations: 0 / 0.5643 GB, free: 14.93 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.000447/0.5903, allocations: 366.9 kB / 0.5647 GB, free: 14.52 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.524e-05/0.5903, allocations: 12.03 kB / 0.5647 GB, free: 14.51 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.76e-05/0.5904, allocations: 11.34 kB / 0.5647 GB, free: 14.5 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001207/0.5905, allocations: 171 kB / 0.5649 GB, free: 14.3 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.359e-05/0.5906, allocations: 0 / 0.5649 GB, free: 14.3 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.952e-05/0.5906, allocations: 4 kB / 0.5649 GB, free: 14.29 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001501/0.5908, allocations: 53.67 kB / 0.5649 GB, free: 14.23 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.312e-05/0.5908, allocations: 0 / 0.5649 GB, free: 14.23 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.178e-05/0.5908, allocations: 4 kB / 0.5649 GB, free: 14.23 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.001e-05/0.5908, allocations: 5.031 kB / 0.5649 GB, free: 14.23 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.785e-05/0.5909, allocations: 35.86 kB / 0.565 GB, free: 14.19 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002097/0.5912, allocations: 177.5 kB / 0.5651 GB, free: 13.97 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002846/0.5915, allocations: 54.56 kB / 0.5652 GB, free: 13.91 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003616/0.5918, allocations: 113.1 kB / 0.5653 GB, free: 13.78 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.597e-05/0.5919, allocations: 30.56 kB / 0.5653 GB, free: 13.74 MB / 394.7 MB Notification: Performance of pre-optimization done (n=9): time 1.653e-06/0.5919, allocations: 0 / 0.5653 GB, free: 13.74 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.2608/0.8526, allocations: 6.316 MB / 0.5715 GB, free: 7.398 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.373e-05/0.8527, allocations: 51.41 kB / 0.5715 GB, free: 7.336 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001199/0.8529, allocations: 101.4 kB / 0.5716 GB, free: 7.23 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 7.203e-05/0.853, allocations: 29.7 kB / 0.5717 GB, free: 7.195 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.322e-05/0.853, allocations: 150.6 kB / 0.5718 GB, free: 7.047 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001359/0.8532, allocations: 70.98 kB / 0.5719 GB, free: 6.977 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.943e-05/0.8533, allocations: 4 kB / 0.5719 GB, free: 6.973 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001218/0.8534, allocations: 322.7 kB / 0.5722 GB, free: 6.648 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001064/0.8545, allocations: 247.8 kB / 0.5724 GB, free: 6.406 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001057/0.8556, allocations: 243.8 kB / 0.5727 GB, free: 6.168 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002133/0.8577, allocations: 292.7 kB / 0.5729 GB, free: 5.883 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.8577, allocations: 0 / 0.5729 GB, free: 5.883 MB / 394.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.003517/0.8613, allocations: 0.6312 MB / 0.5736 GB, free: 5.246 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.029e-05/0.8613, allocations: 7.984 kB / 0.5736 GB, free: 5.238 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.304e-05/0.8614, allocations: 4 kB / 0.5736 GB, free: 5.234 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.748e-05/0.8614, allocations: 3.938 kB / 0.5736 GB, free: 5.23 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001305/0.8627, allocations: 119.8 kB / 0.5737 GB, free: 5.113 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.347e-05/0.8627, allocations: 6.438 kB / 0.5737 GB, free: 5.109 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009248/0.8637, allocations: 31.97 kB / 0.5737 GB, free: 5.078 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001098/0.8638, allocations: 39.89 kB / 0.5738 GB, free: 5.039 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.0002107/0.864, allocations: 117.8 kB / 0.5739 GB, free: 4.914 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.418e-05/0.8641, allocations: 7.906 kB / 0.5739 GB, free: 4.906 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004106/0.8682, allocations: 0.7657 MB / 0.5746 GB, free: 4.137 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.019e-05/0.8683, allocations: 4 kB / 0.5746 GB, free: 4.133 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.556e-06/0.8683, allocations: 0 / 0.5746 GB, free: 4.133 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.845e-06/0.8683, allocations: 3.984 kB / 0.5746 GB, free: 4.129 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00774/0.8761, allocations: 1.219 MB / 0.5758 GB, free: 2.848 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.156e-05/0.8761, allocations: 4 kB / 0.5758 GB, free: 2.844 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001127/0.8773, allocations: 115.9 kB / 0.5759 GB, free: 2.73 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.148e-05/0.8773, allocations: 4 kB / 0.5759 GB, free: 2.727 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.826e-05/0.8774, allocations: 23.95 kB / 0.576 GB, free: 2.703 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.185e-06/0.8774, allocations: 4 kB / 0.576 GB, free: 2.699 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/0.8774, allocations: 3.5 kB / 0.576 GB, free: 2.699 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003241/0.8807, allocations: 0.682 MB / 0.5766 GB, free: 1.945 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.158e-05/0.8808, allocations: 85.02 kB / 0.5767 GB, free: 1.844 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001041/0.8809, allocations: 7.984 kB / 0.5767 GB, free: 1.836 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000828/0.8817, allocations: 39.92 kB / 0.5768 GB, free: 1.797 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.582e-05/0.8818, allocations: 11.92 kB / 0.5768 GB, free: 1.785 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.95e-05/0.8819, allocations: 35.95 kB / 0.5768 GB, free: 1.75 MB / 394.7 MB Notification: Performance of sorting global known variables: time 5.305e-05/0.8819, allocations: 79.27 kB / 0.5769 GB, free: 1.672 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.8819, allocations: 0 / 0.5769 GB, free: 1.672 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002395/0.8843, allocations: 0.6325 MB / 0.5775 GB, free: 1.039 MB / 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.004522/0.8889, allocations: 350.6 kB / 0.5778 GB, free: 0.6836 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002291/0.8912, allocations: 479.2 kB / 0.5783 GB, free: 224 kB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.559e-06/0.8913, allocations: 0 / 0.5783 GB, free: 224 kB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001014/0.8923, allocations: 219.7 kB / 0.5785 GB, free: 4 kB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002806/0.8926, allocations: 24.3 kB / 0.5785 GB, free: 15.98 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004652/0.8972, allocations: 0.6161 MB / 0.5791 GB, free: 15.32 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002802/0.8976, allocations: 0.7045 MB / 0.5798 GB, free: 14.59 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005654/0.8982, allocations: 91.28 kB / 0.5799 GB, free: 14.5 MB / 410.7 MB Notification: Performance of SimCode: time 1.453e-06/0.8982, allocations: 0 / 0.5799 GB, free: 14.5 MB / 410.7 MB Notification: Performance of Templates: time 0.03909/0.9373, allocations: 17.45 MB / 0.5969 GB, free: 13.05 MB / 426.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches