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.002056/0.002056, allocations: 172.2 kB / 16.76 MB, free: 5.062 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.687/1.687, allocations: 205.4 MB / 222.9 MB, free: 8.941 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.0008361/0.0008361, allocations: 82.41 kB / 271.3 MB, free: 8.25 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.3766/0.3766, allocations: 43.56 MB / 363.1 MB, free: 52.08 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000372/0.0003721, allocations: 12 kB / 432.6 MB, free: 5.199 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1456/0.1459, allocations: 58.85 MB / 491.5 MB, free: 10.27 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9444/1.09, allocations: 351.8 MB / 0.8235 GB, free: 19.56 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002643/1.091, allocations: 91.56 kB / 0.8236 GB, free: 19.51 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.191/2.282, allocations: 304.9 MB / 1.121 GB, free: 67.76 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.545e-06/2.282, allocations: 2.75 kB / 1.121 GB, free: 67.76 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.000149/2.282, allocations: 40.44 kB / 1.121 GB, free: 67.75 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.00673/2.289, allocations: 2.274 MB / 1.124 GB, free: 66.54 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.019e-05/2.289, allocations: 7.938 kB / 1.124 GB, free: 66.54 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006905/2.29, allocations: 198.9 kB / 1.124 GB, free: 66.45 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002454/2.292, allocations: 1.316 MB / 1.125 GB, free: 66.03 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001759/2.293, allocations: 190 kB / 1.125 GB, free: 65.93 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002217/2.293, allocations: 118.5 kB / 1.125 GB, free: 65.93 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003035/2.296, allocations: 1.97 MB / 1.127 GB, free: 65.69 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.231e-05/2.296, allocations: 0 / 1.127 GB, free: 65.69 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001558/2.296, allocations: 50.22 kB / 1.127 GB, free: 65.69 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001347/2.296, allocations: 118.5 kB / 1.127 GB, free: 65.69 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002818/2.299, allocations: 1.95 MB / 1.129 GB, free: 65.67 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.01066/2.31, allocations: 6.949 MB / 1.136 GB, free: 63.41 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00176/2.311, allocations: 1.356 MB / 1.137 GB, free: 63.37 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001062/2.313, allocations: 0.8115 MB / 1.138 GB, free: 63.35 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005503/2.318, allocations: 4.418 MB / 1.143 GB, free: 60.98 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.691e-05/2.318, allocations: 48.75 kB / 1.143 GB, free: 60.95 MB / 0.4948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009555/2.319, allocations: 230 kB / 1.143 GB, free: 60.87 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=117): time 3.727e-06/2.319, allocations: 3.125 kB / 1.143 GB, free: 60.87 MB / 0.4948 GB Notification: Performance of matching and sorting (n=132): time 0.01793/2.337, allocations: 6.546 MB / 1.149 GB, free: 60.17 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.032e-05/2.337, allocations: 222.2 kB / 1.149 GB, free: 59.92 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001792/2.339, allocations: 1.362 MB / 1.151 GB, free: 59.74 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.000156/2.339, allocations: 52.73 kB / 1.151 GB, free: 59.71 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000416/2.34, allocations: 0.6605 MB / 1.151 GB, free: 59.47 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000308/2.34, allocations: 454.8 kB / 1.152 GB, free: 59.18 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.284e-05/2.34, allocations: 29.19 kB / 1.152 GB, free: 59.18 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001239/2.34, allocations: 370.2 kB / 1.152 GB, free: 58.88 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00114/2.341, allocations: 0.7651 MB / 1.153 GB, free: 58.84 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001237/2.343, allocations: 1.092 MB / 1.154 GB, free: 58.2 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002348/2.345, allocations: 1.819 MB / 1.156 GB, free: 57.28 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.051e-06/2.345, allocations: 0 / 1.156 GB, free: 57.28 MB / 0.4948 GB Notification: Performance of matching and sorting (n=199) (initialization): time 0.003928/2.349, allocations: 2.452 MB / 1.158 GB, free: 56.36 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.000168/2.349, allocations: 325.1 kB / 1.159 GB, free: 55.97 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.471e-05/2.349, allocations: 9.125 kB / 1.159 GB, free: 55.97 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006677/2.356, allocations: 1.499 MB / 1.16 GB, free: 55.8 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001538/2.357, allocations: 325.2 kB / 1.16 GB, free: 55.79 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002473/2.36, allocations: 1.703 MB / 1.162 GB, free: 54.82 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001901/2.362, allocations: 106.3 kB / 1.162 GB, free: 54.79 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002023/2.362, allocations: 82.53 kB / 1.162 GB, free: 54.78 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.372e-05/2.362, allocations: 3.969 kB / 1.162 GB, free: 54.78 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003484/2.365, allocations: 2.13 MB / 1.164 GB, free: 54.02 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.439e-05/2.365, allocations: 7.531 kB / 1.164 GB, free: 54.02 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004697/2.37, allocations: 1.035 MB / 1.165 GB, free: 53.89 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001421/2.372, allocations: 348.1 kB / 1.166 GB, free: 53.88 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001873/2.373, allocations: 1.421 MB / 1.167 GB, free: 53.04 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001701/2.375, allocations: 103.1 kB / 1.167 GB, free: 53 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001768/2.375, allocations: 76.52 kB / 1.167 GB, free: 52.99 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.001072/2.376, allocations: 492.9 kB / 1.168 GB, free: 52.65 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003206/2.377, allocations: 169.9 kB / 1.168 GB, free: 52.56 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004287/2.381, allocations: 2.505 MB / 1.17 GB, free: 51.63 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.661e-05/2.381, allocations: 22.5 kB / 1.17 GB, free: 51.63 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.185e-06/2.381, allocations: 3.938 kB / 1.17 GB, free: 51.63 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.656e-05/2.381, allocations: 7.547 kB / 1.17 GB, free: 51.63 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006039/2.387, allocations: 4.083 MB / 1.174 GB, free: 49.93 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.063e-06/2.387, allocations: 0 / 1.174 GB, free: 49.93 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009907/2.388, allocations: 226.1 kB / 1.174 GB, free: 49.91 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004349/2.393, allocations: 1.243 MB / 1.176 GB, free: 49.73 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001726/2.393, allocations: 44.64 kB / 1.176 GB, free: 49.71 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002225/2.395, allocations: 1.76 MB / 1.177 GB, free: 48.72 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/2.395, allocations: 3.938 kB / 1.177 GB, free: 48.71 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004767/2.4, allocations: 3.355 MB / 1.181 GB, free: 47.31 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001133/2.401, allocations: 454.5 kB / 1.181 GB, free: 47.03 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002496/2.401, allocations: 27.31 kB / 1.181 GB, free: 47.01 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001131/2.402, allocations: 116.4 kB / 1.181 GB, free: 46.97 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002533/2.403, allocations: 115.9 kB / 1.181 GB, free: 46.95 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001388/2.403, allocations: 60.41 kB / 1.181 GB, free: 46.94 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.001272/2.404, allocations: 0.9133 MB / 1.182 GB, free: 46.58 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.3e-07/2.404, allocations: 1.5 kB / 1.182 GB, free: 46.58 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.004076/2.408, allocations: 1.432 MB / 1.184 GB, free: 46.23 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.002841/2.411, allocations: 1.239 MB / 1.185 GB, free: 45.81 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.00592/2.417, allocations: 3.129 MB / 1.188 GB, free: 44.74 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 8.215e-06/2.417, allocations: 3.859 kB / 1.188 GB, free: 44.74 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001841/2.419, allocations: 1.027 MB / 1.189 GB, free: 44.04 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003497/2.422, allocations: 0.7167 MB / 1.19 GB, free: 43.54 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005985/2.428, allocations: 4.091 MB / 1.194 GB, free: 39.98 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007166/2.429, allocations: 1.389 MB / 1.195 GB, free: 38.79 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.002186/2.431, allocations: 0.613 MB / 1.196 GB, free: 38.39 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003542/2.432, allocations: 149.2 kB / 1.196 GB, free: 38.25 MB / 0.4948 GB Notification: Performance of SimCode: time 7.11e-07/2.432, allocations: 4 kB / 1.196 GB, free: 38.25 MB / 0.4948 GB Notification: Performance of Templates: time 0.06625/2.498, allocations: 48.36 MB / 1.243 GB, free: 11.3 MB / 0.5105 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/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_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches