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.001629/0.001629, allocations: 173 kB / 14.1 MB, free: 1.223 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.635/1.635, allocations: 205.2 MB / 219.8 MB, free: 14.27 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.001165/0.001165, allocations: 90.64 kB / 268 MB, free: 14.09 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.143e-05/3.146e-05, allocations: 4 kB / 322.4 MB, free: 17.36 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1058/0.1059, allocations: 47.56 MB / 370 MB, free: 1.738 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7727/0.8786, allocations: 280.5 MB / 0.6353 GB, free: 43.14 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002526/0.8789, allocations: 82.8 kB / 0.6354 GB, free: 43.11 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.981/8.86, allocations: 1.679 GB / 2.314 GB, free: 1.688 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.535e-06/8.86, allocations: 0 / 2.314 GB, free: 1.688 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.001125/8.861, allocations: 183.8 kB / 2.314 GB, free: 1.508 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.06483/8.926, allocations: 10.34 MB / 2.324 GB, free: 7.09 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.529e-05/8.926, allocations: 16.02 kB / 2.324 GB, free: 7.074 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01343/8.94, allocations: 1.271 MB / 2.325 GB, free: 5.793 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.5869/9.527, allocations: 6.332 MB / 2.332 GB, free: 22.58 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001383/9.528, allocations: 425.9 kB / 2.332 GB, free: 22.57 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005316/9.534, allocations: 0.5366 MB / 2.333 GB, free: 22.57 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04143/9.575, allocations: 9.315 MB / 2.342 GB, free: 21.12 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004173/9.575, allocations: 19.59 kB / 2.342 GB, free: 21.12 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004651/9.58, allocations: 247.6 kB / 2.342 GB, free: 21.12 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001407/9.582, allocations: 0.5924 MB / 2.343 GB, free: 21.11 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03109/9.613, allocations: 7.906 MB / 2.35 GB, free: 21.07 MB / 0.5261 GB Warning: The model contains alias variables with conflicting start and/or 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.08844/9.701, allocations: 34.95 MB / 2.384 GB, free: 22.61 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01294/9.714, allocations: 6.011 MB / 2.39 GB, free: 22.54 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009401/9.724, allocations: 3.62 MB / 2.394 GB, free: 22.51 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006787/9.73, allocations: 4.758 MB / 2.398 GB, free: 17.54 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001483/9.731, allocations: 93.02 kB / 2.399 GB, free: 17.5 MB / 0.5417 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.009052/9.74, allocations: 1.692 MB / 2.4 GB, free: 17.35 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=500): time 4.365e-05/9.74, allocations: 3.562 kB / 2.4 GB, free: 17.35 MB / 0.5417 GB Notification: Performance of matching and sorting (n=632): time 0.1563/9.896, allocations: 43.11 MB / 2.442 GB, free: 15.27 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001529/9.896, allocations: 169.8 kB / 2.442 GB, free: 15.14 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009636/9.906, allocations: 4.208 MB / 2.447 GB, free: 14.8 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.002909/9.909, allocations: 147.7 kB / 2.447 GB, free: 14.77 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.003529/9.912, allocations: 2.962 MB / 2.45 GB, free: 13.98 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.004831/9.917, allocations: 2.165 MB / 2.452 GB, free: 12.88 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001557/9.919, allocations: 144.2 kB / 2.452 GB, free: 12.88 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0008771/9.92, allocations: 0.5944 MB / 2.452 GB, free: 12.56 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008505/9.928, allocations: 3.811 MB / 2.456 GB, free: 11.23 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01191/9.94, allocations: 5.428 MB / 2.461 GB, free: 8.121 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01275/9.953, allocations: 4.773 MB / 2.466 GB, free: 6.48 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.268e-05/9.953, allocations: 11.12 kB / 2.466 GB, free: 6.48 MB / 0.5417 GB Notification: Performance of matching and sorting (n=911) (initialization): time 0.0423/9.996, allocations: 12.21 MB / 2.478 GB, free: 2.312 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.01269/10.01, allocations: 20.36 MB / 2.498 GB, free: 12.71 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002202/10.01, allocations: 44.38 kB / 2.498 GB, free: 12.71 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03082/10.04, allocations: 5.177 MB / 2.503 GB, free: 11.81 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007291/10.05, allocations: 1.354 MB / 2.504 GB, free: 11.77 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0181/10.06, allocations: 17.38 MB / 2.521 GB, free: 13.75 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0117/10.08, allocations: 0.4968 MB / 2.522 GB, free: 13.62 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003006/10.08, allocations: 422 kB / 2.522 GB, free: 13.56 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.847e-05/10.08, allocations: 3.438 kB / 2.522 GB, free: 13.56 MB / 0.5886 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.031/10.11, allocations: 11.72 MB / 2.534 GB, free: 9.504 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001758/10.11, allocations: 44 kB / 2.534 GB, free: 9.461 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01138/10.12, allocations: 3.26 MB / 2.537 GB, free: 6.977 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007741/10.13, allocations: 1.38 MB / 2.538 GB, free: 5.809 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.6126/10.74, allocations: 21.8 MB / 2.559 GB, free: 68.1 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01092/10.75, allocations: 497.5 kB / 2.56 GB, free: 68.1 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003061/10.76, allocations: 405.5 kB / 2.56 GB, free: 68.1 MB / 0.5886 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 () * 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.003367/10.76, allocations: 0.5102 MB / 2.561 GB, free: 67.99 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002541/10.76, allocations: 0.6496 MB / 2.561 GB, free: 67.99 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04124/10.8, allocations: 13.28 MB / 2.574 GB, free: 67.47 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001036/10.8, allocations: 64.78 kB / 2.575 GB, free: 67.47 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.352e-05/10.8, allocations: 4.969 kB / 2.575 GB, free: 67.47 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02185/10.83, allocations: 9.443 MB / 2.584 GB, free: 66.84 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06248/10.89, allocations: 24.59 MB / 2.608 GB, free: 64.46 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.17e-05/10.89, allocations: 15.31 kB / 2.608 GB, free: 64.46 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005403/10.89, allocations: 0.8687 MB / 2.609 GB, free: 64.46 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02744/10.92, allocations: 5.468 MB / 2.614 GB, free: 64.22 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002513/10.92, allocations: 226.1 kB / 2.614 GB, free: 64.22 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01367/10.94, allocations: 17.38 MB / 2.631 GB, free: 52.32 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.687e-05/10.94, allocations: 27.62 kB / 2.631 GB, free: 52.32 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03608/10.97, allocations: 18.91 MB / 2.65 GB, free: 47.82 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007379/10.98, allocations: 1.735 MB / 2.651 GB, free: 47.38 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003724/10.99, allocations: 168.5 kB / 2.651 GB, free: 47.38 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008414/10.99, allocations: 331.5 kB / 2.652 GB, free: 47.37 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002479/11, allocations: 466 kB / 2.652 GB, free: 47.35 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003037/11, allocations: 322.3 kB / 2.653 GB, free: 47.35 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.01061/11.01, allocations: 3.146 MB / 2.656 GB, free: 47.14 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5.81e-07/11.01, allocations: 0 / 2.656 GB, free: 47.14 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.04203/11.05, allocations: 5.983 MB / 2.661 GB, free: 47.14 MB / 0.5886 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 () * 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.02008/11.07, allocations: 3.829 MB / 2.665 GB, free: 46.97 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.04501/11.12, allocations: 15.45 MB / 2.68 GB, free: 43.66 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 4.964e-05/11.12, allocations: 8.906 kB / 2.68 GB, free: 43.66 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.01338/11.13, allocations: 4.792 MB / 2.685 GB, free: 42.22 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01864/11.15, allocations: 2.633 MB / 2.688 GB, free: 41.6 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03977/11.19, allocations: 14.32 MB / 2.702 GB, free: 36.55 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009159/11.2, allocations: 4.511 MB / 2.706 GB, free: 35.3 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.02433/11.22, allocations: 5.519 MB / 2.711 GB, free: 34.8 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0034/11.23, allocations: 0.537 MB / 2.712 GB, free: 34.76 MB / 0.5886 GB Notification: Performance of SimCode: time 1.042e-06/11.23, allocations: 0 / 2.712 GB, free: 34.76 MB / 0.5886 GB Notification: Performance of Templates: time 0.9015/12.13, allocations: 195.7 MB / 2.903 GB, free: 55.14 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