Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_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_cpp_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.0009236/0.0009237, allocations: 180.5 kB / 17.41 MB, free: 4.406 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.249/1.249, allocations: 205.4 MB / 223.6 MB, free: 9.023 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.0007429/0.0007428, allocations: 93.47 kB / 271.9 MB, free: 8.258 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.3045/0.3045, allocations: 43.55 MB / 363.7 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003731/0.0003732, allocations: 19.98 kB / 432.6 MB, free: 5.883 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1145/0.1149, allocations: 58.85 MB / 491.4 MB, free: 10.95 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7715/0.8865, allocations: 351.8 MB / 0.8235 GB, free: 20.05 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003545/0.887, allocations: 93.27 kB / 0.8235 GB, free: 20 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.055/1.942, allocations: 304.9 MB / 1.121 GB, free: 67.7 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.974e-06/1.942, allocations: 0 / 1.121 GB, free: 67.7 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001529/1.942, allocations: 43.41 kB / 1.121 GB, free: 67.69 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.006622/1.948, allocations: 2.279 MB / 1.124 GB, free: 66.47 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.198e-05/1.948, allocations: 6.75 kB / 1.124 GB, free: 66.47 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007851/1.949, allocations: 198 kB / 1.124 GB, free: 66.38 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002522/1.952, allocations: 1.324 MB / 1.125 GB, free: 65.97 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001326/1.952, allocations: 186.7 kB / 1.125 GB, free: 65.87 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002033/1.952, allocations: 109.3 kB / 1.125 GB, free: 65.87 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002881/1.955, allocations: 1.971 MB / 1.127 GB, free: 65.63 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.184e-05/1.955, allocations: 3.938 kB / 1.127 GB, free: 65.63 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001611/1.955, allocations: 50.42 kB / 1.127 GB, free: 65.63 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001362/1.955, allocations: 115.5 kB / 1.127 GB, free: 65.62 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002795/1.958, allocations: 1.957 MB / 1.129 GB, free: 65.61 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.01047/1.969, allocations: 6.943 MB / 1.136 GB, free: 63.34 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001776/1.97, allocations: 1.36 MB / 1.137 GB, free: 63.3 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001043/1.971, allocations: 0.8134 MB / 1.138 GB, free: 63.29 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005737/1.977, allocations: 4.411 MB / 1.143 GB, free: 60.92 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.602e-05/1.977, allocations: 52.62 kB / 1.143 GB, free: 60.88 MB / 0.4948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000977/1.978, allocations: 229.4 kB / 1.143 GB, free: 60.8 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=117): time 2.715e-06/1.978, allocations: 0 / 1.143 GB, free: 60.8 MB / 0.4948 GB Notification: Performance of matching and sorting (n=132): time 0.01775/1.996, allocations: 6.546 MB / 1.149 GB, free: 60.11 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.8e-05/1.996, allocations: 224.8 kB / 1.149 GB, free: 59.85 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001673/1.998, allocations: 1.365 MB / 1.151 GB, free: 59.68 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001589/1.998, allocations: 51.11 kB / 1.151 GB, free: 59.64 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003515/1.998, allocations: 0.6507 MB / 1.151 GB, free: 59.4 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002938/1.999, allocations: 458.7 kB / 1.152 GB, free: 59.12 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001025/1.999, allocations: 28.56 kB / 1.152 GB, free: 59.12 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 8.813e-05/1.999, allocations: 370.1 kB / 1.152 GB, free: 58.81 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001112/2, allocations: 0.7613 MB / 1.153 GB, free: 58.81 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001218/2.001, allocations: 1.098 MB / 1.154 GB, free: 58.33 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002275/2.004, allocations: 1.818 MB / 1.156 GB, free: 57.4 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.831e-06/2.004, allocations: 8.438 kB / 1.156 GB, free: 57.4 MB / 0.4948 GB Notification: Performance of matching and sorting (n=199) (initialization): time 0.003784/2.007, allocations: 2.448 MB / 1.158 GB, free: 56.49 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001462/2.007, allocations: 319.6 kB / 1.159 GB, free: 56.11 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.407e-05/2.008, allocations: 10.23 kB / 1.159 GB, free: 56.11 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006772/2.014, allocations: 1.498 MB / 1.16 GB, free: 55.93 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001512/2.016, allocations: 331.1 kB / 1.16 GB, free: 55.91 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002631/2.019, allocations: 1.704 MB / 1.162 GB, free: 54.95 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001909/2.02, allocations: 100.5 kB / 1.162 GB, free: 54.92 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000352/2.021, allocations: 79.94 kB / 1.162 GB, free: 54.91 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/2.021, allocations: 3.5 kB / 1.162 GB, free: 54.91 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004232/2.025, allocations: 2.136 MB / 1.164 GB, free: 54.15 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.136e-05/2.025, allocations: 14.56 kB / 1.164 GB, free: 54.15 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004999/2.03, allocations: 1.025 MB / 1.165 GB, free: 54.02 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001409/2.032, allocations: 347.7 kB / 1.166 GB, free: 54 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001901/2.033, allocations: 1.426 MB / 1.167 GB, free: 53.15 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001683/2.035, allocations: 105.7 kB / 1.167 GB, free: 53.12 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000275/2.035, allocations: 72.58 kB / 1.167 GB, free: 53.11 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.001039/2.037, allocations: 481.6 kB / 1.168 GB, free: 52.77 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004324/2.037, allocations: 171.8 kB / 1.168 GB, free: 52.68 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004772/2.042, allocations: 2.516 MB / 1.17 GB, free: 51.75 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.786e-05/2.042, allocations: 14 kB / 1.17 GB, free: 51.75 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.578e-06/2.042, allocations: 3.938 kB / 1.17 GB, free: 51.75 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.826e-05/2.042, allocations: 13.33 kB / 1.17 GB, free: 51.75 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007224/2.049, allocations: 4.078 MB / 1.174 GB, free: 50.05 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.655e-06/2.049, allocations: 0 / 1.174 GB, free: 50.05 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001198/2.05, allocations: 228.8 kB / 1.174 GB, free: 50.03 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005081/2.055, allocations: 1.25 MB / 1.176 GB, free: 49.84 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001932/2.056, allocations: 38.97 kB / 1.176 GB, free: 49.82 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002119/2.058, allocations: 1.759 MB / 1.177 GB, free: 48.84 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.766e-06/2.058, allocations: 3.938 kB / 1.177 GB, free: 48.83 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004736/2.063, allocations: 3.347 MB / 1.181 GB, free: 47.43 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009839/2.064, allocations: 455.1 kB / 1.181 GB, free: 47.14 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002336/2.064, allocations: 27.66 kB / 1.181 GB, free: 47.12 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001108/2.065, allocations: 110.2 kB / 1.181 GB, free: 47.09 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000228/2.065, allocations: 114.8 kB / 1.181 GB, free: 47.07 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001314/2.065, allocations: 63.42 kB / 1.181 GB, free: 47.06 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.001178/2.066, allocations: 0.9175 MB / 1.182 GB, free: 46.7 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.8e-07/2.066, allocations: 3.938 kB / 1.182 GB, free: 46.7 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.003804/2.07, allocations: 1.429 MB / 1.184 GB, free: 46.35 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.002678/2.073, allocations: 1.245 MB / 1.185 GB, free: 45.93 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.005827/2.079, allocations: 3.137 MB / 1.188 GB, free: 44.86 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 6.031e-06/2.079, allocations: 3.859 kB / 1.188 GB, free: 44.85 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001812/2.081, allocations: 1.016 MB / 1.189 GB, free: 44.25 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0033/2.084, allocations: 0.7146 MB / 1.19 GB, free: 43.75 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006444/2.09, allocations: 4.169 MB / 1.194 GB, free: 40.13 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007163/2.091, allocations: 1.378 MB / 1.195 GB, free: 38.95 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006712/2.092, allocations: 166.8 kB / 1.195 GB, free: 38.8 MB / 0.4948 GB Notification: Performance of SimCode: time 1.663e-06/2.092, allocations: 0 / 1.195 GB, free: 38.8 MB / 0.4948 GB Notification: Performance of Templates: time 0.04785/2.14, allocations: 41.34 MB / 1.236 GB, free: 3.043 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve_res.mat","/var/lib/jenkins1/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_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches