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.001103/0.001102, allocations: 181.2 kB / 17.01 MB, free: 5.125 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.524/1.524, allocations: 205.4 MB / 223.1 MB, free: 9.125 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.000891/0.0008909, allocations: 86.66 kB / 271.5 MB, free: 8.367 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003718/0.0003719, allocations: 4 kB / 328.2 MB, free: 15.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3338/0.3342, allocations: 47.57 MB / 375.8 MB, free: 45.64 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5645/0.8987, allocations: 280.6 MB / 0.641 GB, free: 8.754 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003228/0.8991, allocations: 80.34 kB / 0.6411 GB, free: 8.715 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.814/9.713, allocations: 1.682 GB / 2.323 GB, free: 25.13 MB / 0.5261 GB Notification: Performance of FrontEnd: time 3.747e-06/9.713, allocations: 0 / 2.323 GB, free: 25.13 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.001911/9.715, allocations: 197.2 kB / 2.323 GB, free: 25.1 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: 1492 * Number of variables: 1492 Notification: Performance of Generate backend data structure: time 0.08544/9.801, allocations: 11.33 MB / 2.334 GB, free: 20.34 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 8.277e-05/9.801, allocations: 8.594 kB / 2.334 GB, free: 20.34 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01742/9.818, allocations: 1.287 MB / 2.335 GB, free: 19.94 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03661/9.855, allocations: 6.366 MB / 2.342 GB, free: 18.92 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001532/9.857, allocations: 429.6 kB / 2.342 GB, free: 18.91 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005816/9.863, allocations: 0.5327 MB / 2.342 GB, free: 18.9 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04637/9.909, allocations: 9.454 MB / 2.352 GB, free: 17.46 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007768/9.91, allocations: 19.91 kB / 2.352 GB, free: 17.46 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005766/9.916, allocations: 247.1 kB / 2.352 GB, free: 17.46 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001563/9.917, allocations: 0.5846 MB / 2.352 GB, free: 17.45 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03308/9.95, allocations: 8.135 MB / 2.36 GB, free: 17.4 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.09996/10.05, allocations: 34.95 MB / 2.395 GB, free: 2.406 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01673/10.07, allocations: 6.171 MB / 2.401 GB, free: 2.305 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008082/10.08, allocations: 4.757 MB / 2.405 GB, free: 13.33 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002496/10.08, allocations: 99.95 kB / 2.405 GB, free: 13.29 MB / 0.5417 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01132/10.09, allocations: 1.677 MB / 2.407 GB, free: 13.02 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=500): time 7.664e-05/10.09, allocations: 1.969 kB / 2.407 GB, free: 13.02 MB / 0.5417 GB Notification: Performance of matching and sorting (n=632): time 0.2393/10.33, allocations: 50.81 MB / 2.457 GB, free: 9.285 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002568/10.33, allocations: 165.2 kB / 2.457 GB, free: 9.152 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01641/10.34, allocations: 4.258 MB / 2.461 GB, free: 7.73 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.003744/10.35, allocations: 142.2 kB / 2.461 GB, free: 7.613 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.005399/10.35, allocations: 2.968 MB / 2.464 GB, free: 5.301 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.006981/10.36, allocations: 2.16 MB / 2.466 GB, free: 3.621 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003445/10.36, allocations: 148.8 kB / 2.466 GB, free: 3.508 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.001411/10.36, allocations: 0.5856 MB / 2.467 GB, free: 3.082 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01139/10.38, allocations: 3.921 MB / 2.471 GB, free: 1.719 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01264/10.39, allocations: 5.551 MB / 2.476 GB, free: 14.55 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01336/10.4, allocations: 4.858 MB / 2.481 GB, free: 12.61 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001033/10.4, allocations: 15.62 kB / 2.481 GB, free: 12.61 MB / 0.5573 GB Notification: Performance of matching and sorting (n=911) (initialization): time 0.03857/10.44, allocations: 12.46 MB / 2.493 GB, free: 5.168 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.6898/11.13, allocations: 20.35 MB / 2.513 GB, free: 62.61 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002656/11.13, allocations: 39.75 kB / 2.513 GB, free: 62.61 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03564/11.17, allocations: 5.266 MB / 2.518 GB, free: 62.42 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009368/11.18, allocations: 1.358 MB / 2.519 GB, free: 62.42 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02094/11.2, allocations: 17.41 MB / 2.536 GB, free: 50.55 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01574/11.21, allocations: 0.5007 MB / 2.537 GB, free: 50.55 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004609/11.22, allocations: 416.2 kB / 2.537 GB, free: 50.55 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 2.213e-05/11.22, allocations: 3.875 kB / 2.537 GB, free: 50.55 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05077/11.27, allocations: 11.96 MB / 2.549 GB, free: 50.15 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004073/11.27, allocations: 42.5 kB / 2.549 GB, free: 50.15 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01312/11.28, allocations: 3.283 MB / 2.552 GB, free: 49.96 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008233/11.29, allocations: 1.383 MB / 2.553 GB, free: 49.96 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03017/11.32, allocations: 22.18 MB / 2.575 GB, free: 37.23 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01506/11.34, allocations: 499.8 kB / 2.576 GB, free: 37.23 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005194/11.34, allocations: 406.7 kB / 2.576 GB, free: 37.23 MB / 0.573 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.01345/11.35, allocations: 1.921 MB / 2.578 GB, free: 37.04 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006649/11.36, allocations: 0.6483 MB / 2.579 GB, free: 37.04 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04715/11.41, allocations: 13.49 MB / 2.592 GB, free: 36.5 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.794e-05/11.41, allocations: 64.38 kB / 2.592 GB, free: 36.5 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-05/11.41, allocations: 5.625 kB / 2.592 GB, free: 36.5 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02279/11.43, allocations: 9.663 MB / 2.601 GB, free: 35.88 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06042/11.49, allocations: 24.82 MB / 2.625 GB, free: 33.48 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.995e-05/11.49, allocations: 16.97 kB / 2.625 GB, free: 33.48 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004735/11.5, allocations: 0.8714 MB / 2.626 GB, free: 33.48 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02746/11.52, allocations: 5.524 MB / 2.632 GB, free: 33.26 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002364/11.53, allocations: 225.1 kB / 2.632 GB, free: 33.26 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01367/11.54, allocations: 17.4 MB / 2.649 GB, free: 20.45 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.588e-05/11.54, allocations: 24.66 kB / 2.649 GB, free: 20.45 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04072/11.58, allocations: 19.21 MB / 2.668 GB, free: 10.57 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01047/11.59, allocations: 1.733 MB / 2.669 GB, free: 9.715 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005494/11.6, allocations: 161.8 kB / 2.67 GB, free: 9.621 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01032/11.61, allocations: 333.6 kB / 2.67 GB, free: 9.527 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002759/11.61, allocations: 463.5 kB / 2.67 GB, free: 9.457 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002669/11.61, allocations: 331 kB / 2.671 GB, free: 9.406 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0105/11.62, allocations: 3.197 MB / 2.674 GB, free: 8.348 MB / 0.573 GB Notification: Performance of sort global known variables: time 7.21e-07/11.62, allocations: 1.031 kB / 2.674 GB, free: 8.348 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.04775/11.67, allocations: 5.98 MB / 2.68 GB, free: 7.844 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,10 65} Notification: Performance of Backend phase and start with SimCode phase: time 0.02182/11.69, allocations: 3.835 MB / 2.683 GB, free: 7.477 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.04482/11.74, allocations: 15.63 MB / 2.699 GB, free: 2.258 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 4.892e-05/11.74, allocations: 7.719 kB / 2.699 GB, free: 2.258 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01693/11.76, allocations: 5.149 MB / 2.704 GB, free: 15.08 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01761/11.77, allocations: 2.64 MB / 2.706 GB, free: 13.19 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5942/12.37, allocations: 19.08 MB / 2.725 GB, free: 71.61 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008738/12.38, allocations: 4.505 MB / 2.729 GB, free: 70.74 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.02227/12.4, allocations: 4.842 MB / 2.734 GB, free: 70.67 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004433/12.4, allocations: 0.6034 MB / 2.735 GB, free: 70.67 MB / 0.5886 GB Notification: Performance of SimCode: time 4.078e-06/12.4, allocations: 0 / 2.735 GB, free: 70.67 MB / 0.5886 GB Notification: Performance of Templates: time 0.3244/12.73, allocations: 186.2 MB / 2.916 GB, free: 10.07 MB / 0.5886 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/jenkins/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