Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.001458/0.001458, allocations: 177.3 kB / 17.41 MB, free: 4.414 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.513/1.513, allocations: 205.4 MB / 223.6 MB, free: 9.043 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.0007531/0.0007531, allocations: 88.98 kB / 271.9 MB, free: 8.281 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003599/0.0003599, allocations: 8 kB / 328.1 MB, free: 15.98 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2294/0.2298, allocations: 47.57 MB / 375.7 MB, free: 45.44 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4831/0.713, allocations: 280.9 MB / 0.6413 GB, free: 8.406 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002657/0.7133, allocations: 83.72 kB / 0.6413 GB, free: 8.367 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.668/7.381, allocations: 1.547 GB / 2.189 GB, free: 21.91 MB / 0.5105 GB Notification: Performance of FrontEnd: time 4.478e-06/7.381, allocations: 0 / 2.189 GB, free: 21.91 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.001798/7.383, allocations: 197.3 kB / 2.189 GB, free: 21.87 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.06358/7.447, allocations: 11.24 MB / 2.2 GB, free: 16.14 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.91e-05/7.447, allocations: 8.188 kB / 2.2 GB, free: 16.14 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01444/7.461, allocations: 1.285 MB / 2.201 GB, free: 15.74 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03391/7.495, allocations: 9.061 MB / 2.21 GB, free: 14.18 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001005/7.496, allocations: 425.1 kB / 2.21 GB, free: 14.17 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00482/7.501, allocations: 0.5351 MB / 2.211 GB, free: 14.16 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04008/7.541, allocations: 9.494 MB / 2.22 GB, free: 12.61 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007272/7.542, allocations: 24.91 kB / 2.22 GB, free: 12.6 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00517/7.547, allocations: 251.4 kB / 2.221 GB, free: 12.6 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001465/7.549, allocations: 0.5876 MB / 2.221 GB, free: 12.57 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02914/7.578, allocations: 8.13 MB / 2.229 GB, free: 12.39 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.09674/7.675, allocations: 34.89 MB / 2.263 GB, free: 3.691 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01577/7.691, allocations: 6.141 MB / 2.269 GB, free: 14.46 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008727/7.699, allocations: 3.701 MB / 2.273 GB, free: 11.32 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008476/7.708, allocations: 4.764 MB / 2.277 GB, free: 5.777 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002505/7.708, allocations: 98.86 kB / 2.277 GB, free: 5.672 MB / 0.5417 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0104/7.719, allocations: 1.664 MB / 2.279 GB, free: 4.336 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=500): time 3.469e-05/7.719, allocations: 0 / 2.279 GB, free: 4.336 MB / 0.5417 GB Notification: Performance of matching and sorting (n=632): time 0.7623/8.481, allocations: 51.53 MB / 2.329 GB, free: 46.24 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001624/8.481, allocations: 167.6 kB / 2.33 GB, free: 46.11 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0142/8.495, allocations: 4.798 MB / 2.334 GB, free: 45.75 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.002764/8.498, allocations: 149 kB / 2.334 GB, free: 45.72 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.004281/8.503, allocations: 2.963 MB / 2.337 GB, free: 44.94 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.004689/8.507, allocations: 2.166 MB / 2.339 GB, free: 43.84 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002623/8.51, allocations: 145.5 kB / 2.34 GB, free: 43.84 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0008922/8.511, allocations: 0.5924 MB / 2.34 GB, free: 43.52 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01024/8.521, allocations: 3.919 MB / 2.344 GB, free: 43.5 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01307/8.534, allocations: 5.58 MB / 2.349 GB, free: 41.89 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02454/8.559, allocations: 10.06 MB / 2.359 GB, free: 40.21 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001996/8.559, allocations: 13.38 kB / 2.359 GB, free: 40.21 MB / 0.5417 GB Notification: Performance of matching and sorting (n=911) (initialization): time 0.04597/8.605, allocations: 12.46 MB / 2.371 GB, free: 39.45 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.001453/8.607, allocations: 1.378 MB / 2.373 GB, free: 37.8 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002089/8.607, allocations: 43.5 kB / 2.373 GB, free: 37.8 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03279/8.64, allocations: 5.264 MB / 2.378 GB, free: 37.61 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008513/8.648, allocations: 1.346 MB / 2.379 GB, free: 37.61 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01663/8.665, allocations: 17.43 MB / 2.396 GB, free: 25.64 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01116/8.676, allocations: 0.4999 MB / 2.397 GB, free: 25.62 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003888/8.68, allocations: 422.2 kB / 2.397 GB, free: 25.62 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.932e-05/8.68, allocations: 3.562 kB / 2.397 GB, free: 25.62 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04045/8.721, allocations: 11.96 MB / 2.409 GB, free: 22.95 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003923/8.721, allocations: 45.62 kB / 2.409 GB, free: 22.95 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01206/8.733, allocations: 3.273 MB / 2.412 GB, free: 22.14 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007729/8.741, allocations: 1.375 MB / 2.413 GB, free: 22.01 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02326/8.764, allocations: 21.86 MB / 2.435 GB, free: 5.645 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01123/8.776, allocations: 496.3 kB / 2.435 GB, free: 5.52 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004173/8.78, allocations: 408.8 kB / 2.436 GB, free: 5.461 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.01133/8.791, allocations: 1.926 MB / 2.438 GB, free: 4.512 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004567/8.796, allocations: 0.6506 MB / 2.438 GB, free: 4.168 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04426/8.84, allocations: 13.44 MB / 2.451 GB, free: 15.49 MB / 0.5574 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001256/8.84, allocations: 70.25 kB / 2.451 GB, free: 15.48 MB / 0.5574 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.431e-05/8.84, allocations: 0 / 2.451 GB, free: 15.48 MB / 0.5574 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0309/8.871, allocations: 9.636 MB / 2.461 GB, free: 9.656 MB / 0.5574 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08163/8.953, allocations: 24.81 MB / 2.485 GB, free: 5.516 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001596/8.953, allocations: 17.56 kB / 2.485 GB, free: 5.5 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005701/8.959, allocations: 0.8622 MB / 2.486 GB, free: 4.758 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03028/8.989, allocations: 5.532 MB / 2.491 GB, free: 0.7539 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002872/8.992, allocations: 222.5 kB / 2.491 GB, free: 0.5664 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.6055/9.598, allocations: 17.41 MB / 2.508 GB, free: 62.25 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.213e-05/9.598, allocations: 26.09 kB / 2.508 GB, free: 62.25 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03516/9.633, allocations: 16.84 MB / 2.525 GB, free: 60.54 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008463/9.642, allocations: 1.71 MB / 2.527 GB, free: 60.45 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004594/9.646, allocations: 167.8 kB / 2.527 GB, free: 60.45 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01013/9.656, allocations: 329.4 kB / 2.527 GB, free: 60.45 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003239/9.66, allocations: 471.1 kB / 2.528 GB, free: 60.43 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003132/9.663, allocations: 325.1 kB / 2.528 GB, free: 60.43 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.01204/9.675, allocations: 3.152 MB / 2.531 GB, free: 60.25 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.183e-06/9.675, allocations: 0 / 2.531 GB, free: 60.25 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.04144/9.717, allocations: 5.801 MB / 2.537 GB, free: 60.25 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.02196/9.739, allocations: 3.596 MB / 2.54 GB, free: 60.11 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.04703/9.786, allocations: 15.61 MB / 2.555 GB, free: 59.71 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 4.895e-05/9.786, allocations: 5.812 kB / 2.555 GB, free: 59.71 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01502/9.801, allocations: 4.902 MB / 2.56 GB, free: 59.64 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03959/9.84, allocations: 2.683 MB / 2.563 GB, free: 59.59 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05/9.891, allocations: 19.35 MB / 2.582 GB, free: 52.99 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008547/9.899, allocations: 4.301 MB / 2.586 GB, free: 52.11 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004733/9.904, allocations: 0.6828 MB / 2.587 GB, free: 52.11 MB / 0.573 GB Notification: Performance of SimCode: time 2.685e-06/9.904, allocations: 0 / 2.587 GB, free: 52.11 MB / 0.573 GB Notification: Performance of Templates: time 3.151/13.05, allocations: 0.7735 GB / 3.36 GB, free: 97.18 MB / 0.6042 GB make -j1 -f Modelica_3.2.3_cpp_Modelica.Fluid.Examples.IncompressibleFluidNetwork.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Fluid.Examples.IncompressibleFluidNetwork.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Fluid.Examples.IncompressibleFluidNetwork.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Fluid.Examples.IncompressibleFluidNetwork.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Fluid.Examples.IncompressibleFluidNetwork.sim & ./Modelica_3.2.3_cpp_Modelica.Fluid.Examples.IncompressibleFluidNetwork --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Fluid.Examples.IncompressibleFluidNetwork.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_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_cpp_Modelica.Fluid.Examples.IncompressibleFluidNetwork.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches