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.001195/0.001195, allocations: 199.7 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.275/1.275, allocations: 227.2 MB / 245 MB, free: 5.762 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008565/0.0008565, allocations: 103 kB / 297.3 MB, free: 5.938 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3051/0.3051, allocations: 45.23 MB / 394.7 MB, free: 31.67 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002757/0.0002757, allocations: 8 kB / 468.4 MB, free: 7.684 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3078/0.3081, allocations: 63.25 MB / 0.5192 GB, free: 37.42 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5605/0.8686, allocations: 353.3 MB / 0.8642 GB, free: 11.3 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002415/0.8689, allocations: 98.05 kB / 0.8643 GB, free: 11.25 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.183/2.052, allocations: 311.5 MB / 1.169 GB, free: 88.86 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.683e-06/2.052, allocations: 0 / 1.169 GB, free: 88.86 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0002242/2.052, allocations: 43.89 kB / 1.169 GB, free: 88.85 MB / 0.5417 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.00778/2.06, allocations: 2.295 MB / 1.171 GB, free: 87.79 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.988e-05/2.06, allocations: 7.344 kB / 1.171 GB, free: 87.79 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001213/2.061, allocations: 209.3 kB / 1.171 GB, free: 87.69 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003537/2.065, allocations: 1.287 MB / 1.172 GB, free: 87.32 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000176/2.065, allocations: 187.2 kB / 1.172 GB, free: 87.22 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004896/2.066, allocations: 114.5 kB / 1.173 GB, free: 87.21 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003721/2.069, allocations: 1.951 MB / 1.174 GB, free: 86.98 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.861e-05/2.069, allocations: 0 / 1.174 GB, free: 86.98 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000246/2.07, allocations: 57.14 kB / 1.175 GB, free: 86.98 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001532/2.07, allocations: 116.6 kB / 1.175 GB, free: 86.98 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003185/2.073, allocations: 1.949 MB / 1.177 GB, free: 86.96 MB / 0.5417 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.01327/2.086, allocations: 7.008 MB / 1.183 GB, free: 84.68 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002196/2.088, allocations: 1.355 MB / 1.185 GB, free: 84.64 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007457/2.096, allocations: 4.43 MB / 1.189 GB, free: 82.29 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.516e-05/2.096, allocations: 49.06 kB / 1.189 GB, free: 82.25 MB / 0.5417 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00116/2.097, allocations: 221.5 kB / 1.189 GB, free: 82.18 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=117): time 9.508e-06/2.097, allocations: 0 / 1.189 GB, free: 82.18 MB / 0.5417 GB Notification: Performance of matching and sorting (n=132): time 0.01911/2.116, allocations: 6.397 MB / 1.196 GB, free: 81.46 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.844e-05/2.116, allocations: 224.8 kB / 1.196 GB, free: 81.21 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002113/2.119, allocations: 1.197 MB / 1.197 GB, free: 81.05 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0001987/2.119, allocations: 54.27 kB / 1.197 GB, free: 81.02 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004672/2.119, allocations: 0.6591 MB / 1.198 GB, free: 80.77 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003774/2.12, allocations: 453.1 kB / 1.198 GB, free: 80.48 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001416/2.12, allocations: 31.41 kB / 1.198 GB, free: 80.48 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001205/2.12, allocations: 367 kB / 1.198 GB, free: 80.18 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001255/2.121, allocations: 0.7652 MB / 1.199 GB, free: 80.18 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001408/2.123, allocations: 1.092 MB / 1.2 GB, free: 79.84 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001404/2.124, allocations: 0.8822 MB / 1.201 GB, free: 79.83 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.408e-05/2.124, allocations: 7.891 kB / 1.201 GB, free: 79.83 MB / 0.5417 GB Notification: Performance of matching and sorting (n=199) (initialization): time 0.004181/2.128, allocations: 2.437 MB / 1.203 GB, free: 79.68 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006003/2.129, allocations: 3.018 MB / 1.206 GB, free: 76.59 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.202e-05/2.129, allocations: 7.906 kB / 1.206 GB, free: 76.59 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007574/2.136, allocations: 1.488 MB / 1.208 GB, free: 76.58 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001599/2.138, allocations: 330.1 kB / 1.208 GB, free: 76.58 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002606/2.141, allocations: 1.705 MB / 1.21 GB, free: 76.04 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0021/2.143, allocations: 110.6 kB / 1.21 GB, free: 76.02 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003883/2.143, allocations: 75.7 kB / 1.21 GB, free: 76.02 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/2.143, allocations: 7.719 kB / 1.21 GB, free: 76.02 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003996/2.147, allocations: 2.127 MB / 1.212 GB, free: 75.98 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.581e-05/2.147, allocations: 13.3 kB / 1.212 GB, free: 75.98 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005544/2.153, allocations: 1.033 MB / 1.213 GB, free: 75.97 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001467/2.154, allocations: 350.9 kB / 1.213 GB, free: 75.97 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002014/2.156, allocations: 1.413 MB / 1.215 GB, free: 75.43 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001957/2.158, allocations: 105.8 kB / 1.215 GB, free: 75.43 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002933/2.159, allocations: 68.72 kB / 1.215 GB, free: 75.43 MB / 0.5417 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.001271/2.16, allocations: 487.1 kB / 1.215 GB, free: 75.23 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00058/2.161, allocations: 168.1 kB / 1.216 GB, free: 75.15 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005122/2.166, allocations: 2.521 MB / 1.218 GB, free: 75.02 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.704e-05/2.166, allocations: 15.5 kB / 1.218 GB, free: 75.02 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.828e-06/2.166, allocations: 0 / 1.218 GB, free: 75.02 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.783e-05/2.166, allocations: 11.16 kB / 1.218 GB, free: 75.02 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006981/2.173, allocations: 4.091 MB / 1.222 GB, free: 73.62 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.756e-06/2.173, allocations: 9.938 kB / 1.222 GB, free: 73.62 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001084/2.174, allocations: 227.8 kB / 1.222 GB, free: 73.61 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004694/2.179, allocations: 1.245 MB / 1.224 GB, free: 73.42 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001888/2.179, allocations: 46.97 kB / 1.224 GB, free: 73.4 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002214/2.181, allocations: 1.753 MB / 1.225 GB, free: 72.41 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/2.181, allocations: 7.156 kB / 1.225 GB, free: 72.41 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004848/2.186, allocations: 3.358 MB / 1.229 GB, free: 71.01 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001121/2.187, allocations: 456 kB / 1.229 GB, free: 70.72 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004174/2.187, allocations: 31.38 kB / 1.229 GB, free: 70.7 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001449/2.189, allocations: 107.2 kB / 1.229 GB, free: 70.68 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002515/2.189, allocations: 115.1 kB / 1.229 GB, free: 70.66 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001606/2.189, allocations: 61.05 kB / 1.229 GB, free: 70.65 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001482/2.191, allocations: 0.9125 MB / 1.23 GB, free: 70.29 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.5e-07/2.191, allocations: 0 / 1.23 GB, free: 70.29 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.004848/2.196, allocations: 1.444 MB / 1.232 GB, free: 69.93 MB / 0.5417 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.003723/2.199, allocations: 1.238 MB / 1.233 GB, free: 69.52 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.006931/2.206, allocations: 3.137 MB / 1.236 GB, free: 68.51 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.361e-05/2.206, allocations: 6.906 kB / 1.236 GB, free: 68.51 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.002168/2.209, allocations: 1.02 MB / 1.237 GB, free: 68.2 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003539/2.212, allocations: 0.704 MB / 1.238 GB, free: 68.06 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007143/2.219, allocations: 4.099 MB / 1.242 GB, free: 66.19 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000988/2.22, allocations: 1.414 MB / 1.243 GB, free: 65.43 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.002486/2.223, allocations: 0.6129 MB / 1.244 GB, free: 65.41 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005102/2.223, allocations: 152.2 kB / 1.244 GB, free: 65.39 MB / 0.5417 GB Notification: Performance of SimCode: time 2.806e-06/2.223, allocations: 0 / 1.244 GB, free: 65.39 MB / 0.5417 GB Notification: Performance of Templates: time 0.07288/2.296, allocations: 47.18 MB / 1.29 GB, free: 35.36 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/jenkins/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