Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Fluid.Examples.IncompressibleFluidNetwork.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) 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(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_3.2.3_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_3.2.3_Modelica.Fluid.Examples.IncompressibleFluidNetwork") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001355/0.001355, allocations: 182.7 kB / 18.04 MB, free: 3.777 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.393/1.393, allocations: 205.4 MB / 224.2 MB, free: 9.027 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.0007791/0.0007792, allocations: 82.36 kB / 272.5 MB, free: 8.254 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003058/0.000306, allocations: 12 kB / 329.4 MB, free: 15.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2283/0.2286, allocations: 47.56 MB / 377 MB, free: 45.63 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4351/0.6638, allocations: 280.9 MB / 0.6425 GB, free: 8.215 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001893/0.6641, allocations: 74.84 kB / 0.6426 GB, free: 8.18 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.828/6.492, allocations: 1.547 GB / 2.19 GB, free: 21.95 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.377e-06/6.492, allocations: 0 / 2.19 GB, free: 21.95 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.001399/6.493, allocations: 192.9 kB / 2.19 GB, free: 21.92 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.05232/6.546, allocations: 11.25 MB / 2.201 GB, free: 16.17 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.37e-05/6.546, allocations: 10.91 kB / 2.201 GB, free: 16.17 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01392/6.56, allocations: 1.288 MB / 2.203 GB, free: 15.77 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03189/6.592, allocations: 9.045 MB / 2.211 GB, free: 14.2 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009017/6.593, allocations: 430.7 kB / 2.212 GB, free: 14.18 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004235/6.597, allocations: 0.5377 MB / 2.212 GB, free: 14.18 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03926/6.636, allocations: 9.493 MB / 2.222 GB, free: 12.62 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005857/6.637, allocations: 23.03 kB / 2.222 GB, free: 12.61 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004597/6.641, allocations: 250.8 kB / 2.222 GB, free: 12.61 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001351/6.643, allocations: 0.5861 MB / 2.222 GB, free: 12.59 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02648/6.669, allocations: 8.127 MB / 2.23 GB, free: 12.43 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.08496/6.754, allocations: 34.89 MB / 2.264 GB, free: 3.516 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01503/6.77, allocations: 6.147 MB / 2.27 GB, free: 14.28 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008057/6.778, allocations: 3.702 MB / 2.274 GB, free: 11.14 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00649/6.784, allocations: 4.763 MB / 2.279 GB, free: 5.602 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001727/6.784, allocations: 102.4 kB / 2.279 GB, free: 5.496 MB / 0.5417 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00949/6.794, allocations: 1.668 MB / 2.28 GB, free: 4.16 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=500): time 2.379e-05/6.794, allocations: 4 kB / 2.28 GB, free: 4.156 MB / 0.5417 GB Notification: Performance of matching and sorting (n=632): time 0.6662/7.46, allocations: 51.52 MB / 2.331 GB, free: 46.29 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.886e-05/7.46, allocations: 171 kB / 2.331 GB, free: 46.16 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008348/7.469, allocations: 4.8 MB / 2.336 GB, free: 45.8 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.002239/7.471, allocations: 149.7 kB / 2.336 GB, free: 45.77 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.002644/7.474, allocations: 2.964 MB / 2.339 GB, free: 44.98 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.003757/7.477, allocations: 2.164 MB / 2.341 GB, free: 43.88 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001251/7.479, allocations: 145 kB / 2.341 GB, free: 43.88 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0005067/7.479, allocations: 0.5932 MB / 2.341 GB, free: 43.56 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007757/7.487, allocations: 3.919 MB / 2.345 GB, free: 43.55 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01007/7.497, allocations: 5.58 MB / 2.351 GB, free: 41.94 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01896/7.516, allocations: 10.05 MB / 2.361 GB, free: 40.25 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001422/7.516, allocations: 15.28 kB / 2.361 GB, free: 40.25 MB / 0.5417 GB Notification: Performance of matching and sorting (n=911) (initialization): time 0.03666/7.553, allocations: 12.45 MB / 2.373 GB, free: 39.5 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.001169/7.554, allocations: 1.384 MB / 2.374 GB, free: 37.84 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001666/7.554, allocations: 43.03 kB / 2.374 GB, free: 37.84 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03093/7.585, allocations: 5.258 MB / 2.379 GB, free: 37.66 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007578/7.593, allocations: 1.351 MB / 2.381 GB, free: 37.66 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01604/7.609, allocations: 17.42 MB / 2.398 GB, free: 25.69 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01101/7.62, allocations: 0.4966 MB / 2.398 GB, free: 25.67 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003509/7.624, allocations: 421.7 kB / 2.398 GB, free: 25.67 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/7.624, allocations: 4.547 kB / 2.398 GB, free: 25.67 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03549/7.659, allocations: 11.96 MB / 2.41 GB, free: 23.04 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002372/7.66, allocations: 44.47 kB / 2.41 GB, free: 23.03 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01182/7.671, allocations: 3.275 MB / 2.413 GB, free: 22.22 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008587/7.68, allocations: 1.376 MB / 2.415 GB, free: 22.09 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02168/7.702, allocations: 21.86 MB / 2.436 GB, free: 5.727 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01041/7.712, allocations: 496.5 kB / 2.437 GB, free: 5.605 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00327/7.716, allocations: 408.8 kB / 2.437 GB, free: 5.543 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.00935/7.725, allocations: 1.919 MB / 2.439 GB, free: 4.598 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003832/7.729, allocations: 0.6511 MB / 2.439 GB, free: 4.254 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03927/7.768, allocations: 13.44 MB / 2.453 GB, free: 15.57 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.64e-05/7.768, allocations: 69.06 kB / 2.453 GB, free: 15.56 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.014e-05/7.768, allocations: 3.938 kB / 2.453 GB, free: 15.56 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02846/7.797, allocations: 9.641 MB / 2.462 GB, free: 9.531 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06475/7.862, allocations: 24.76 MB / 2.486 GB, free: 5.254 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001587/7.862, allocations: 16 kB / 2.486 GB, free: 5.238 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005252/7.867, allocations: 0.8637 MB / 2.487 GB, free: 4.496 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02889/7.896, allocations: 5.524 MB / 2.492 GB, free: 0.4961 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002339/7.898, allocations: 230 kB / 2.493 GB, free: 312 kB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.5265/8.425, allocations: 17.44 MB / 2.51 GB, free: 62.3 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.265e-05/8.425, allocations: 23.84 kB / 2.51 GB, free: 62.3 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03674/8.462, allocations: 16.85 MB / 2.526 GB, free: 60.6 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007804/8.47, allocations: 1.71 MB / 2.528 GB, free: 60.51 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004103/8.474, allocations: 165.4 kB / 2.528 GB, free: 60.51 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008429/8.482, allocations: 333.9 kB / 2.528 GB, free: 60.51 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002632/8.485, allocations: 468.3 kB / 2.529 GB, free: 60.48 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002283/8.487, allocations: 323.8 kB / 2.529 GB, free: 60.48 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.009928/8.497, allocations: 3.153 MB / 2.532 GB, free: 60.3 MB / 0.573 GB Notification: Performance of sort global known variables: time 9.52e-07/8.497, allocations: 0 / 2.532 GB, free: 60.3 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.03067/8.528, allocations: 5.801 MB / 2.538 GB, free: 60.3 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.0163/8.544, allocations: 3.591 MB / 2.541 GB, free: 60.17 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.04041/8.585, allocations: 15.62 MB / 2.557 GB, free: 59.78 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 4.378e-05/8.585, allocations: 9.594 kB / 2.557 GB, free: 59.78 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01454/8.599, allocations: 4.903 MB / 2.561 GB, free: 59.71 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03926/8.639, allocations: 2.686 MB / 2.564 GB, free: 59.66 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05087/8.69, allocations: 19.11 MB / 2.583 GB, free: 53.09 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01144/8.701, allocations: 4.377 MB / 2.587 GB, free: 52.21 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.02549/8.727, allocations: 4.841 MB / 2.592 GB, free: 52 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006456/8.733, allocations: 0.5984 MB / 2.592 GB, free: 52 MB / 0.573 GB Notification: Performance of SimCode: time 1.573e-06/8.733, allocations: 3.594 kB / 2.592 GB, free: 52 MB / 0.573 GB Notification: Performance of Templates: time 0.8546/9.588, allocations: 185.2 MB / 2.773 GB, free: 54.69 MB / 0.573 GB make -j1 -f Modelica_3.2.3_Modelica.Fluid.Examples.IncompressibleFluidNetwork.makefile (rm -f Modelica_3.2.3_Modelica.Fluid.Examples.IncompressibleFluidNetwork.pipe ; mkfifo Modelica_3.2.3_Modelica.Fluid.Examples.IncompressibleFluidNetwork.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Fluid.Examples.IncompressibleFluidNetwork.pipe >> ../files/Modelica_3.2.3_Modelica.Fluid.Examples.IncompressibleFluidNetwork.sim & ./Modelica_3.2.3_Modelica.Fluid.Examples.IncompressibleFluidNetwork -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Fluid.Examples.IncompressibleFluidNetwork.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Fluid.Examples.IncompressibleFluidNetwork_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Fluid/Examples/IncompressibleFluidNetwork/IncompressibleFluidNetwork.csv","../files/Modelica_3.2.3_Modelica.Fluid.Examples.IncompressibleFluidNetwork.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches