Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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_4.0.0_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_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001124/0.001124, allocations: 179.6 kB / 18.09 MB, free: 3.746 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.31/1.31, allocations: 223.3 MB / 242.1 MB, free: 11.68 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009886/0.0009886, allocations: 90.58 kB / 293.3 MB, free: 10.77 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3364/0.3364, allocations: 44.15 MB / 388.5 MB, free: 38.69 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003483/0.0003484, allocations: 16 kB / 461.1 MB, free: 1.316 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3082/0.3085, allocations: 61.88 MB / 0.5107 GB, free: 38.07 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5591/0.8676, allocations: 352.5 MB / 0.8549 GB, free: 10.13 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002425/0.8679, allocations: 94.62 kB / 0.855 GB, free: 10.08 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.107/1.975, allocations: 310.4 MB / 1.158 GB, free: 82.19 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.044e-06/1.975, allocations: 0 / 1.158 GB, free: 82.19 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0001344/1.976, allocations: 43.59 kB / 1.158 GB, free: 82.18 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.005706/1.981, allocations: 2.276 MB / 1.16 GB, free: 81.03 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.061e-05/1.981, allocations: 7.531 kB / 1.16 GB, free: 81.03 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005412/1.982, allocations: 203.7 kB / 1.161 GB, free: 80.94 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002224/1.984, allocations: 1.315 MB / 1.162 GB, free: 80.52 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001285/1.984, allocations: 187.9 kB / 1.162 GB, free: 80.42 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001999/1.984, allocations: 116.5 kB / 1.162 GB, free: 80.42 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002747/1.987, allocations: 1.967 MB / 1.164 GB, free: 80.19 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.369e-05/1.987, allocations: 3.406 kB / 1.164 GB, free: 80.19 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000154/1.987, allocations: 48.77 kB / 1.164 GB, free: 80.19 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001201/1.988, allocations: 114.1 kB / 1.164 GB, free: 80.18 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002694/1.99, allocations: 1.951 MB / 1.166 GB, free: 80.17 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.01025/2.001, allocations: 6.949 MB / 1.173 GB, free: 77.89 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001702/2.002, allocations: 1.362 MB / 1.174 GB, free: 77.86 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001002/2.003, allocations: 0.8085 MB / 1.175 GB, free: 77.84 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005085/2.008, allocations: 4.399 MB / 1.179 GB, free: 75.49 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.932e-05/2.008, allocations: 54.41 kB / 1.179 GB, free: 75.45 MB / 0.5261 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008594/2.009, allocations: 230.7 kB / 1.18 GB, free: 75.37 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=117): time 3.056e-06/2.009, allocations: 0 / 1.18 GB, free: 75.37 MB / 0.5261 GB Notification: Performance of matching and sorting (n=132): time 0.01679/2.026, allocations: 6.557 MB / 1.186 GB, free: 74.66 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.701e-05/2.026, allocations: 221.5 kB / 1.186 GB, free: 74.41 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001707/2.028, allocations: 1.354 MB / 1.188 GB, free: 74.23 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001448/2.028, allocations: 55.55 kB / 1.188 GB, free: 74.2 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003889/2.028, allocations: 0.6592 MB / 1.188 GB, free: 73.96 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003167/2.029, allocations: 455.9 kB / 1.189 GB, free: 73.67 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.651e-05/2.029, allocations: 33.88 kB / 1.189 GB, free: 73.67 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001073/2.029, allocations: 364.7 kB / 1.189 GB, free: 73.37 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001154/2.03, allocations: 0.7694 MB / 1.19 GB, free: 73.36 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00134/2.031, allocations: 1.089 MB / 1.191 GB, free: 73.03 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002407/2.034, allocations: 1.824 MB / 1.193 GB, free: 72.74 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-05/2.034, allocations: 0 / 1.193 GB, free: 72.74 MB / 0.5261 GB Notification: Performance of matching and sorting (n=199) (initialization): time 0.003662/2.038, allocations: 2.444 MB / 1.195 GB, free: 72.33 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001549/2.038, allocations: 324.8 kB / 1.195 GB, free: 71.95 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.485e-05/2.038, allocations: 10.91 kB / 1.195 GB, free: 71.95 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006654/2.044, allocations: 1.499 MB / 1.197 GB, free: 71.77 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001368/2.046, allocations: 330.7 kB / 1.197 GB, free: 71.76 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002635/2.048, allocations: 1.7 MB / 1.199 GB, free: 70.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001904/2.05, allocations: 113.2 kB / 1.199 GB, free: 70.77 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002057/2.051, allocations: 76.2 kB / 1.199 GB, free: 70.75 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.225e-05/2.051, allocations: 3.344 kB / 1.199 GB, free: 70.75 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003405/2.054, allocations: 2.13 MB / 1.201 GB, free: 70 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.078e-05/2.054, allocations: 11.52 kB / 1.201 GB, free: 70 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004567/2.059, allocations: 1.037 MB / 1.202 GB, free: 69.87 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001204/2.06, allocations: 343.8 kB / 1.202 GB, free: 69.85 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001734/2.062, allocations: 1.434 MB / 1.204 GB, free: 69.01 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001479/2.063, allocations: 100.6 kB / 1.204 GB, free: 68.98 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001503/2.063, allocations: 75.42 kB / 1.204 GB, free: 68.97 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.0009035/2.064, allocations: 491.9 kB / 1.205 GB, free: 68.64 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00025/2.064, allocations: 171.9 kB / 1.205 GB, free: 68.55 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004031/2.068, allocations: 2.508 MB / 1.207 GB, free: 67.62 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.678e-05/2.069, allocations: 14.69 kB / 1.207 GB, free: 67.62 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.303e-06/2.069, allocations: 3.938 kB / 1.207 GB, free: 67.62 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.548e-05/2.069, allocations: 11.47 kB / 1.207 GB, free: 67.62 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005453/2.074, allocations: 4.074 MB / 1.211 GB, free: 65.93 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.482e-06/2.074, allocations: 0 / 1.211 GB, free: 65.93 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009201/2.075, allocations: 233.7 kB / 1.211 GB, free: 65.92 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004093/2.079, allocations: 1.244 MB / 1.213 GB, free: 65.74 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001305/2.079, allocations: 38.97 kB / 1.213 GB, free: 65.72 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001944/2.081, allocations: 1.767 MB / 1.214 GB, free: 64.73 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/2.081, allocations: 3.938 kB / 1.214 GB, free: 64.73 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004371/2.086, allocations: 3.348 MB / 1.218 GB, free: 63.32 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009011/2.086, allocations: 450.6 kB / 1.218 GB, free: 63.04 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002114/2.087, allocations: 31.69 kB / 1.218 GB, free: 63.01 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001057/2.088, allocations: 113.9 kB / 1.218 GB, free: 62.98 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002233/2.088, allocations: 118.3 kB / 1.218 GB, free: 62.96 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00012/2.088, allocations: 56.38 kB / 1.218 GB, free: 62.95 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001117/2.089, allocations: 0.9171 MB / 1.219 GB, free: 62.59 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.3e-07/2.089, allocations: 0 / 1.219 GB, free: 62.59 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.00365/2.093, allocations: 1.429 MB / 1.221 GB, free: 62.24 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.002417/2.095, allocations: 1.241 MB / 1.222 GB, free: 61.84 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.005473/2.101, allocations: 3.133 MB / 1.225 GB, free: 60.82 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.25e-06/2.101, allocations: 3.938 kB / 1.225 GB, free: 60.82 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001731/2.103, allocations: 1.028 MB / 1.226 GB, free: 60.48 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003051/2.106, allocations: 0.712 MB / 1.227 GB, free: 60.33 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005554/2.111, allocations: 4.094 MB / 1.231 GB, free: 58.43 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006951/2.112, allocations: 1.388 MB / 1.232 GB, free: 57.44 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.002102/2.114, allocations: 0.6153 MB / 1.233 GB, free: 57.04 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003446/2.114, allocations: 146.2 kB / 1.233 GB, free: 56.91 MB / 0.5261 GB Notification: Performance of SimCode: time 4.61e-07/2.114, allocations: 0 / 1.233 GB, free: 56.91 MB / 0.5261 GB Notification: Performance of Templates: time 0.05943/2.174, allocations: 48.36 MB / 1.28 GB, free: 16.99 MB / 0.5261 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches