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.001106/0.001106, allocations: 184.3 kB / 15.76 MB, free: 6.367 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.448/1.448, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.000879/0.0008789, allocations: 102.8 kB / 270.2 MB, free: 13.35 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2179/0.2179, allocations: 43.57 MB / 362.1 MB, free: 11.29 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003234/0.0003232, allocations: 8 kB / 431.4 MB, free: 19.59 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1384/0.1387, allocations: 58.87 MB / 490.3 MB, free: 8.66 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.052/1.19, allocations: 351.5 MB / 0.8221 GB, free: 69.43 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005034/1.191, allocations: 84.52 kB / 0.8221 GB, free: 69.38 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.391/2.582, allocations: 306.8 MB / 1.122 GB, free: 71 MB / 0.4948 GB Notification: Performance of FrontEnd: time 5.63e-06/2.582, allocations: 0 / 1.122 GB, free: 71 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0002474/2.582, allocations: 43.48 kB / 1.122 GB, free: 70.99 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.01094/2.593, allocations: 2.287 MB / 1.124 GB, free: 70.01 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.761e-05/2.593, allocations: 7.75 kB / 1.124 GB, free: 70.01 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001416/2.595, allocations: 205.5 kB / 1.124 GB, free: 69.92 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003669/2.599, allocations: 1.286 MB / 1.125 GB, free: 69.57 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001694/2.599, allocations: 186.9 kB / 1.126 GB, free: 69.46 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002801/2.599, allocations: 109.2 kB / 1.126 GB, free: 69.46 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0033/2.602, allocations: 1.955 MB / 1.128 GB, free: 69.23 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.473e-05/2.602, allocations: 7.25 kB / 1.128 GB, free: 69.23 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001722/2.603, allocations: 52.53 kB / 1.128 GB, free: 69.23 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001599/2.603, allocations: 112.7 kB / 1.128 GB, free: 69.23 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002889/2.606, allocations: 1.95 MB / 1.13 GB, free: 69.21 MB / 0.4948 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.01359/2.619, allocations: 7 MB / 1.137 GB, free: 66.95 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002451/2.622, allocations: 1.353 MB / 1.138 GB, free: 66.92 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007542/2.629, allocations: 4.433 MB / 1.142 GB, free: 64.57 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.83e-05/2.629, allocations: 50.31 kB / 1.142 GB, free: 64.54 MB / 0.4948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001199/2.631, allocations: 219.5 kB / 1.142 GB, free: 64.47 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=117): time 1.207e-05/2.631, allocations: 0 / 1.142 GB, free: 64.47 MB / 0.4948 GB Notification: Performance of matching and sorting (n=132): time 0.02097/2.652, allocations: 6.393 MB / 1.149 GB, free: 63.75 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001206/2.652, allocations: 227.9 kB / 1.149 GB, free: 63.5 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003018/2.655, allocations: 1.198 MB / 1.15 GB, free: 63.34 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002739/2.655, allocations: 55.77 kB / 1.15 GB, free: 63.31 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007195/2.656, allocations: 0.6534 MB / 1.151 GB, free: 63.07 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005184/2.656, allocations: 456.1 kB / 1.151 GB, free: 62.78 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001729/2.657, allocations: 30.97 kB / 1.151 GB, free: 62.78 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001637/2.657, allocations: 371.8 kB / 1.152 GB, free: 62.48 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001429/2.658, allocations: 0.7641 MB / 1.152 GB, free: 62.47 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00158/2.66, allocations: 1.087 MB / 1.153 GB, free: 62.14 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001585/2.661, allocations: 0.8876 MB / 1.154 GB, free: 62.12 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.678e-05/2.661, allocations: 3.375 kB / 1.154 GB, free: 62.12 MB / 0.4948 GB Notification: Performance of matching and sorting (n=199) (initialization): time 0.004982/2.666, allocations: 2.439 MB / 1.157 GB, free: 61.97 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009282/2.667, allocations: 3.022 MB / 1.16 GB, free: 58.89 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.469e-05/2.667, allocations: 6.062 kB / 1.16 GB, free: 58.89 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008067/2.676, allocations: 1.491 MB / 1.161 GB, free: 58.87 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001846/2.677, allocations: 328.5 kB / 1.161 GB, free: 58.87 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003232/2.681, allocations: 1.704 MB / 1.163 GB, free: 58.32 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002546/2.683, allocations: 107 kB / 1.163 GB, free: 58.31 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004633/2.684, allocations: 72.84 kB / 1.163 GB, free: 58.31 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/2.684, allocations: 9.031 kB / 1.163 GB, free: 58.31 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004835/2.689, allocations: 2.134 MB / 1.165 GB, free: 58.27 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.644e-05/2.689, allocations: 11.67 kB / 1.165 GB, free: 58.27 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005734/2.694, allocations: 1.032 MB / 1.166 GB, free: 58.26 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001832/2.696, allocations: 355.7 kB / 1.167 GB, free: 58.25 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002214/2.699, allocations: 1.42 MB / 1.168 GB, free: 57.71 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002255/2.701, allocations: 105.9 kB / 1.168 GB, free: 57.7 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004225/2.701, allocations: 72.47 kB / 1.168 GB, free: 57.7 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 () * 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.001633/2.703, allocations: 490.7 kB / 1.169 GB, free: 57.51 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007907/2.704, allocations: 169.1 kB / 1.169 GB, free: 57.43 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00637/2.71, allocations: 2.523 MB / 1.171 GB, free: 57.3 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.943e-05/2.71, allocations: 18.25 kB / 1.171 GB, free: 57.3 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.292e-05/2.71, allocations: 0 / 1.171 GB, free: 57.3 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-05/2.71, allocations: 7.688 kB / 1.171 GB, free: 57.3 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009761/2.72, allocations: 4.08 MB / 1.175 GB, free: 56.91 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.196e-05/2.72, allocations: 6.625 kB / 1.175 GB, free: 56.91 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00117/2.721, allocations: 225.5 kB / 1.176 GB, free: 56.91 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004707/2.726, allocations: 1.247 MB / 1.177 GB, free: 56.89 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002207/2.726, allocations: 47.14 kB / 1.177 GB, free: 56.89 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002383/2.729, allocations: 1.751 MB / 1.179 GB, free: 56.35 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/2.729, allocations: 9.188 kB / 1.179 GB, free: 56.35 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005492/2.734, allocations: 3.365 MB / 1.182 GB, free: 55.4 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001486/2.736, allocations: 451.8 kB / 1.182 GB, free: 55.12 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005755/2.736, allocations: 30.59 kB / 1.182 GB, free: 55.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001719/2.738, allocations: 110.5 kB / 1.182 GB, free: 55.07 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002714/2.738, allocations: 114.9 kB / 1.182 GB, free: 55.05 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001903/2.738, allocations: 62.8 kB / 1.183 GB, free: 55.04 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.001775/2.74, allocations: 0.9127 MB / 1.183 GB, free: 54.68 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5.71e-07/2.74, allocations: 0 / 1.183 GB, free: 54.68 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.005815/2.746, allocations: 1.432 MB / 1.185 GB, free: 54.33 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 () * 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.0043/2.75, allocations: 1.238 MB / 1.186 GB, free: 53.92 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.007275/2.758, allocations: 3.133 MB / 1.189 GB, free: 52.91 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.043e-05/2.758, allocations: 3.812 kB / 1.189 GB, free: 52.91 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.002283/2.76, allocations: 1.029 MB / 1.19 GB, free: 52.59 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004474/2.764, allocations: 0.6878 MB / 1.191 GB, free: 52.44 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008125/2.773, allocations: 4.102 MB / 1.195 GB, free: 50.57 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001186/2.774, allocations: 1.415 MB / 1.196 GB, free: 49.8 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.00301/2.777, allocations: 0.6113 MB / 1.197 GB, free: 49.76 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005811/2.778, allocations: 151 kB / 1.197 GB, free: 49.75 MB / 0.4948 GB Notification: Performance of SimCode: time 1.153e-06/2.778, allocations: 0 / 1.197 GB, free: 49.75 MB / 0.4948 GB Notification: Performance of Templates: time 0.07454/2.852, allocations: 47.22 MB / 1.243 GB, free: 24.05 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