Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001352/0.001352, allocations: 202.4 kB / 17.08 MB, free: 5.059 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.269/1.269, allocations: 227.2 MB / 245 MB, free: 5.891 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001054/0.001055, allocations: 94.83 kB / 297.3 MB, free: 5.984 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3818/0.3818, allocations: 45.24 MB / 394.7 MB, free: 31.72 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002945/0.0002945, allocations: 8 kB / 468.4 MB, free: 7.719 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3719/0.3722, allocations: 63.24 MB / 0.5192 GB, free: 37.65 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1189/0.4912, allocations: 86.71 MB / 0.6039 GB, free: 0.7578 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002625/0.4915, allocations: 63.97 kB / 0.6039 GB, free: 0.6953 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00965/0.5011, allocations: 3.049 MB / 0.6069 GB, free: 13.65 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.337e-06/0.5012, allocations: 0 / 0.6069 GB, free: 13.65 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.352e-05/0.5013, allocations: 4 kB / 0.6069 GB, free: 13.64 MB / 426.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.0004564/0.5017, allocations: 371.1 kB / 0.6073 GB, free: 13.23 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.042e-05/0.5018, allocations: 12.03 kB / 0.6073 GB, free: 13.22 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.635e-05/0.5019, allocations: 7.906 kB / 0.6073 GB, free: 13.21 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001815/0.5021, allocations: 171 kB / 0.6074 GB, free: 13.01 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.21e-05/0.5021, allocations: 7.938 kB / 0.6075 GB, free: 13 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.589e-05/0.5021, allocations: 8 kB / 0.6075 GB, free: 12.99 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001488/0.5023, allocations: 49.62 kB / 0.6075 GB, free: 12.94 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.56e-05/0.5023, allocations: 0 / 0.6075 GB, free: 12.94 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.685e-05/0.5023, allocations: 7.984 kB / 0.6075 GB, free: 12.93 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.5023, allocations: 0 / 0.6075 GB, free: 12.93 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.692e-05/0.5024, allocations: 23.98 kB / 0.6075 GB, free: 12.91 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002236/0.5027, allocations: 181.5 kB / 0.6077 GB, free: 12.68 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002371/0.5029, allocations: 54.55 kB / 0.6078 GB, free: 12.62 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002764/0.5032, allocations: 113.1 kB / 0.6079 GB, free: 12.49 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.994e-05/0.5032, allocations: 38.56 kB / 0.6079 GB, free: 12.44 MB / 426.7 MB Notification: Performance of pre-optimization done (n=9): time 1.432e-06/0.5032, allocations: 0 / 0.6079 GB, free: 12.44 MB / 426.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.1307/0.634, allocations: 6.313 MB / 0.6141 GB, free: 6.094 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.848e-05/0.6341, allocations: 55.39 kB / 0.6141 GB, free: 6.027 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.654e-05/0.6342, allocations: 93 kB / 0.6142 GB, free: 5.93 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.676e-05/0.6342, allocations: 33.64 kB / 0.6142 GB, free: 5.891 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.348e-05/0.6343, allocations: 84.14 kB / 0.6143 GB, free: 5.805 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.995e-05/0.6344, allocations: 74.98 kB / 0.6144 GB, free: 5.73 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.465e-05/0.6344, allocations: 0 / 0.6144 GB, free: 5.73 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001182/0.6345, allocations: 322.7 kB / 0.6147 GB, free: 5.406 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005277/0.6351, allocations: 243.8 kB / 0.6149 GB, free: 5.168 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005158/0.6356, allocations: 250 kB / 0.6152 GB, free: 4.926 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001047/0.6367, allocations: 291.8 kB / 0.6155 GB, free: 4.641 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.6367, allocations: 0 / 0.6155 GB, free: 4.641 MB / 426.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001759/0.6384, allocations: 0.6393 MB / 0.6161 GB, free: 3.996 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.151e-05/0.6385, allocations: 4 kB / 0.6161 GB, free: 3.992 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.6385, allocations: 0 / 0.6161 GB, free: 3.992 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.726e-05/0.6385, allocations: 4.453 kB / 0.6161 GB, free: 3.988 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007037/0.6392, allocations: 115.8 kB / 0.6162 GB, free: 3.875 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.02e-05/0.6392, allocations: 7.984 kB / 0.6162 GB, free: 3.867 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004942/0.6397, allocations: 31.97 kB / 0.6162 GB, free: 3.836 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.146e-05/0.6398, allocations: 35.89 kB / 0.6163 GB, free: 3.801 MB / 426.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.0001422/0.64, allocations: 125.7 kB / 0.6164 GB, free: 3.668 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.908e-05/0.64, allocations: 4 kB / 0.6164 GB, free: 3.664 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002136/0.6422, allocations: 0.7663 MB / 0.6171 GB, free: 2.887 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.642e-06/0.6422, allocations: 4.25 kB / 0.6171 GB, free: 2.883 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.6422, allocations: 0 / 0.6171 GB, free: 2.883 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.396e-06/0.6422, allocations: 7.984 kB / 0.6172 GB, free: 2.875 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004192/0.6464, allocations: 1.216 MB / 0.6183 GB, free: 1.582 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.6464, allocations: 4 kB / 0.6183 GB, free: 1.578 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005749/0.647, allocations: 107.8 kB / 0.6184 GB, free: 1.473 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.414e-06/0.647, allocations: 4 kB / 0.6185 GB, free: 1.469 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.125e-05/0.6471, allocations: 32.14 kB / 0.6185 GB, free: 1.438 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.969e-06/0.6471, allocations: 4 kB / 0.6185 GB, free: 1.434 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.656e-06/0.6471, allocations: 0 / 0.6185 GB, free: 1.434 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001649/0.6488, allocations: 0.6819 MB / 0.6192 GB, free: 0.6797 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.441e-05/0.6488, allocations: 85.02 kB / 0.6192 GB, free: 0.5781 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.015e-05/0.6489, allocations: 11.98 kB / 0.6192 GB, free: 0.5664 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000465/0.6493, allocations: 35.92 kB / 0.6193 GB, free: 0.5312 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.556e-05/0.6494, allocations: 11.98 kB / 0.6193 GB, free: 0.5195 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.962e-05/0.6494, allocations: 31.95 kB / 0.6193 GB, free: 500 kB / 426.7 MB Notification: Performance of sorting global known variables: time 4.111e-05/0.6495, allocations: 83.27 kB / 0.6194 GB, free: 416 kB / 426.7 MB Notification: Performance of sort global known variables: time 2e-07/0.6495, allocations: 4 kB / 0.6194 GB, free: 412 kB / 426.7 MB Notification: Performance of remove unused functions: time 0.001786/0.6513, allocations: 0.6169 MB / 0.62 GB, free: 15.78 MB / 442.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.003123/0.6544, allocations: 355.5 kB / 0.6203 GB, free: 15.43 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001134/0.6556, allocations: 483.5 kB / 0.6208 GB, free: 14.95 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.6556, allocations: 0 / 0.6208 GB, free: 14.95 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000498/0.6561, allocations: 216.1 kB / 0.621 GB, free: 14.74 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000181/0.6563, allocations: 11.89 kB / 0.621 GB, free: 14.73 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002467/0.6587, allocations: 0.5928 MB / 0.6216 GB, free: 14.09 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002438/0.659, allocations: 0.7046 MB / 0.6223 GB, free: 13.36 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0005213/0.6595, allocations: 124.9 kB / 0.6224 GB, free: 13.23 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002961/0.6598, allocations: 83.3 kB / 0.6225 GB, free: 13.15 MB / 442.7 MB Notification: Performance of SimCode: time 2.1e-07/0.6598, allocations: 0 / 0.6225 GB, free: 13.15 MB / 442.7 MB Notification: Performance of Templates: time 0.03462/0.6945, allocations: 20.26 MB / 0.6423 GB, free: 8.949 MB / 458.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/TestRegRoot2Derivatives/TestRegRoot2Derivatives.csv","../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches