Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Fluid.Examples.IncompressibleFluidNetwork.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) 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(Modelica.Fluid.Examples.IncompressibleFluidNetwork,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pipe1.mediums.1..T|pipe1.mediums.2..T|pipe10.mediums.1..T|pipe10.mediums.2..T|pipe11.mediums.1..T|pipe11.mediums.2..T|pipe2.mediums.1..T|pipe2.mediums.2..T|pipe3.mediums.1..T|pipe3.mediums.2..T|pipe4.mediums.1..T|pipe4.mediums.2..T|pipe5.mediums.1..T|pipe5.mediums.2..T|pipe6.mediums.1..T|pipe6.mediums.2..T|pipe7.mediums.1..T|pipe7.mediums.2..T|pipe8.mediums.1..T|pipe8.mediums.2..T|pipe9.mediums.1..T|pipe9.mediums.2..T",fileNamePrefix="Modelica_4.0.0_Modelica.Fluid.Examples.IncompressibleFluidNetwork") translateModel(Modelica.Fluid.Examples.IncompressibleFluidNetwork,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pipe1.mediums.1..T|pipe1.mediums.2..T|pipe10.mediums.1..T|pipe10.mediums.2..T|pipe11.mediums.1..T|pipe11.mediums.2..T|pipe2.mediums.1..T|pipe2.mediums.2..T|pipe3.mediums.1..T|pipe3.mediums.2..T|pipe4.mediums.1..T|pipe4.mediums.2..T|pipe5.mediums.1..T|pipe5.mediums.2..T|pipe6.mediums.1..T|pipe6.mediums.2..T|pipe7.mediums.1..T|pipe7.mediums.2..T|pipe8.mediums.1..T|pipe8.mediums.2..T|pipe9.mediums.1..T|pipe9.mediums.2..T",fileNamePrefix="Modelica_4.0.0_Modelica.Fluid.Examples.IncompressibleFluidNetwork") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009488/0.0009489, allocations: 175.7 kB / 17.4 MB, free: 4.422 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.325/1.325, allocations: 223.3 MB / 241.4 MB, free: 9.953 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.0008573/0.0008573, allocations: 93.77 kB / 292.6 MB, free: 10.56 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003156/0.0003158, allocations: 11.94 kB / 352.3 MB, free: 14.82 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2354/0.2358, allocations: 50.4 MB / 402.7 MB, free: 32.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4552/0.691, allocations: 276.7 MB / 0.6635 GB, free: 14.51 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002099/0.6912, allocations: 74.59 kB / 0.6636 GB, free: 14.48 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.915/5.606, allocations: 1.391 GB / 2.054 GB, free: 24.16 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.956e-06/5.606, allocations: 0 / 2.054 GB, free: 24.16 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.001047/5.607, allocations: 190.6 kB / 2.054 GB, free: 24.13 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1492 * Number of variables: 1492 Notification: Performance of Generate backend data structure: time 0.03774/5.645, allocations: 8.951 MB / 2.063 GB, free: 19.98 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.827e-05/5.645, allocations: 8.906 kB / 2.063 GB, free: 19.98 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01204/5.657, allocations: 1.289 MB / 2.064 GB, free: 19.57 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02799/5.685, allocations: 9.04 MB / 2.073 GB, free: 18.2 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008779/5.686, allocations: 434.2 kB / 2.074 GB, free: 18.18 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003807/5.69, allocations: 0.5251 MB / 2.074 GB, free: 18.18 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03128/5.721, allocations: 9.499 MB / 2.083 GB, free: 16.68 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004731/5.722, allocations: 23.59 kB / 2.083 GB, free: 16.66 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003649/5.726, allocations: 248.1 kB / 2.084 GB, free: 16.66 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001004/5.727, allocations: 0.5944 MB / 2.084 GB, free: 16.64 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02909/5.756, allocations: 8.129 MB / 2.092 GB, free: 16.49 MB / 0.5105 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.07991/5.836, allocations: 34.9 MB / 2.126 GB, free: 11.78 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01459/5.85, allocations: 6.145 MB / 2.132 GB, free: 7.191 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008015/5.858, allocations: 3.703 MB / 2.136 GB, free: 4.043 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00822/5.867, allocations: 5.171 MB / 2.141 GB, free: 14.02 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002144/5.867, allocations: 102.9 kB / 2.141 GB, free: 13.91 MB / 0.5417 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0102/5.877, allocations: 1.666 MB / 2.143 GB, free: 12.59 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=500): time 2.828e-05/5.877, allocations: 0 / 2.143 GB, free: 12.59 MB / 0.5417 GB Notification: Performance of matching and sorting (n=632): time 0.6088/6.486, allocations: 51.76 MB / 2.193 GB, free: 51.88 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001583/6.486, allocations: 167.7 kB / 2.193 GB, free: 51.74 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01338/6.5, allocations: 4.798 MB / 2.198 GB, free: 51.39 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.00273/6.502, allocations: 143.6 kB / 2.198 GB, free: 51.36 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.003564/6.506, allocations: 2.971 MB / 2.201 GB, free: 50.57 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.005017/6.511, allocations: 2.162 MB / 2.203 GB, free: 49.47 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002497/6.514, allocations: 143.2 kB / 2.203 GB, free: 49.47 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0007962/6.514, allocations: 0.5917 MB / 2.204 GB, free: 49.15 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008808/6.523, allocations: 3.914 MB / 2.208 GB, free: 49.13 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01037/6.534, allocations: 5.577 MB / 2.213 GB, free: 47.53 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02316/6.557, allocations: 10.04 MB / 2.223 GB, free: 45.84 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000144/6.557, allocations: 12.28 kB / 2.223 GB, free: 45.84 MB / 0.5417 GB Notification: Performance of matching and sorting (n=911) (initialization): time 0.03547/6.593, allocations: 12.44 MB / 2.235 GB, free: 45.09 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.001045/6.594, allocations: 1.386 MB / 2.236 GB, free: 43.44 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001308/6.594, allocations: 40.47 kB / 2.236 GB, free: 43.44 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03021/6.624, allocations: 5.229 MB / 2.242 GB, free: 43.25 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007229/6.631, allocations: 1.35 MB / 2.243 GB, free: 43.25 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01483/6.646, allocations: 17.41 MB / 2.26 GB, free: 31.28 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01123/6.657, allocations: 0.5007 MB / 2.26 GB, free: 31.27 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002931/6.66, allocations: 418.1 kB / 2.261 GB, free: 31.27 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/6.66, allocations: 4.531 kB / 2.261 GB, free: 31.27 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03127/6.692, allocations: 11.94 MB / 2.272 GB, free: 28.57 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001996/6.692, allocations: 45.28 kB / 2.272 GB, free: 28.57 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01073/6.703, allocations: 3.278 MB / 2.276 GB, free: 27.77 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006914/6.71, allocations: 1.373 MB / 2.277 GB, free: 27.63 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01981/6.73, allocations: 21.85 MB / 2.298 GB, free: 11.29 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009287/6.739, allocations: 0.4926 MB / 2.299 GB, free: 11.16 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00272/6.742, allocations: 403.1 kB / 2.299 GB, free: 11.09 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 193 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (751): * Single equations (assignments): 728 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 23 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 23 {1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,9 42} Notification: Performance of prepare postOptimizeDAE: time 0.008262/6.75, allocations: 1.917 MB / 2.301 GB, free: 10.15 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003249/6.753, allocations: 0.651 MB / 2.302 GB, free: 9.812 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03984/6.793, allocations: 18.41 MB / 2.32 GB, free: 5.242 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.839e-05/6.793, allocations: 74.56 kB / 2.32 GB, free: 5.238 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.234e-05/6.793, allocations: 0 / 2.32 GB, free: 5.238 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02321/6.817, allocations: 9.636 MB / 2.329 GB, free: 1.426 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06719/6.884, allocations: 24.72 MB / 2.353 GB, free: 14.61 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001025/6.884, allocations: 16 kB / 2.353 GB, free: 14.6 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004987/6.889, allocations: 0.8577 MB / 2.354 GB, free: 13.85 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02774/6.917, allocations: 5.489 MB / 2.36 GB, free: 9.93 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002221/6.919, allocations: 225.4 kB / 2.36 GB, free: 9.738 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4363/7.355, allocations: 17.4 MB / 2.377 GB, free: 73.1 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.807e-05/7.355, allocations: 25.12 kB / 2.377 GB, free: 73.1 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03012/7.385, allocations: 16.84 MB / 2.393 GB, free: 71.41 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005773/7.391, allocations: 1.635 MB / 2.395 GB, free: 71.31 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003013/7.394, allocations: 167.9 kB / 2.395 GB, free: 71.31 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006807/7.401, allocations: 329.6 kB / 2.395 GB, free: 71.31 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002013/7.403, allocations: 465.7 kB / 2.396 GB, free: 71.29 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001856/7.405, allocations: 319.2 kB / 2.396 GB, free: 71.29 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.007615/7.413, allocations: 3.15 MB / 2.399 GB, free: 71.11 MB / 0.573 GB Notification: Performance of sort global known variables: time 7.72e-07/7.413, allocations: 0.7656 kB / 2.399 GB, free: 71.11 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.02642/7.439, allocations: 4.927 MB / 2.404 GB, free: 71.11 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 69 * Number of states: 22 (pipe1.mediums[1].T,pipe1.mediums[2].T,pipe2.mediums[1].T,pipe2.mediums[2].T,pipe3.mediums[1].T,pipe3.mediums[2].T,pipe4.mediums[1].T,pipe4.mediums[2].T,pipe6.mediums[1].T,pipe6.mediums[2].T,pipe7.mediums[1].T,pipe7.mediums[2].T,pipe8.mediums[1].T,pipe8.mediums[2].T,pipe9.mediums[1].T,pipe9.mediums[2].T,pipe10.mediums[1].T,pipe10.mediums[2].T,pipe5.mediums[1].T,pipe5.mediums[2].T,pipe11.mediums[1].T,pipe11.mediums[2].T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (500): * Single equations (assignments): 477 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 23 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 23 {1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,12 63} Notification: Performance of Backend phase and start with SimCode phase: time 0.0105/7.45, allocations: 2.434 MB / 2.406 GB, free: 71 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.04026/7.49, allocations: 15.6 MB / 2.422 GB, free: 70.61 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 3.351e-05/7.49, allocations: 8.219 kB / 2.422 GB, free: 70.61 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01292/7.503, allocations: 4.899 MB / 2.426 GB, free: 70.54 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03552/7.539, allocations: 2.676 MB / 2.429 GB, free: 70.51 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04117/7.58, allocations: 19.11 MB / 2.448 GB, free: 63.96 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006274/7.586, allocations: 4.38 MB / 2.452 GB, free: 63.09 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.02175/7.608, allocations: 9.073 MB / 2.461 GB, free: 63 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00373/7.612, allocations: 0.5854 MB / 2.461 GB, free: 63 MB / 0.573 GB Notification: Performance of SimCode: time 1.042e-06/7.612, allocations: 4 kB / 2.461 GB, free: 62.99 MB / 0.573 GB Notification: Performance of Templates: time 0.7176/8.329, allocations: 172.6 MB / 2.63 GB, free: 75.13 MB / 0.573 GB make -j1 -f Modelica_4.0.0_Modelica.Fluid.Examples.IncompressibleFluidNetwork.makefile (rm -f Modelica_4.0.0_Modelica.Fluid.Examples.IncompressibleFluidNetwork.pipe ; mkfifo Modelica_4.0.0_Modelica.Fluid.Examples.IncompressibleFluidNetwork.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Fluid.Examples.IncompressibleFluidNetwork.pipe >> ../files/Modelica_4.0.0_Modelica.Fluid.Examples.IncompressibleFluidNetwork.sim & ./Modelica_4.0.0_Modelica.Fluid.Examples.IncompressibleFluidNetwork -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Fluid.Examples.IncompressibleFluidNetwork.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Fluid.Examples.IncompressibleFluidNetwork_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Fluid/Examples/IncompressibleFluidNetwork/IncompressibleFluidNetwork.csv","../files/Modelica_4.0.0_Modelica.Fluid.Examples.IncompressibleFluidNetwork.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches