Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001253/0.001253, allocations: 189.5 kB / 16.78 MB, free: 4.914 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.515/1.515, allocations: 226.5 MB / 244.1 MB, free: 6.453 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000967/0.0009671, allocations: 94.5 kB / 296.1 MB, free: 6.664 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4209/0.4209, allocations: 44.82 MB / 392.9 MB, free: 35.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002989/0.000299, allocations: 11.98 kB / 465.9 MB, free: 12.7 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4293/0.4296, allocations: 62.96 MB / 0.5165 GB, free: 37.16 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7522/1.182, allocations: 353.4 MB / 0.8616 GB, free: 14.45 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003607/1.182, allocations: 93.33 kB / 0.8616 GB, free: 14.4 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.367/2.549, allocations: 309.6 MB / 1.164 GB, free: 83.85 MB / 0.5261 GB Notification: Performance of FrontEnd: time 3.437e-06/2.549, allocations: 0 / 1.164 GB, free: 83.85 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0001595/2.549, allocations: 52.19 kB / 1.164 GB, free: 83.84 MB / 0.5261 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.008352/2.558, allocations: 2.273 MB / 1.166 GB, free: 82.61 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.615e-05/2.558, allocations: 14 kB / 1.166 GB, free: 82.61 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001431/2.559, allocations: 198.5 kB / 1.166 GB, free: 82.52 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003386/2.563, allocations: 1.316 MB / 1.168 GB, free: 82.1 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001691/2.563, allocations: 190.6 kB / 1.168 GB, free: 82 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002884/2.563, allocations: 117.8 kB / 1.168 GB, free: 82 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003408/2.566, allocations: 1.962 MB / 1.17 GB, free: 81.77 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.676e-05/2.567, allocations: 8.406 kB / 1.17 GB, free: 81.76 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001711/2.567, allocations: 55.3 kB / 1.17 GB, free: 81.76 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001404/2.567, allocations: 110.3 kB / 1.17 GB, free: 81.76 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002979/2.57, allocations: 1.953 MB / 1.172 GB, free: 81.74 MB / 0.5261 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.01129/2.581, allocations: 6.953 MB / 1.179 GB, free: 79.46 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001856/2.583, allocations: 1.356 MB / 1.18 GB, free: 79.42 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001099/2.584, allocations: 0.8137 MB / 1.181 GB, free: 79.23 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005975/2.59, allocations: 4.398 MB / 1.185 GB, free: 76.04 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.81e-05/2.59, allocations: 60.38 kB / 1.185 GB, free: 75.99 MB / 0.5261 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001118/2.591, allocations: 215.7 kB / 1.185 GB, free: 75.9 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=117): time 3.667e-06/2.591, allocations: 0 / 1.185 GB, free: 75.9 MB / 0.5261 GB Notification: Performance of matching and sorting (n=132): time 0.01939/2.611, allocations: 6.561 MB / 1.192 GB, free: 73.71 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.024e-05/2.611, allocations: 230 kB / 1.192 GB, free: 73.46 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001862/2.613, allocations: 1.362 MB / 1.193 GB, free: 72.93 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001574/2.613, allocations: 49.61 kB / 1.193 GB, free: 72.88 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003993/2.613, allocations: 0.6512 MB / 1.194 GB, free: 72.37 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003268/2.614, allocations: 459.6 kB / 1.195 GB, free: 72.02 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001031/2.614, allocations: 27.78 kB / 1.195 GB, free: 72 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001054/2.614, allocations: 369.5 kB / 1.195 GB, free: 71.67 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001135/2.615, allocations: 0.7626 MB / 1.196 GB, free: 71.39 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00126/2.616, allocations: 1.095 MB / 1.197 GB, free: 70.75 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002405/2.619, allocations: 1.818 MB / 1.199 GB, free: 69.82 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.901e-06/2.619, allocations: 4.938 kB / 1.199 GB, free: 69.82 MB / 0.5261 GB Notification: Performance of matching and sorting (n=199) (initialization): time 0.003942/2.623, allocations: 2.45 MB / 1.201 GB, free: 68.91 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001424/2.623, allocations: 313.3 kB / 1.201 GB, free: 68.53 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.621e-05/2.623, allocations: 15.11 kB / 1.201 GB, free: 68.53 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006865/2.63, allocations: 1.496 MB / 1.203 GB, free: 68.36 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001493/2.631, allocations: 339.8 kB / 1.203 GB, free: 68.33 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002518/2.634, allocations: 1.715 MB / 1.205 GB, free: 67.35 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001856/2.636, allocations: 104 kB / 1.205 GB, free: 67.32 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001991/2.636, allocations: 79.22 kB / 1.205 GB, free: 67.3 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.266e-05/2.636, allocations: 3.562 kB / 1.205 GB, free: 67.3 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003457/2.639, allocations: 2.131 MB / 1.207 GB, free: 66.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.227e-05/2.639, allocations: 7.719 kB / 1.207 GB, free: 66.5 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004929/2.644, allocations: 1.037 MB / 1.208 GB, free: 66.37 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001319/2.646, allocations: 346.8 kB / 1.208 GB, free: 66.34 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001838/2.648, allocations: 1.429 MB / 1.21 GB, free: 65.49 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001577/2.649, allocations: 103 kB / 1.21 GB, free: 65.45 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001755/2.649, allocations: 72.08 kB / 1.21 GB, free: 65.44 MB / 0.5261 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.0009894/2.65, allocations: 487.9 kB / 1.21 GB, free: 65.11 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002896/2.651, allocations: 170.1 kB / 1.21 GB, free: 65.02 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004369/2.655, allocations: 2.51 MB / 1.213 GB, free: 64.07 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.792e-05/2.655, allocations: 26.69 kB / 1.213 GB, free: 64.07 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.286e-06/2.655, allocations: 3.938 kB / 1.213 GB, free: 64.07 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.644e-05/2.655, allocations: 7.547 kB / 1.213 GB, free: 64.07 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005873/2.661, allocations: 4.072 MB / 1.217 GB, free: 62.38 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.723e-06/2.661, allocations: 0 / 1.217 GB, free: 62.38 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009998/2.662, allocations: 229.6 kB / 1.217 GB, free: 62.36 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004343/2.666, allocations: 1.245 MB / 1.218 GB, free: 61.48 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001721/2.666, allocations: 38.84 kB / 1.218 GB, free: 61.45 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002181/2.669, allocations: 1.762 MB / 1.22 GB, free: 59.85 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.035e-06/2.669, allocations: 4.125 kB / 1.22 GB, free: 59.84 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004993/2.674, allocations: 3.355 MB / 1.223 GB, free: 56.87 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001162/2.675, allocations: 455.1 kB / 1.224 GB, free: 56.48 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002344/2.675, allocations: 28 kB / 1.224 GB, free: 56.45 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001129/2.676, allocations: 117.5 kB / 1.224 GB, free: 56.36 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002422/2.677, allocations: 114.5 kB / 1.224 GB, free: 56.3 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001382/2.677, allocations: 59.22 kB / 1.224 GB, free: 56.25 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001319/2.678, allocations: 0.9166 MB / 1.225 GB, free: 55.48 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.4e-07/2.678, allocations: 0 / 1.225 GB, free: 55.48 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.004525/2.683, allocations: 1.439 MB / 1.226 GB, free: 54.07 MB / 0.5261 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.003175/2.686, allocations: 1.233 MB / 1.228 GB, free: 53.11 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.006248/2.692, allocations: 3.134 MB / 1.231 GB, free: 50.4 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 8.265e-06/2.692, allocations: 4 kB / 1.231 GB, free: 50.39 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001862/2.694, allocations: 1.015 MB / 1.232 GB, free: 49.52 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003629/2.698, allocations: 0.7115 MB / 1.232 GB, free: 49.02 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006144/2.704, allocations: 4.176 MB / 1.236 GB, free: 45.39 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006906/2.704, allocations: 1.373 MB / 1.238 GB, free: 44.21 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006239/2.705, allocations: 173.7 kB / 1.238 GB, free: 44.05 MB / 0.5261 GB Notification: Performance of SimCode: time 1.022e-06/2.705, allocations: 0 / 1.238 GB, free: 44.05 MB / 0.5261 GB Notification: Performance of Templates: time 0.05355/2.759, allocations: 41.59 MB / 1.279 GB, free: 4.129 MB / 0.5261 GB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Valves/TestDelayedValve/TestDelayedValve.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches