Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Fluid.Examples.IncompressibleFluidNetwork.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_cpp_Modelica.Fluid.Examples.IncompressibleFluidNetwork") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002718/0.002718, allocations: 198.5 kB / 18.07 MB, free: 3.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 3.101/3.101, allocations: 226.5 MB / 245.4 MB, free: 8.195 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001221/0.001221, allocations: 106.7 kB / 297.4 MB, free: 6.879 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003678/0.0003679, allocations: 8 kB / 357.4 MB, free: 10.96 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4812/0.4816, allocations: 51.3 MB / 408.7 MB, free: 27.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9932/1.475, allocations: 277.4 MB / 0.6699 GB, free: 5.184 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000382/1.475, allocations: 83.33 kB / 0.67 GB, free: 5.141 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 11.2/12.67, allocations: 1.397 GB / 2.067 GB, free: 28.74 MB / 0.5261 GB Notification: Performance of FrontEnd: time 8.626e-06/12.67, allocations: 0 / 2.067 GB, free: 28.74 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.002566/12.68, allocations: 192.4 kB / 2.067 GB, free: 28.71 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.09748/12.77, allocations: 8.957 MB / 2.076 GB, free: 24.8 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 9.342e-05/12.77, allocations: 13.62 kB / 2.076 GB, free: 24.79 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02905/12.8, allocations: 1.285 MB / 2.077 GB, free: 24.39 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06265/12.87, allocations: 9.018 MB / 2.086 GB, free: 23.1 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001718/12.87, allocations: 426.8 kB / 2.087 GB, free: 23.09 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01181/12.88, allocations: 0.544 MB / 2.087 GB, free: 23.09 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06541/12.95, allocations: 9.495 MB / 2.096 GB, free: 21.64 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006594/12.95, allocations: 24.81 kB / 2.096 GB, free: 21.64 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01146/12.96, allocations: 247.9 kB / 2.097 GB, free: 21.64 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001798/12.96, allocations: 0.5912 MB / 2.097 GB, free: 21.63 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04319/13, allocations: 8.127 MB / 2.105 GB, free: 21.58 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.1489/13.15, allocations: 34.92 MB / 2.139 GB, free: 6.238 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03374/13.19, allocations: 6.149 MB / 2.145 GB, free: 5.797 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01693/13.2, allocations: 3.703 MB / 2.149 GB, free: 4.445 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01042/13.21, allocations: 5.165 MB / 2.154 GB, free: 14.87 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000311/13.21, allocations: 99.69 kB / 2.154 GB, free: 14.79 MB / 0.5417 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02061/13.23, allocations: 1.672 MB / 2.156 GB, free: 14.41 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=500): time 0.0001169/13.23, allocations: 2.531 kB / 2.156 GB, free: 14.41 MB / 0.5417 GB Notification: Performance of matching and sorting (n=632): time 0.445/13.68, allocations: 51.52 MB / 2.206 GB, free: 4.078 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002248/13.68, allocations: 171.5 kB / 2.206 GB, free: 3.887 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.335/15.01, allocations: 4.785 MB / 2.211 GB, free: 54.92 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.004395/15.02, allocations: 147.8 kB / 2.211 GB, free: 54.89 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.01509/15.03, allocations: 2.968 MB / 2.214 GB, free: 54.77 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.01337/15.05, allocations: 2.164 MB / 2.216 GB, free: 54.05 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.008391/15.06, allocations: 142.6 kB / 2.216 GB, free: 54.05 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.002111/15.06, allocations: 0.5865 MB / 2.217 GB, free: 53.73 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02763/15.09, allocations: 3.919 MB / 2.22 GB, free: 53.71 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03051/15.12, allocations: 5.569 MB / 2.226 GB, free: 52.11 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06036/15.18, allocations: 10.04 MB / 2.236 GB, free: 50.43 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003344/15.18, allocations: 12.94 kB / 2.236 GB, free: 50.43 MB / 0.5573 GB Notification: Performance of matching and sorting (n=911) (initialization): time 0.1017/15.28, allocations: 12.44 MB / 2.248 GB, free: 49.68 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.003326/15.29, allocations: 1.384 MB / 2.249 GB, free: 48.02 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004845/15.29, allocations: 44.44 kB / 2.249 GB, free: 48.02 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.07734/15.36, allocations: 5.245 MB / 2.254 GB, free: 47.84 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01825/15.38, allocations: 1.351 MB / 2.256 GB, free: 47.84 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03412/15.42, allocations: 17.42 MB / 2.273 GB, free: 35.87 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02261/15.44, allocations: 0.5049 MB / 2.273 GB, free: 35.85 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005513/15.45, allocations: 411.8 kB / 2.274 GB, free: 35.85 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.832e-05/15.45, allocations: 5.531 kB / 2.274 GB, free: 35.85 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.08433/15.53, allocations: 11.94 MB / 2.285 GB, free: 35.45 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004541/15.53, allocations: 43 kB / 2.285 GB, free: 35.45 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02396/15.55, allocations: 3.281 MB / 2.288 GB, free: 35.26 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01588/15.57, allocations: 1.374 MB / 2.29 GB, free: 35.26 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04787/15.62, allocations: 21.85 MB / 2.311 GB, free: 22.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02106/15.64, allocations: 0.4942 MB / 2.312 GB, free: 22.39 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004963/15.64, allocations: 402.1 kB / 2.312 GB, free: 22.39 MB / 0.5573 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.0216/15.67, allocations: 1.921 MB / 2.314 GB, free: 22.18 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006671/15.67, allocations: 0.6487 MB / 2.315 GB, free: 21.85 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.08404/15.76, allocations: 18.42 MB / 2.333 GB, free: 20.12 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000195/15.76, allocations: 66.41 kB / 2.333 GB, free: 20.12 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.725e-05/15.76, allocations: 0 / 2.333 GB, free: 20.12 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.04692/15.8, allocations: 9.634 MB / 2.342 GB, free: 16.31 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1089/15.91, allocations: 24.6 MB / 2.366 GB, free: 6.598 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002185/15.91, allocations: 16.03 kB / 2.366 GB, free: 6.598 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008533/15.92, allocations: 0.8591 MB / 2.367 GB, free: 6.516 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.04327/15.97, allocations: 5.508 MB / 2.372 GB, free: 5.691 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003736/15.97, allocations: 231.5 kB / 2.372 GB, free: 5.59 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0308/16, allocations: 17.41 MB / 2.389 GB, free: 7.523 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.609e-05/16, allocations: 30.06 kB / 2.389 GB, free: 7.516 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1103/16.11, allocations: 16.9 MB / 2.406 GB, free: 15.98 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.02738/16.14, allocations: 1.635 MB / 2.408 GB, free: 14.56 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01236/16.15, allocations: 169.5 kB / 2.408 GB, free: 14.41 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02877/16.18, allocations: 334.1 kB / 2.408 GB, free: 14.17 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0058/16.19, allocations: 460.7 kB / 2.409 GB, free: 13.87 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.005323/16.19, allocations: 320.5 kB / 2.409 GB, free: 13.6 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.01713/16.21, allocations: 3.151 MB / 2.412 GB, free: 11.04 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5.51e-07/16.21, allocations: 0 / 2.412 GB, free: 11.04 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.06166/16.27, allocations: 4.943 MB / 2.417 GB, free: 6.605 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 () * 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.0219/16.29, allocations: 2.439 MB / 2.419 GB, free: 5.16 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 1.012/17.3, allocations: 16.3 MB / 2.435 GB, free: 81.14 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 7.223e-05/17.3, allocations: 7.344 kB / 2.435 GB, free: 81.14 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.03387/17.34, allocations: 4.894 MB / 2.44 GB, free: 81.08 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.06145/17.4, allocations: 2.679 MB / 2.442 GB, free: 81.05 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0809/17.48, allocations: 19.35 MB / 2.461 GB, free: 74.49 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01552/17.5, allocations: 4.303 MB / 2.466 GB, free: 73.62 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007293/17.5, allocations: 0.6709 MB / 2.466 GB, free: 73.62 MB / 0.5886 GB Notification: Performance of SimCode: time 4.027e-06/17.5, allocations: 3.375 kB / 2.466 GB, free: 73.62 MB / 0.5886 GB Notification: Performance of Templates: time 5.384/22.89, allocations: 0.7631 GB / 3.229 GB, free: 47.62 MB / 0.6042 GB make -j1 -f Modelica_trunk_cpp_Modelica.Fluid.Examples.IncompressibleFluidNetwork.makefile (rm -f Modelica_trunk_cpp_Modelica.Fluid.Examples.IncompressibleFluidNetwork.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Fluid.Examples.IncompressibleFluidNetwork.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Fluid.Examples.IncompressibleFluidNetwork.pipe >> ../files/Modelica_trunk_cpp_Modelica.Fluid.Examples.IncompressibleFluidNetwork.sim & ./Modelica_trunk_cpp_Modelica.Fluid.Examples.IncompressibleFluidNetwork --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Fluid.Examples.IncompressibleFluidNetwork.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_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_trunk_cpp_Modelica.Fluid.Examples.IncompressibleFluidNetwork.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches