Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve.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.TestComponents.Valves.TestDelayedValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tank1.level|tank1.medium.T|tank2.level|tank2.medium.T|tank3.level|tank3.medium.T|valveDelayed.filter.x.1.|valveDelayed.filter.x.2.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve") translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tank1.level|tank1.medium.T|tank2.level|tank2.medium.T|tank3.level|tank3.medium.T|valveDelayed.filter.x.1.|valveDelayed.filter.x.2.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001003/0.001003, allocations: 200.5 kB / 18.11 MB, free: 3.734 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.371/1.371, allocations: 226.5 MB / 245.4 MB, free: 6.473 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007981/0.000798, allocations: 91.8 kB / 297.5 MB, free: 6.68 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3485/0.3485, allocations: 44.82 MB / 394.3 MB, free: 35.66 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003087/0.0003088, allocations: 8 kB / 467.9 MB, free: 12.05 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3962/0.3965, allocations: 62.97 MB / 0.5184 GB, free: 37.51 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6838/1.08, allocations: 353.4 MB / 0.8635 GB, free: 324 kB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003015/1.081, allocations: 99.11 kB / 0.8636 GB, free: 268 kB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.359/2.44, allocations: 309.6 MB / 1.166 GB, free: 83.64 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.976e-06/2.44, allocations: 0 / 1.166 GB, free: 83.64 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0002989/2.44, allocations: 46.02 kB / 1.166 GB, free: 83.62 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 291 * Number of variables: 291 Notification: Performance of Generate backend data structure: time 0.009885/2.45, allocations: 2.274 MB / 1.168 GB, free: 82.42 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.567e-05/2.45, allocations: 7.812 kB / 1.168 GB, free: 82.42 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001704/2.452, allocations: 202.9 kB / 1.168 GB, free: 82.32 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004491/2.456, allocations: 1.32 MB / 1.17 GB, free: 81.91 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002723/2.456, allocations: 185.9 kB / 1.17 GB, free: 81.81 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007886/2.457, allocations: 118.5 kB / 1.17 GB, free: 81.81 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005444/2.463, allocations: 1.965 MB / 1.172 GB, free: 81.57 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.27e-05/2.463, allocations: 3.906 kB / 1.172 GB, free: 81.57 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000454/2.463, allocations: 54.94 kB / 1.172 GB, free: 81.57 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001977/2.464, allocations: 114.4 kB / 1.172 GB, free: 81.56 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004012/2.468, allocations: 1.958 MB / 1.174 GB, free: 81.55 MB / 0.5261 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01474/2.482, allocations: 6.948 MB / 1.181 GB, free: 79.27 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002254/2.485, allocations: 1.365 MB / 1.182 GB, free: 79.23 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001322/2.486, allocations: 0.8121 MB / 1.183 GB, free: 79.22 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007311/2.493, allocations: 4.401 MB / 1.187 GB, free: 76.48 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.615e-05/2.493, allocations: 55.81 kB / 1.187 GB, free: 76.43 MB / 0.5261 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001278/2.495, allocations: 224.9 kB / 1.187 GB, free: 76.34 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=117): time 9.317e-06/2.495, allocations: 0 / 1.187 GB, free: 76.34 MB / 0.5261 GB Notification: Performance of matching and sorting (n=132): time 0.02273/2.517, allocations: 6.56 MB / 1.194 GB, free: 74.15 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001145/2.518, allocations: 220 kB / 1.194 GB, free: 73.9 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003115/2.521, allocations: 1.364 MB / 1.195 GB, free: 73.37 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0003266/2.521, allocations: 52.8 kB / 1.195 GB, free: 73.32 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007241/2.522, allocations: 0.6502 MB / 1.196 GB, free: 72.8 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006845/2.523, allocations: 462.1 kB / 1.196 GB, free: 72.45 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002329/2.523, allocations: 27.84 kB / 1.197 GB, free: 72.43 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002799/2.523, allocations: 365.5 kB / 1.197 GB, free: 72.1 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001926/2.525, allocations: 0.7652 MB / 1.198 GB, free: 71.82 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002062/2.527, allocations: 1.095 MB / 1.199 GB, free: 71.19 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003579/2.531, allocations: 1.828 MB / 1.2 GB, free: 70.26 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.77e-05/2.531, allocations: 0 / 1.2 GB, free: 70.26 MB / 0.5261 GB Notification: Performance of matching and sorting (n=199) (initialization): time 0.006147/2.537, allocations: 2.447 MB / 1.203 GB, free: 69.34 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003438/2.537, allocations: 314.3 kB / 1.203 GB, free: 68.96 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-05/2.537, allocations: 14.88 kB / 1.203 GB, free: 68.96 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007658/2.545, allocations: 1.494 MB / 1.205 GB, free: 68.79 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002047/2.547, allocations: 332.6 kB / 1.205 GB, free: 68.77 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004349/2.552, allocations: 1.703 MB / 1.207 GB, free: 67.81 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003261/2.555, allocations: 109.7 kB / 1.207 GB, free: 67.77 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000784/2.556, allocations: 75.08 kB / 1.207 GB, free: 67.76 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.412e-05/2.556, allocations: 3.969 kB / 1.207 GB, free: 67.76 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0068/2.563, allocations: 2.138 MB / 1.209 GB, free: 66.96 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.945e-05/2.563, allocations: 9.781 kB / 1.209 GB, free: 66.96 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005218/2.568, allocations: 1.029 MB / 1.21 GB, free: 66.83 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001809/2.57, allocations: 344.8 kB / 1.21 GB, free: 66.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002457/2.572, allocations: 1.435 MB / 1.212 GB, free: 65.95 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002517/2.575, allocations: 101.5 kB / 1.212 GB, free: 65.91 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006127/2.575, allocations: 78.83 kB / 1.212 GB, free: 65.9 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 6 (tank1.regularFlow[1],tank1.inFlow[1],tank2.regularFlow[1],tank2.inFlow[1],tank3.regularFlow[1],tank3.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (165): * Single equations (assignments): 162 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {10 23} Notification: Performance of prepare postOptimizeDAE: time 0.002247/2.578, allocations: 484.9 kB / 1.212 GB, free: 65.56 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001081/2.579, allocations: 172.6 kB / 1.212 GB, free: 65.48 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007843/2.587, allocations: 2.511 MB / 1.215 GB, free: 64.54 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.454e-05/2.587, allocations: 15.06 kB / 1.215 GB, free: 64.54 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.959e-05/2.587, allocations: 7.875 kB / 1.215 GB, free: 64.54 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-05/2.587, allocations: 6.844 kB / 1.215 GB, free: 64.54 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009631/2.596, allocations: 4.064 MB / 1.219 GB, free: 62.85 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.003e-05/2.596, allocations: 2.656 kB / 1.219 GB, free: 62.85 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001136/2.598, allocations: 234.7 kB / 1.219 GB, free: 62.83 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00471/2.602, allocations: 1.242 MB / 1.22 GB, free: 62.64 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002745/2.603, allocations: 43.33 kB / 1.22 GB, free: 62.62 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00256/2.605, allocations: 1.767 MB / 1.222 GB, free: 61.12 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/2.605, allocations: 3.938 kB / 1.222 GB, free: 61.11 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006135/2.611, allocations: 3.354 MB / 1.225 GB, free: 58.14 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001491/2.613, allocations: 453.8 kB / 1.226 GB, free: 57.75 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006198/2.614, allocations: 32 kB / 1.226 GB, free: 57.71 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001714/2.615, allocations: 103.2 kB / 1.226 GB, free: 57.64 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003156/2.616, allocations: 119.8 kB / 1.226 GB, free: 57.57 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001928/2.616, allocations: 58.55 kB / 1.226 GB, free: 57.52 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001836/2.618, allocations: 0.914 MB / 1.227 GB, free: 56.75 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.5e-07/2.618, allocations: 3.938 kB / 1.227 GB, free: 56.75 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.006513/2.624, allocations: 1.443 MB / 1.228 GB, free: 55.34 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (tank1.medium.T,tank1.level,tank2.medium.T,tank2.level,tank3.medium.T,tank3.level,valveDelayed.filter.x[1],valveDelayed.filter.x[2]) * Number of discrete variables: 6 (tank1.regularFlow[1],tank1.inFlow[1],tank2.regularFlow[1],tank2.inFlow[1],tank3.regularFlow[1],tank3.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (116): * Single equations (assignments): 113 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {10 38} Notification: Performance of Backend phase and start with SimCode phase: time 0.00504/2.629, allocations: 1.241 MB / 1.23 GB, free: 54.38 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.009018/2.638, allocations: 3.131 MB / 1.233 GB, free: 51.66 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.748e-05/2.638, allocations: 7.938 kB / 1.233 GB, free: 51.66 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002585/2.641, allocations: 1.017 MB / 1.234 GB, free: 50.78 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005267/2.646, allocations: 0.7135 MB / 1.234 GB, free: 50.28 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009243/2.656, allocations: 4.106 MB / 1.238 GB, free: 46.72 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001517/2.657, allocations: 1.377 MB / 1.24 GB, free: 45.54 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.003301/2.661, allocations: 0.6107 MB / 1.24 GB, free: 45.12 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006232/2.661, allocations: 148.3 kB / 1.24 GB, free: 45 MB / 0.5261 GB Notification: Performance of SimCode: time 1.472e-06/2.661, allocations: 0 / 1.24 GB, free: 45 MB / 0.5261 GB Notification: Performance of Templates: time 0.07667/2.738, allocations: 48.33 MB / 1.288 GB, free: 15.09 MB / 0.5417 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Valves/TestDelayedValve/TestDelayedValve.csv","../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches