Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve.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.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_3.2.3_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_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000927/0.000927, allocations: 182.8 kB / 13.19 MB, free: 2.129 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.184/1.184, allocations: 205.2 MB / 218.9 MB, free: 9.207 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.0007962/0.0007962, allocations: 93.97 kB / 267.1 MB, free: 9.273 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.3178/0.3178, allocations: 43.47 MB / 358.6 MB, free: 51.6 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.121e-05/3.123e-05, allocations: 8 kB / 425.3 MB, free: 8.203 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09943/0.09947, allocations: 58.84 MB / 484.2 MB, free: 13.25 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8016/0.9012, allocations: 351.4 MB / 0.816 GB, free: 57.59 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002399/0.9015, allocations: 83.64 kB / 0.8161 GB, free: 57.55 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.131/2.033, allocations: 305.8 MB / 1.115 GB, free: 59.96 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.733e-06/2.033, allocations: 0 / 1.115 GB, free: 59.96 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001591/2.033, allocations: 45.22 kB / 1.115 GB, free: 59.95 MB / 0.4948 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.006713/2.04, allocations: 2.062 MB / 1.117 GB, free: 59.07 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.642e-05/2.04, allocations: 9.969 kB / 1.117 GB, free: 59.07 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001028/2.041, allocations: 202.5 kB / 1.117 GB, free: 58.98 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003327/2.044, allocations: 1.273 MB / 1.118 GB, free: 58.63 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001559/2.044, allocations: 182.5 kB / 1.118 GB, free: 58.53 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000253/2.045, allocations: 119.1 kB / 1.119 GB, free: 58.53 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003743/2.048, allocations: 1.927 MB / 1.12 GB, free: 58.29 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.554e-05/2.048, allocations: 1.062 kB / 1.12 GB, free: 58.29 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001784/2.049, allocations: 50.34 kB / 1.12 GB, free: 58.29 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002079/2.049, allocations: 111.1 kB / 1.121 GB, free: 58.29 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003031/2.052, allocations: 1.893 MB / 1.122 GB, free: 58.27 MB / 0.4948 GB Warning: The model contains alias variables with conflicting start and/or 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.01164/2.064, allocations: 7.004 MB / 1.129 GB, free: 56 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001908/2.065, allocations: 1.315 MB / 1.131 GB, free: 55.97 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001075/2.067, allocations: 0.7802 MB / 1.131 GB, free: 55.96 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005762/2.072, allocations: 4.497 MB / 1.136 GB, free: 53.59 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.777e-05/2.072, allocations: 52.06 kB / 1.136 GB, free: 53.55 MB / 0.4948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00102/2.073, allocations: 221.6 kB / 1.136 GB, free: 53.49 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=117): time 3.296e-06/2.073, allocations: 0 / 1.136 GB, free: 53.49 MB / 0.4948 GB Notification: Performance of matching and sorting (n=132): time 0.007979/2.081, allocations: 4.369 MB / 1.14 GB, free: 52.88 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.459e-05/2.082, allocations: 221.1 kB / 1.14 GB, free: 52.63 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001402/2.083, allocations: 1.189 MB / 1.142 GB, free: 52.46 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001143/2.083, allocations: 55.67 kB / 1.142 GB, free: 52.43 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003795/2.083, allocations: 0.6511 MB / 1.142 GB, free: 52.19 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002731/2.084, allocations: 459.7 kB / 1.143 GB, free: 51.91 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.332e-05/2.084, allocations: 30.19 kB / 1.143 GB, free: 51.91 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 8.486e-05/2.084, allocations: 367.3 kB / 1.143 GB, free: 51.6 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009511/2.085, allocations: 0.7344 MB / 1.144 GB, free: 51.6 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001193/2.086, allocations: 1.063 MB / 1.145 GB, free: 51.26 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001239/2.087, allocations: 0.8564 MB / 1.146 GB, free: 51.24 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.282e-06/2.087, allocations: 3.781 kB / 1.146 GB, free: 51.24 MB / 0.4948 GB Notification: Performance of matching and sorting (n=199) (initialization): time 0.003619/2.091, allocations: 2.389 MB / 1.148 GB, free: 51.08 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005468/2.092, allocations: 3.021 MB / 1.151 GB, free: 48 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.509e-05/2.092, allocations: 10.91 kB / 1.151 GB, free: 48 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006663/2.098, allocations: 1.467 MB / 1.152 GB, free: 47.98 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001537/2.1, allocations: 331.8 kB / 1.153 GB, free: 47.98 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002408/2.102, allocations: 1.692 MB / 1.154 GB, free: 47.43 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001846/2.104, allocations: 113.7 kB / 1.154 GB, free: 47.42 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001875/2.104, allocations: 72.91 kB / 1.155 GB, free: 47.42 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.225e-05/2.104, allocations: 3.625 kB / 1.155 GB, free: 47.42 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003058/2.107, allocations: 2.078 MB / 1.157 GB, free: 47.38 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.892e-05/2.107, allocations: 7.906 kB / 1.157 GB, free: 47.38 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004616/2.112, allocations: 1.032 MB / 1.158 GB, free: 47.37 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001192/2.113, allocations: 348.5 kB / 1.158 GB, free: 47.37 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001688/2.115, allocations: 1.416 MB / 1.159 GB, free: 46.83 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001584/2.117, allocations: 106.2 kB / 1.159 GB, free: 46.82 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001506/2.117, allocations: 75.53 kB / 1.159 GB, free: 46.82 MB / 0.4948 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 () * 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.0004479/2.117, allocations: 201.2 kB / 1.16 GB, free: 46.71 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002929/2.117, allocations: 162.2 kB / 1.16 GB, free: 46.62 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004111/2.122, allocations: 2.464 MB / 1.162 GB, free: 46.5 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.602e-05/2.122, allocations: 19.02 kB / 1.162 GB, free: 46.5 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/2.122, allocations: 0 / 1.162 GB, free: 46.5 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.504e-05/2.122, allocations: 9.844 kB / 1.162 GB, free: 46.5 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005436/2.127, allocations: 4.024 MB / 1.166 GB, free: 46.11 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.402e-06/2.127, allocations: 0 / 1.166 GB, free: 46.11 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009472/2.128, allocations: 234 kB / 1.166 GB, free: 46.11 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004337/2.132, allocations: 1.232 MB / 1.168 GB, free: 46.09 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001339/2.133, allocations: 46.61 kB / 1.168 GB, free: 46.06 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00199/2.135, allocations: 1.737 MB / 1.169 GB, free: 45.1 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/2.135, allocations: 3.844 kB / 1.169 GB, free: 45.1 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004353/2.139, allocations: 3.27 MB / 1.173 GB, free: 43.74 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001103/2.14, allocations: 465.3 kB / 1.173 GB, free: 43.45 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005091/2.141, allocations: 34.83 kB / 1.173 GB, free: 43.43 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001486/2.142, allocations: 103 kB / 1.173 GB, free: 43.4 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002317/2.142, allocations: 121.4 kB / 1.173 GB, free: 43.38 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001475/2.142, allocations: 54.53 kB / 1.173 GB, free: 43.37 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.001691/2.144, allocations: 0.9022 MB / 1.174 GB, free: 43 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.1e-07/2.144, allocations: 1.031 kB / 1.174 GB, free: 43 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.005206/2.149, allocations: 1.434 MB / 1.176 GB, free: 42.65 MB / 0.4948 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 () * 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.004782/2.154, allocations: 1.228 MB / 1.177 GB, free: 42.27 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0073/2.161, allocations: 3.097 MB / 1.18 GB, free: 41.23 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 7.774e-06/2.161, allocations: 6.844 kB / 1.18 GB, free: 41.23 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001852/2.163, allocations: 0.9939 MB / 1.181 GB, free: 40.92 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003516/2.167, allocations: 0.6885 MB / 1.181 GB, free: 40.78 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005586/2.172, allocations: 2.829 MB / 1.184 GB, free: 39.79 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009832/2.173, allocations: 1.414 MB / 1.186 GB, free: 39.02 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.002728/2.176, allocations: 0.7339 MB / 1.186 GB, free: 38.99 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003705/2.177, allocations: 127.5 kB / 1.186 GB, free: 38.97 MB / 0.4948 GB Notification: Performance of SimCode: time 8.72e-07/2.177, allocations: 3.75 kB / 1.186 GB, free: 38.97 MB / 0.4948 GB Notification: Performance of Templates: time 0.068/2.245, allocations: 49.99 MB / 1.235 GB, free: 17.48 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Valves/TestDelayedValve/TestDelayedValve.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches