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.0009405/0.0009404, allocations: 198.1 kB / 8.767 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.328/1.328, allocations: 225.6 MB / 234.8 MB, free: 3.266 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008807/0.0008807, allocations: 95.92 kB / 286.7 MB, free: 5.254 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1816/0.1816, allocations: 45.14 MB / 383.8 MB, free: 288 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.632e-05/1.642e-05, allocations: 7.938 kB / 453.2 MB, free: 75.83 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09271/0.09274, allocations: 63.25 MB / 0.5044 GB, free: 12.64 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3578/0.4506, allocations: 85.97 MB / 0.5883 GB, free: 0.6055 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001629/0.4508, allocations: 72.52 kB / 0.5884 GB, free: 0.5664 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008505/0.4593, allocations: 3.02 MB / 0.5913 GB, free: 14.07 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.226e-06/0.4594, allocations: 0 / 0.5913 GB, free: 14.07 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.951e-06/0.4594, allocations: 3.938 kB / 0.5913 GB, free: 14.07 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.0003418/0.4597, allocations: 369.8 kB / 0.5917 GB, free: 13.67 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.889e-05/0.4598, allocations: 8.031 kB / 0.5917 GB, free: 13.66 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.141e-05/0.4598, allocations: 7.906 kB / 0.5917 GB, free: 13.66 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001214/0.4599, allocations: 167 kB / 0.5919 GB, free: 13.45 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.347e-05/0.4599, allocations: 4 kB / 0.5919 GB, free: 13.45 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.518e-05/0.46, allocations: 4 kB / 0.5919 GB, free: 13.45 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.608e-05/0.4601, allocations: 23.86 kB / 0.5919 GB, free: 13.43 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.177e-05/0.4602, allocations: 49.44 kB / 0.5919 GB, free: 13.38 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.4602, allocations: 0 / 0.5919 GB, free: 13.38 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.797e-06/0.4602, allocations: 0 / 0.5919 GB, free: 13.38 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.4602, allocations: 4 kB / 0.5919 GB, free: 13.37 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001522/0.4604, allocations: 149.8 kB / 0.5921 GB, free: 13.2 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002031/0.4606, allocations: 54.25 kB / 0.5921 GB, free: 13.14 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.933e-05/0.4606, allocations: 20.67 kB / 0.5922 GB, free: 13.12 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002195/0.4609, allocations: 105.4 kB / 0.5923 GB, free: 13 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.368e-05/0.4609, allocations: 42.36 kB / 0.5923 GB, free: 12.95 MB / 394.7 MB Notification: Performance of pre-optimization done (n=9): time 1.142e-06/0.4609, allocations: 4 kB / 0.5923 GB, free: 12.95 MB / 394.7 MB Notification: Performance of matching and sorting (n=19): time 0.1181/0.579, allocations: 5.45 MB / 0.5976 GB, free: 7.684 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.031e-05/0.5791, allocations: 51.41 kB / 0.5977 GB, free: 7.621 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.959e-05/0.5792, allocations: 92.56 kB / 0.5978 GB, free: 7.527 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.363e-05/0.5792, allocations: 25.7 kB / 0.5978 GB, free: 7.496 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.683e-05/0.5793, allocations: 88.14 kB / 0.5979 GB, free: 7.406 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.087e-05/0.5794, allocations: 65.53 kB / 0.5979 GB, free: 7.352 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.581e-05/0.5794, allocations: 3.938 kB / 0.5979 GB, free: 7.348 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001068/0.5795, allocations: 314.1 kB / 0.5982 GB, free: 7.035 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000249/0.5798, allocations: 186.8 kB / 0.5984 GB, free: 6.93 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002145/0.58, allocations: 189.7 kB / 0.5986 GB, free: 6.824 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009454/0.581, allocations: 278.3 kB / 0.5989 GB, free: 6.625 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.581, allocations: 4.188 kB / 0.5989 GB, free: 6.621 MB / 394.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001361/0.5823, allocations: 0.5673 MB / 0.5994 GB, free: 6.199 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/0.5824, allocations: 11.94 kB / 0.5994 GB, free: 6.188 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.5824, allocations: 3.984 kB / 0.5994 GB, free: 6.184 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.587e-05/0.5824, allocations: 4 kB / 0.5994 GB, free: 6.18 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006131/0.583, allocations: 111.8 kB / 0.5995 GB, free: 6.07 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.583, allocations: 0 / 0.5995 GB, free: 6.07 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004128/0.5835, allocations: 43.56 kB / 0.5996 GB, free: 6.031 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.538e-05/0.5835, allocations: 31.94 kB / 0.5996 GB, free: 6 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 () * 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.0001367/0.5837, allocations: 108.9 kB / 0.5997 GB, free: 5.887 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.611e-05/0.5837, allocations: 7.906 kB / 0.5997 GB, free: 5.879 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001714/0.5854, allocations: 0.6806 MB / 0.6004 GB, free: 5.352 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.5855, allocations: 0 / 0.6004 GB, free: 5.352 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.5855, allocations: 4 kB / 0.6004 GB, free: 5.348 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.5855, allocations: 0 / 0.6004 GB, free: 5.348 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0034/0.5889, allocations: 1.138 MB / 0.6015 GB, free: 4.25 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.5889, allocations: 256 / 0.6015 GB, free: 4.25 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005199/0.5894, allocations: 115.8 kB / 0.6016 GB, free: 4.141 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.582e-06/0.5894, allocations: 8 kB / 0.6016 GB, free: 4.133 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.43e-05/0.5895, allocations: 23.95 kB / 0.6017 GB, free: 4.109 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.122e-06/0.5895, allocations: 7.953 kB / 0.6017 GB, free: 4.102 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.095e-06/0.5895, allocations: 0 / 0.6017 GB, free: 4.102 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001304/0.5908, allocations: 0.6104 MB / 0.6023 GB, free: 3.496 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.11e-05/0.5909, allocations: 89 kB / 0.6023 GB, free: 3.391 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.244e-05/0.5909, allocations: 4 kB / 0.6023 GB, free: 3.387 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003779/0.5913, allocations: 31.91 kB / 0.6024 GB, free: 3.355 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.29e-05/0.5913, allocations: 11.94 kB / 0.6024 GB, free: 3.344 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.757e-05/0.5914, allocations: 35.77 kB / 0.6024 GB, free: 3.312 MB / 394.7 MB Notification: Performance of sorting global known variables: time 3.615e-05/0.5914, allocations: 83.27 kB / 0.6025 GB, free: 3.23 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5914, allocations: 0 / 0.6025 GB, free: 3.23 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001494/0.5929, allocations: 0.6239 MB / 0.6031 GB, free: 2.609 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 () * 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.002452/0.5954, allocations: 334.5 kB / 0.6034 GB, free: 2.277 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005133/0.5959, allocations: 362.4 kB / 0.6038 GB, free: 2.047 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.5959, allocations: 0 / 0.6038 GB, free: 2.047 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002267/0.5962, allocations: 162.7 kB / 0.6039 GB, free: 1.926 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001571/0.5963, allocations: 7.953 kB / 0.6039 GB, free: 1.918 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001788/0.5981, allocations: 449.9 kB / 0.6044 GB, free: 1.48 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002467/0.5984, allocations: 0.7081 MB / 0.6051 GB, free: 0.7461 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0005219/0.5989, allocations: 128.9 kB / 0.6052 GB, free: 0.6172 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002807/0.5992, allocations: 86.92 kB / 0.6053 GB, free: 0.5352 MB / 394.7 MB Notification: Performance of SimCode: time 2.2e-07/0.5992, allocations: 0 / 0.6053 GB, free: 0.5352 MB / 394.7 MB Notification: Performance of Templates: time 0.0289/0.6281, allocations: 20.5 MB / 0.6253 GB, free: 12.09 MB / 426.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