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.001041/0.001041, allocations: 176.7 kB / 8.008 MB, free: 1.066 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.566/1.566, allocations: 205.3 MB / 213.7 MB, free: 1.742 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009621/0.000962, allocations: 86.16 kB / 261.8 MB, free: 1.684 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.2021/0.2021, allocations: 43.49 MB / 353.2 MB, free: 280 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.374e-05/1.377e-05, allocations: 0 / 418.3 MB, free: 28.55 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1305/0.1305, allocations: 58.85 MB / 477.1 MB, free: 1.648 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9823/1.113, allocations: 350.8 MB / 0.8085 GB, free: 85.53 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002546/1.113, allocations: 87.73 kB / 0.8086 GB, free: 85.48 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.286/2.399, allocations: 303.8 MB / 1.105 GB, free: 66.9 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.633e-06/2.399, allocations: 0 / 1.105 GB, free: 66.9 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001446/2.399, allocations: 46 kB / 1.105 GB, free: 66.9 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.005701/2.405, allocations: 2.065 MB / 1.107 GB, free: 66.11 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.082e-05/2.405, allocations: 9.469 kB / 1.107 GB, free: 66.11 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006732/2.405, allocations: 205.4 kB / 1.108 GB, free: 66.02 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00251/2.408, allocations: 1.269 MB / 1.109 GB, free: 65.72 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001226/2.408, allocations: 146.4 kB / 1.109 GB, free: 65.62 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001984/2.408, allocations: 68.25 kB / 1.109 GB, free: 65.62 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002567/2.411, allocations: 1.743 MB / 1.111 GB, free: 65.61 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002494/2.413, allocations: 1.751 MB / 1.112 GB, free: 65.39 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.064e-05/2.413, allocations: 5.109 kB / 1.112 GB, free: 65.38 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001414/2.414, allocations: 5.125 kB / 1.112 GB, free: 65.38 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001438/2.414, allocations: 114.1 kB / 1.113 GB, free: 65.38 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.009809/2.423, allocations: 6.744 MB / 1.119 GB, free: 63.23 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00138/2.425, allocations: 1.267 MB / 1.12 GB, free: 63.21 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008324/2.426, allocations: 0.7582 MB / 1.121 GB, free: 63.2 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005089/2.431, allocations: 4.4 MB / 1.125 GB, free: 60.89 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.743e-05/2.431, allocations: 57.08 kB / 1.125 GB, free: 60.85 MB / 0.4948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008679/2.432, allocations: 169.2 kB / 1.126 GB, free: 60.82 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=117): time 3.496e-06/2.432, allocations: 0 / 1.126 GB, free: 60.82 MB / 0.4948 GB Notification: Performance of matching and sorting (n=132): time 0.01369/2.445, allocations: 5.013 MB / 1.13 GB, free: 60.19 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.997e-05/2.446, allocations: 224.6 kB / 1.131 GB, free: 59.94 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001003/2.447, allocations: 0.9008 MB / 1.132 GB, free: 59.79 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001045/2.447, allocations: 25.7 kB / 1.132 GB, free: 59.75 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003209/2.447, allocations: 0.6658 MB / 1.132 GB, free: 59.47 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002695/2.447, allocations: 440.9 kB / 1.133 GB, free: 59.18 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.824e-05/2.447, allocations: 0 / 1.133 GB, free: 59.18 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 8.302e-05/2.447, allocations: 367.8 kB / 1.133 GB, free: 58.88 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008857/2.448, allocations: 0.7171 MB / 1.134 GB, free: 58.87 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009791/2.449, allocations: 1.034 MB / 1.135 GB, free: 58.55 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009945/2.459, allocations: 2.548 MB / 1.137 GB, free: 58.53 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.055e-05/2.459, allocations: 0 / 1.137 GB, free: 58.53 MB / 0.4948 GB Notification: Performance of matching and sorting (n=199) (initialization): time 0.01231/2.472, allocations: 3.97 MB / 1.141 GB, free: 58.39 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.000572/2.472, allocations: 2.979 MB / 1.144 GB, free: 55.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.57e-05/2.472, allocations: 15.64 kB / 1.144 GB, free: 55.3 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004927/2.477, allocations: 1.13 MB / 1.145 GB, free: 55.28 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001328/2.479, allocations: 327.9 kB / 1.145 GB, free: 55.28 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004041/2.483, allocations: 2.097 MB / 1.147 GB, free: 54.74 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00153/2.484, allocations: 74.03 kB / 1.148 GB, free: 54.73 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001611/2.484, allocations: 79.02 kB / 1.148 GB, free: 54.73 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.219e-05/2.484, allocations: 3.062 kB / 1.148 GB, free: 54.73 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01143/2.496, allocations: 3.539 MB / 1.151 GB, free: 54.69 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.301e-05/2.496, allocations: 14.42 kB / 1.151 GB, free: 54.69 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004675/2.501, allocations: 0.9936 MB / 1.152 GB, free: 54.68 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001239/2.502, allocations: 347.9 kB / 1.152 GB, free: 54.68 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002664/2.504, allocations: 1.686 MB / 1.154 GB, free: 54.13 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0014/2.506, allocations: 69.62 kB / 1.154 GB, free: 54.12 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000141/2.506, allocations: 75.08 kB / 1.154 GB, free: 54.12 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.0004163/2.506, allocations: 145.6 kB / 1.154 GB, free: 54.01 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002478/2.507, allocations: 147.5 kB / 1.154 GB, free: 53.94 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005796/2.512, allocations: 2.634 MB / 1.157 GB, free: 53.82 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.4e-05/2.513, allocations: 17.42 kB / 1.157 GB, free: 53.82 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/2.513, allocations: 3.609 kB / 1.157 GB, free: 53.82 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.482e-05/2.513, allocations: 6.984 kB / 1.157 GB, free: 53.82 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00716/2.52, allocations: 4.065 MB / 1.161 GB, free: 53.48 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.715e-06/2.52, allocations: 3.891 kB / 1.161 GB, free: 53.48 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009727/2.521, allocations: 230.4 kB / 1.161 GB, free: 53.48 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002646/2.523, allocations: 0.924 MB / 1.162 GB, free: 53.46 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001035/2.524, allocations: 22.53 kB / 1.162 GB, free: 53.46 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003422/2.527, allocations: 2.099 MB / 1.164 GB, free: 52.91 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/2.527, allocations: 5.734 kB / 1.164 GB, free: 52.9 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005947/2.533, allocations: 3.448 MB / 1.168 GB, free: 52.64 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000854/2.534, allocations: 437.1 kB / 1.168 GB, free: 52.46 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003829/2.534, allocations: 0 / 1.168 GB, free: 52.46 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001303/2.535, allocations: 79.42 kB / 1.168 GB, free: 52.45 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001958/2.536, allocations: 118.7 kB / 1.168 GB, free: 52.45 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001314/2.536, allocations: 60.77 kB / 1.168 GB, free: 52.45 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0007988/2.537, allocations: 0.664 MB / 1.169 GB, free: 52.34 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.8e-07/2.537, allocations: 0 / 1.169 GB, free: 52.34 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.003924/2.541, allocations: 1.339 MB / 1.17 GB, free: 52.1 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.002328/2.543, allocations: 1.208 MB / 1.171 GB, free: 51.76 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.00508/2.548, allocations: 2.969 MB / 1.174 GB, free: 51.65 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.5e-06/2.548, allocations: 7.062 kB / 1.174 GB, free: 51.65 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001607/2.55, allocations: 0.9576 MB / 1.175 GB, free: 51.63 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003476/2.553, allocations: 0.6111 MB / 1.176 GB, free: 51.62 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005859/2.559, allocations: 2.708 MB / 1.178 GB, free: 51.04 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009728/2.56, allocations: 1.416 MB / 1.18 GB, free: 50.32 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.002967/2.563, allocations: 0.636 MB / 1.18 GB, free: 50.29 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003472/2.563, allocations: 121.6 kB / 1.181 GB, free: 50.29 MB / 0.4948 GB Notification: Performance of SimCode: time 1.152e-06/2.563, allocations: 3.562 kB / 1.181 GB, free: 50.29 MB / 0.4948 GB Notification: Performance of Templates: time 0.05601/2.619, allocations: 44.59 MB / 1.224 GB, free: 42.34 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