Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_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_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_Modelica.Fluid.Examples.IncompressibleFluidNetwork") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001231/0.001231, allocations: 199 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.196/1.196, allocations: 227.2 MB / 245 MB, free: 7.461 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007882/0.0007882, allocations: 108.8 kB / 297.3 MB, free: 6.156 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002073/0.0002073, allocations: 8 kB / 357.9 MB, free: 9.527 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1917/0.1919, allocations: 51.48 MB / 409.4 MB, free: 26.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.43/0.6219, allocations: 277.2 MB / 0.6705 GB, free: 3.508 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002315/0.6222, allocations: 80.75 kB / 0.6705 GB, free: 3.469 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.02/6.642, allocations: 1.535 GB / 2.206 GB, free: 26.65 MB / 0.5261 GB Notification: Performance of FrontEnd: time 5.681e-06/6.642, allocations: 2.562 kB / 2.206 GB, free: 26.65 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.001354/6.644, allocations: 196.4 kB / 2.206 GB, free: 26.62 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.04122/6.685, allocations: 9.023 MB / 2.215 GB, free: 23.05 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.345e-05/6.685, allocations: 9.094 kB / 2.215 GB, free: 23.05 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01396/6.699, allocations: 1.29 MB / 2.216 GB, free: 22.65 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02523/6.724, allocations: 6.326 MB / 2.222 GB, free: 21.63 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007183/6.725, allocations: 429.8 kB / 2.223 GB, free: 21.62 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00323/6.728, allocations: 0.5382 MB / 2.223 GB, free: 21.61 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03028/6.758, allocations: 9.456 MB / 2.232 GB, free: 20.16 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.00043/6.759, allocations: 17.28 kB / 2.233 GB, free: 20.16 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003719/6.763, allocations: 248.4 kB / 2.233 GB, free: 20.16 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001146/6.764, allocations: 0.5925 MB / 2.233 GB, free: 20.15 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02367/6.788, allocations: 8.126 MB / 2.241 GB, free: 20.11 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.07703/6.865, allocations: 34.97 MB / 2.275 GB, free: 20.91 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01412/6.879, allocations: 6.174 MB / 2.281 GB, free: 20.82 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006081/6.885, allocations: 5.166 MB / 2.286 GB, free: 15.29 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001537/6.885, allocations: 99.62 kB / 2.287 GB, free: 15.24 MB / 0.5417 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.008825/6.894, allocations: 1.68 MB / 2.288 GB, free: 14.97 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=500): time 3.936e-05/6.894, allocations: 0 / 2.288 GB, free: 14.97 MB / 0.5417 GB Notification: Performance of matching and sorting (n=632): time 0.1724/7.066, allocations: 50.78 MB / 2.338 GB, free: 6.734 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001217/7.067, allocations: 168.4 kB / 2.338 GB, free: 6.602 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009328/7.076, allocations: 4.254 MB / 2.342 GB, free: 4.5 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.00209/7.078, allocations: 146.9 kB / 2.342 GB, free: 4.352 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.00303/7.081, allocations: 2.968 MB / 2.345 GB, free: 1.66 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.003684/7.085, allocations: 2.164 MB / 2.347 GB, free: 15.7 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001806/7.087, allocations: 144 kB / 2.347 GB, free: 15.56 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0007309/7.087, allocations: 0.5864 MB / 2.348 GB, free: 15.05 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008142/7.096, allocations: 3.916 MB / 2.352 GB, free: 11.8 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009908/7.105, allocations: 5.549 MB / 2.357 GB, free: 6.465 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009847/7.115, allocations: 4.848 MB / 2.362 GB, free: 2.234 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.513e-05/7.115, allocations: 12 kB / 2.362 GB, free: 2.223 MB / 0.5573 GB Notification: Performance of matching and sorting (n=911) (initialization): time 0.483/7.598, allocations: 12.94 MB / 2.375 GB, free: 50.97 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.003867/7.602, allocations: 20.34 MB / 2.394 GB, free: 29.69 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001148/7.603, allocations: 44.5 kB / 2.395 GB, free: 29.69 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.031/7.634, allocations: 5.248 MB / 2.4 GB, free: 29.51 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006602/7.64, allocations: 1.357 MB / 2.401 GB, free: 29.51 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01248/7.653, allocations: 17.43 MB / 2.418 GB, free: 17.61 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01035/7.663, allocations: 0.5032 MB / 2.418 GB, free: 17.61 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003317/7.666, allocations: 414 kB / 2.419 GB, free: 17.61 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 5.843e-05/7.667, allocations: 5.594 kB / 2.419 GB, free: 17.61 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03107/7.698, allocations: 11.94 MB / 2.431 GB, free: 17.21 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002047/7.698, allocations: 43.25 kB / 2.431 GB, free: 17.21 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01073/7.709, allocations: 3.285 MB / 2.434 GB, free: 17.02 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007298/7.716, allocations: 1.376 MB / 2.435 GB, free: 17.02 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02237/7.738, allocations: 22.18 MB / 2.457 GB, free: 20.29 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01053/7.749, allocations: 0.4933 MB / 2.457 GB, free: 20.29 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003601/7.753, allocations: 406.7 kB / 2.458 GB, free: 20.29 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.009183/7.762, allocations: 1.916 MB / 2.46 GB, free: 20.1 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004043/7.766, allocations: 0.6521 MB / 2.46 GB, free: 20.1 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0416/7.807, allocations: 18.48 MB / 2.478 GB, free: 19.58 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.843e-05/7.808, allocations: 66.86 kB / 2.478 GB, free: 19.57 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.586e-05/7.808, allocations: 3.281 kB / 2.478 GB, free: 19.57 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02039/7.828, allocations: 9.65 MB / 2.488 GB, free: 18.95 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05815/7.886, allocations: 24.69 MB / 2.512 GB, free: 14.2 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.093e-05/7.886, allocations: 16.59 kB / 2.512 GB, free: 14.2 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004426/7.891, allocations: 0.8616 MB / 2.513 GB, free: 14.12 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0262/7.917, allocations: 5.498 MB / 2.518 GB, free: 13.3 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001902/7.919, allocations: 227.9 kB / 2.518 GB, free: 13.2 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01406/7.933, allocations: 17.4 MB / 2.535 GB, free: 15.13 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.835e-05/7.933, allocations: 21.28 kB / 2.535 GB, free: 15.12 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03455/7.968, allocations: 19.19 MB / 2.554 GB, free: 4.984 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006644/7.974, allocations: 1.66 MB / 2.556 GB, free: 4.168 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003013/7.977, allocations: 165 kB / 2.556 GB, free: 4.074 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007707/7.985, allocations: 330.3 kB / 2.556 GB, free: 3.98 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001936/7.987, allocations: 465.7 kB / 2.557 GB, free: 3.895 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002038/7.989, allocations: 315 kB / 2.557 GB, free: 3.848 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.008135/7.997, allocations: 3.2 MB / 2.56 GB, free: 2.789 MB / 0.5886 GB Notification: Performance of sort global known variables: time 4.71e-07/7.997, allocations: 3.938 kB / 2.56 GB, free: 2.789 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.02679/8.024, allocations: 5.117 MB / 2.565 GB, free: 2.348 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,10 65} Notification: Performance of Backend phase and start with SimCode phase: time 0.01225/8.037, allocations: 2.673 MB / 2.568 GB, free: 2.035 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.4786/8.515, allocations: 16.84 MB / 2.584 GB, free: 82.54 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.583e-05/8.515, allocations: 7.875 kB / 2.584 GB, free: 82.54 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.00924/8.524, allocations: 4.871 MB / 2.589 GB, free: 82.48 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01418/8.539, allocations: 2.632 MB / 2.591 GB, free: 82.45 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02969/8.568, allocations: 19.09 MB / 2.61 GB, free: 75.91 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004566/8.573, allocations: 4.502 MB / 2.614 GB, free: 75.04 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0184/8.591, allocations: 9.08 MB / 2.623 GB, free: 74.95 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002474/8.594, allocations: 0.5974 MB / 2.624 GB, free: 74.95 MB / 0.5886 GB Notification: Performance of SimCode: time 1.252e-06/8.594, allocations: 2.406 kB / 2.624 GB, free: 74.95 MB / 0.5886 GB Notification: Performance of Templates: time 0.6786/9.273, allocations: 173.8 MB / 2.794 GB, free: 81.07 MB / 0.5886 GB make -j1 -f Modelica_trunk_Modelica.Fluid.Examples.IncompressibleFluidNetwork.makefile (rm -f Modelica_trunk_Modelica.Fluid.Examples.IncompressibleFluidNetwork.pipe ; mkfifo Modelica_trunk_Modelica.Fluid.Examples.IncompressibleFluidNetwork.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Fluid.Examples.IncompressibleFluidNetwork.pipe >> ../files/Modelica_trunk_Modelica.Fluid.Examples.IncompressibleFluidNetwork.sim & ./Modelica_trunk_Modelica.Fluid.Examples.IncompressibleFluidNetwork -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Fluid.Examples.IncompressibleFluidNetwork.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Fluid.Examples.IncompressibleFluidNetwork_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Fluid/Examples/IncompressibleFluidNetwork/IncompressibleFluidNetwork.csv","../files/Modelica_trunk_Modelica.Fluid.Examples.IncompressibleFluidNetwork.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches