Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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_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_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008657/0.0008656, allocations: 98.41 kB / 16.99 MB, free: 6.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009576/0.0009576, allocations: 197.6 kB / 17.9 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.365/1.365, allocations: 227.2 MB / 245.9 MB, free: 10.34 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2139/0.2139, allocations: 45.91 MB / 344 MB, free: 12.14 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002843/0.0002843, allocations: 8 kB / 417.9 MB, free: 20.88 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.143/0.1433, allocations: 63.46 MB / 481.4 MB, free: 5.41 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve): time 0.02717/0.1706, allocations: 28.42 MB / 0.4979 GB, free: 8.914 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2645/0.4351, allocations: 17.07 MB / 0.5145 GB, free: 11.22 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002664/0.4378, allocations: 64.91 kB / 0.5146 GB, free: 11.22 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002228/0.4401, allocations: 0.614 MB / 0.5152 GB, free: 11.22 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008443/0.4486, allocations: 2.114 MB / 0.5173 GB, free: 11.2 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01407/0.4627, allocations: 3.971 MB / 0.5211 GB, free: 11.15 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006044/0.4687, allocations: 2.548 MB / 0.5236 GB, free: 11.14 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002231/0.471, allocations: 1.082 MB / 0.5247 GB, free: 11.03 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003874/0.4748, allocations: 1.335 MB / 0.526 GB, free: 11.03 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003088/0.478, allocations: 1.207 MB / 0.5272 GB, free: 10.97 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004402/0.4784, allocations: 94.12 kB / 0.5273 GB, free: 10.97 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006846/0.4853, allocations: 2.535 MB / 0.5297 GB, free: 10.86 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001026/0.4863, allocations: 0.5339 MB / 0.5303 GB, free: 10.66 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009072/0.4872, allocations: 354.4 kB / 0.5306 GB, free: 10.57 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005278/0.4925, allocations: 2.977 MB / 0.5335 GB, free: 9.211 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.4925, allocations: 2.516 kB / 0.5335 GB, free: 9.211 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.4925, allocations: 0 / 0.5335 GB, free: 9.211 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.366e-05/0.4926, allocations: 0 / 0.5335 GB, free: 9.211 MB / 382.1 MB 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.004914/0.4975, allocations: 2.158 MB / 0.5356 GB, free: 7.805 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.933e-05/0.4976, allocations: 8.25 kB / 0.5356 GB, free: 7.805 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006827/0.4982, allocations: 199.7 kB / 0.5358 GB, free: 7.711 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002009/0.5003, allocations: 1.08 MB / 0.5369 GB, free: 7.125 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001305/0.5004, allocations: 186.3 kB / 0.537 GB, free: 7.023 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001869/0.5006, allocations: 113.9 kB / 0.5371 GB, free: 7.023 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002721/0.5033, allocations: 1.915 MB / 0.539 GB, free: 6.43 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.064e-05/0.5034, allocations: 11.86 kB / 0.539 GB, free: 6.418 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001531/0.5035, allocations: 49.45 kB / 0.5391 GB, free: 6.418 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001469/0.5037, allocations: 112 kB / 0.5392 GB, free: 6.395 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002799/0.5065, allocations: 1.954 MB / 0.5411 GB, free: 6.059 MB / 382.1 MB 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.01121/0.5177, allocations: 7.373 MB / 0.5483 GB, free: 1.43 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00178/0.5195, allocations: 1.391 MB / 0.5497 GB, free: 452 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007061/0.5266, allocations: 4.571 MB / 0.5541 GB, free: 11.51 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.761e-05/0.5267, allocations: 43.56 kB / 0.5542 GB, free: 11.46 MB / 398.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00115/0.5278, allocations: 225.9 kB / 0.5544 GB, free: 11.24 MB / 398.1 MB Notification: Performance of pre-optimization done (n=118): time 6.502e-06/0.5279, allocations: 0 / 0.5544 GB, free: 11.24 MB / 398.1 MB Notification: Performance of matching and sorting (n=133): time 0.02072/0.5486, allocations: 6.647 MB / 0.5609 GB, free: 4.559 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001235/0.5487, allocations: 222.9 kB / 0.5611 GB, free: 4.293 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002217/0.551, allocations: 1.363 MB / 0.5624 GB, free: 2.918 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002287/0.5512, allocations: 49.7 kB / 0.5625 GB, free: 2.863 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005664/0.5518, allocations: 0.6635 MB / 0.5631 GB, free: 2.199 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004854/0.5523, allocations: 458 kB / 0.5635 GB, free: 1.758 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001324/0.5524, allocations: 42.73 kB / 0.5636 GB, free: 1.719 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001683/0.5526, allocations: 365.9 kB / 0.5639 GB, free: 1.355 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001461/0.5541, allocations: 0.8042 MB / 0.5647 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001716/0.5558, allocations: 1.159 MB / 0.5658 GB, free: 15.26 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001626/0.5574, allocations: 0.9316 MB / 0.5668 GB, free: 14.33 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.792e-06/0.5575, allocations: 0 / 0.5668 GB, free: 14.33 MB / 414.1 MB Notification: Performance of matching and sorting (n=203) (initialization): time 0.004735/0.5622, allocations: 2.575 MB / 0.5693 GB, free: 11.75 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.001335/0.5636, allocations: 3.281 MB / 0.5725 GB, free: 8.27 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.074e-05/0.5636, allocations: 8 kB / 0.5725 GB, free: 8.262 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008841/0.5725, allocations: 1.701 MB / 0.5741 GB, free: 6.559 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001651/0.5741, allocations: 332.4 kB / 0.5745 GB, free: 6.234 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003104/0.5773, allocations: 1.778 MB / 0.5762 GB, free: 4.43 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001912/0.5792, allocations: 103.8 kB / 0.5763 GB, free: 4.328 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003558/0.5796, allocations: 79.94 kB / 0.5764 GB, free: 4.25 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.15e-05/0.5796, allocations: 4 kB / 0.5764 GB, free: 4.246 MB / 414.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00444/0.584, allocations: 2.257 MB / 0.5786 GB, free: 1.984 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.327e-05/0.5841, allocations: 8 kB / 0.5786 GB, free: 1.977 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005076/0.5892, allocations: 1.07 MB / 0.5796 GB, free: 0.9023 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001593/0.5908, allocations: 355.5 kB / 0.58 GB, free: 0.5547 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002281/0.5931, allocations: 1.473 MB / 0.5814 GB, free: 15.05 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001758/0.5949, allocations: 107.8 kB / 0.5815 GB, free: 14.95 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003852/0.5953, allocations: 71.95 kB / 0.5816 GB, free: 14.88 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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 (168): * Single equations (assignments): 165 * 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 24} Notification: Performance of prepare postOptimizeDAE: time 0.001297/0.5966, allocations: 494.8 kB / 0.5821 GB, free: 14.39 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005769/0.5971, allocations: 170 kB / 0.5822 GB, free: 14.22 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005189/0.6023, allocations: 2.574 MB / 0.5847 GB, free: 11.65 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2e-05/0.6024, allocations: 16 kB / 0.5847 GB, free: 11.63 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.129e-05/0.6024, allocations: 4 kB / 0.5847 GB, free: 11.63 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.878e-05/0.6024, allocations: 7.969 kB / 0.5848 GB, free: 11.62 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008028/0.6105, allocations: 4.207 MB / 0.5889 GB, free: 7.379 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.065e-06/0.6105, allocations: 0 / 0.5889 GB, free: 7.379 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001057/0.6116, allocations: 231.6 kB / 0.5891 GB, free: 7.152 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005196/0.6168, allocations: 1.321 MB / 0.5904 GB, free: 5.828 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002008/0.617, allocations: 47.97 kB / 0.5904 GB, free: 5.781 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002602/0.6196, allocations: 1.8 MB / 0.5922 GB, free: 3.957 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.6196, allocations: 0 / 0.5922 GB, free: 3.957 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006386/0.626, allocations: 3.469 MB / 0.5956 GB, free: 476 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001424/0.6275, allocations: 474.7 kB / 0.596 GB, free: 15.98 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005505/0.6281, allocations: 31.94 kB / 0.596 GB, free: 15.95 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001437/0.6295, allocations: 103.8 kB / 0.5961 GB, free: 15.85 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002742/0.6298, allocations: 117.1 kB / 0.5963 GB, free: 15.73 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001652/0.63, allocations: 58.59 kB / 0.5963 GB, free: 15.68 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001455/0.6314, allocations: 0.9148 MB / 0.5972 GB, free: 14.77 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.6315, allocations: 0 / 0.5972 GB, free: 14.77 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004409/0.6359, allocations: 1.323 MB / 0.5985 GB, free: 13.44 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (tank1.level,tank1.medium.T,tank2.level,tank2.medium.T,tank3.level,tank3.medium.T,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 39} Notification: Performance of Backend phase and start with SimCode phase: time 0.003198/0.6391, allocations: 0.966 MB / 0.5994 GB, free: 12.54 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007635/0.6467, allocations: 3.246 MB / 0.6026 GB, free: 9.289 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 9.618e-06/0.6468, allocations: 7.859 kB / 0.6026 GB, free: 9.281 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002405/0.6492, allocations: 1.043 MB / 0.6036 GB, free: 8.246 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003961/0.6532, allocations: 0.7007 MB / 0.6043 GB, free: 7.555 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008024/0.6612, allocations: 4.135 MB / 0.6084 GB, free: 3.41 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001198/0.6624, allocations: 1.414 MB / 0.6097 GB, free: 1.965 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002719/0.6652, allocations: 0.6441 MB / 0.6104 GB, free: 1.328 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004622/0.6656, allocations: 143.4 kB / 0.6105 GB, free: 1.191 MB / 446.1 MB Notification: Performance of SimCode: time 7.11e-07/0.6657, allocations: 0 / 0.6105 GB, free: 1.191 MB / 446.1 MB Notification: Performance of Templates: time 0.07637/0.742, allocations: 47.25 MB / 0.6567 GB, free: 2.262 MB / 494.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Valves/TestDelayedValve/TestDelayedValve.csv","../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches