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.001194/0.001194, allocations: 197 kB / 18.1 MB, free: 3.715 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.311/1.311, allocations: 226.5 MB / 245.4 MB, free: 6.473 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007869/0.0007871, allocations: 104 kB / 297.5 MB, free: 6.68 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002569/0.0002569, allocations: 8 kB / 358.1 MB, free: 10.09 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2285/0.2287, allocations: 51.29 MB / 409.4 MB, free: 27.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4703/0.6991, allocations: 277.4 MB / 0.6706 GB, free: 5.031 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002092/0.6994, allocations: 82.06 kB / 0.6707 GB, free: 4.992 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.057/5.756, allocations: 1.397 GB / 2.068 GB, free: 28.66 MB / 0.5261 GB Notification: Performance of FrontEnd: time 3.296e-06/5.756, allocations: 4.406 kB / 2.068 GB, free: 28.66 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.001188/5.757, allocations: 195 kB / 2.068 GB, free: 28.63 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.03733/5.795, allocations: 8.957 MB / 2.077 GB, free: 24.7 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.137e-05/5.795, allocations: 13.91 kB / 2.077 GB, free: 24.69 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01292/5.808, allocations: 1.285 MB / 2.078 GB, free: 24.29 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02794/5.836, allocations: 9.021 MB / 2.087 GB, free: 23 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000896/5.837, allocations: 428.2 kB / 2.087 GB, free: 22.99 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003625/5.84, allocations: 0.5409 MB / 2.088 GB, free: 22.99 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0314/5.872, allocations: 9.49 MB / 2.097 GB, free: 21.55 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004544/5.872, allocations: 23.53 kB / 2.097 GB, free: 21.54 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004203/5.877, allocations: 248.8 kB / 2.097 GB, free: 21.54 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0012/5.878, allocations: 0.5927 MB / 2.098 GB, free: 21.53 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02401/5.902, allocations: 8.131 MB / 2.106 GB, free: 21.48 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.07482/5.977, allocations: 34.92 MB / 2.14 GB, free: 6.145 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0166/5.993, allocations: 6.143 MB / 2.146 GB, free: 5.699 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008363/6.002, allocations: 3.703 MB / 2.149 GB, free: 4.344 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006035/6.008, allocations: 5.166 MB / 2.155 GB, free: 14.77 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000159/6.008, allocations: 103.2 kB / 2.155 GB, free: 14.69 MB / 0.5417 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.009358/6.017, allocations: 1.676 MB / 2.156 GB, free: 14.3 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=500): time 3.196e-05/6.018, allocations: 0 / 2.156 GB, free: 14.3 MB / 0.5417 GB Notification: Performance of matching and sorting (n=632): time 0.19/6.208, allocations: 51.52 MB / 2.207 GB, free: 4.082 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001288/6.208, allocations: 171.3 kB / 2.207 GB, free: 3.891 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.4472/6.655, allocations: 4.787 MB / 2.211 GB, free: 54.84 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.002652/6.658, allocations: 146.5 kB / 2.212 GB, free: 54.81 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.00437/6.662, allocations: 2.962 MB / 2.214 GB, free: 54.69 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.003963/6.666, allocations: 2.164 MB / 2.217 GB, free: 53.96 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009285/6.667, allocations: 142.4 kB / 2.217 GB, free: 53.96 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0004952/6.667, allocations: 0.5912 MB / 2.217 GB, free: 53.65 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007172/6.675, allocations: 3.914 MB / 2.221 GB, free: 53.63 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01162/6.686, allocations: 5.571 MB / 2.227 GB, free: 52.03 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01888/6.705, allocations: 10.04 MB / 2.236 GB, free: 50.34 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.00012/6.705, allocations: 15.03 kB / 2.236 GB, free: 50.34 MB / 0.5573 GB Notification: Performance of matching and sorting (n=911) (initialization): time 0.03563/6.741, allocations: 12.45 MB / 2.249 GB, free: 49.59 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.001099/6.742, allocations: 1.382 MB / 2.25 GB, free: 47.94 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000163/6.742, allocations: 42.47 kB / 2.25 GB, free: 47.94 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02953/6.772, allocations: 5.249 MB / 2.255 GB, free: 47.75 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006951/6.779, allocations: 1.347 MB / 2.256 GB, free: 47.75 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01416/6.793, allocations: 17.42 MB / 2.273 GB, free: 35.79 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009925/6.803, allocations: 0.5053 MB / 2.274 GB, free: 35.77 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002931/6.806, allocations: 414 kB / 2.274 GB, free: 35.77 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/6.806, allocations: 4.438 kB / 2.274 GB, free: 35.77 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03232/6.838, allocations: 11.94 MB / 2.286 GB, free: 35.37 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002635/6.839, allocations: 44.47 kB / 2.286 GB, free: 35.37 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01097/6.85, allocations: 3.276 MB / 2.289 GB, free: 35.18 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008064/6.858, allocations: 1.375 MB / 2.291 GB, free: 35.18 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02108/6.879, allocations: 21.85 MB / 2.312 GB, free: 22.32 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009355/6.888, allocations: 0.4966 MB / 2.312 GB, free: 22.3 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00284/6.891, allocations: 401.3 kB / 2.313 GB, free: 22.3 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.008847/6.9, allocations: 1.923 MB / 2.315 GB, free: 22.1 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003548/6.904, allocations: 0.6497 MB / 2.315 GB, free: 21.76 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04572/6.949, allocations: 18.41 MB / 2.333 GB, free: 20.03 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.651e-05/6.95, allocations: 66.33 kB / 2.333 GB, free: 20.03 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.704e-05/6.95, allocations: 0 / 2.333 GB, free: 20.03 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02484/6.974, allocations: 9.638 MB / 2.343 GB, free: 16.22 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06325/7.038, allocations: 24.6 MB / 2.367 GB, free: 6.504 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.016e-05/7.038, allocations: 13.62 kB / 2.367 GB, free: 6.504 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004686/7.043, allocations: 0.8628 MB / 2.368 GB, free: 6.422 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02674/7.069, allocations: 5.51 MB / 2.373 GB, free: 5.598 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002338/7.072, allocations: 230.7 kB / 2.373 GB, free: 5.496 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01481/7.087, allocations: 17.41 MB / 2.39 GB, free: 7.438 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.985e-05/7.087, allocations: 26.06 kB / 2.39 GB, free: 7.43 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04036/7.127, allocations: 16.91 MB / 2.407 GB, free: 15.98 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007126/7.134, allocations: 1.636 MB / 2.408 GB, free: 14.56 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003723/7.138, allocations: 168.6 kB / 2.408 GB, free: 14.41 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00727/7.145, allocations: 332.1 kB / 2.409 GB, free: 14.17 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002159/7.147, allocations: 458.8 kB / 2.409 GB, free: 13.88 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001986/7.149, allocations: 324.1 kB / 2.41 GB, free: 13.6 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.007892/7.157, allocations: 3.147 MB / 2.413 GB, free: 11.05 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6.61e-07/7.157, allocations: 0 / 2.413 GB, free: 11.05 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.02617/7.184, allocations: 4.944 MB / 2.417 GB, free: 6.609 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.01106/7.195, allocations: 2.435 MB / 2.42 GB, free: 5.16 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.4058/7.601, allocations: 16.31 MB / 2.436 GB, free: 81.04 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.436e-05/7.601, allocations: 5.656 kB / 2.436 GB, free: 81.04 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.01218/7.613, allocations: 4.897 MB / 2.441 GB, free: 80.97 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03512/7.648, allocations: 2.684 MB / 2.443 GB, free: 80.94 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03576/7.684, allocations: 19.12 MB / 2.462 GB, free: 74.42 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006485/7.69, allocations: 4.371 MB / 2.466 GB, free: 73.54 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0208/7.711, allocations: 9.058 MB / 2.475 GB, free: 73.46 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003537/7.715, allocations: 0.5975 MB / 2.476 GB, free: 73.46 MB / 0.5886 GB Notification: Performance of SimCode: time 9.72e-07/7.715, allocations: 0 / 2.476 GB, free: 73.46 MB / 0.5886 GB Notification: Performance of Templates: time 0.6998/8.415, allocations: 172.6 MB / 2.644 GB, free: 80.24 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/jenkins1/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