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.001957/0.001957, allocations: 186.3 kB / 16.4 MB, free: 5.75 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.956/1.956, allocations: 205.4 MB / 222.5 MB, free: 9.117 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.00167/0.00167, allocations: 96.41 kB / 270.9 MB, free: 8.367 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005311/0.0005312, allocations: 12 kB / 327 MB, free: 216 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3363/0.3369, allocations: 47.57 MB / 374.5 MB, free: 45.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6774/1.014, allocations: 280.6 MB / 0.6398 GB, free: 8.832 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002436/1.015, allocations: 83.77 kB / 0.6399 GB, free: 8.789 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.958/10.97, allocations: 1.682 GB / 2.322 GB, free: 24.95 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.915e-06/10.97, allocations: 0.8438 kB / 2.322 GB, free: 24.95 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.001059/10.97, allocations: 192.4 kB / 2.322 GB, free: 24.91 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.05616/11.03, allocations: 11.33 MB / 2.333 GB, free: 20.14 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.984e-05/11.03, allocations: 10.78 kB / 2.333 GB, free: 20.14 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01615/11.05, allocations: 1.289 MB / 2.334 GB, free: 19.74 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02837/11.07, allocations: 6.336 MB / 2.34 GB, free: 18.72 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007446/11.08, allocations: 437.2 kB / 2.341 GB, free: 18.71 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003314/11.08, allocations: 0.5359 MB / 2.341 GB, free: 18.71 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03747/11.12, allocations: 9.459 MB / 2.35 GB, free: 17.26 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000382/11.12, allocations: 18.62 kB / 2.35 GB, free: 17.26 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003689/11.12, allocations: 246.1 kB / 2.351 GB, free: 17.26 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001409/11.12, allocations: 0.5876 MB / 2.351 GB, free: 17.25 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03169/11.15, allocations: 8.126 MB / 2.359 GB, free: 17.2 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.09436/11.25, allocations: 34.94 MB / 2.393 GB, free: 2.203 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0198/11.27, allocations: 6.174 MB / 2.399 GB, free: 2.105 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009829/11.28, allocations: 4.76 MB / 2.404 GB, free: 13.13 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001772/11.28, allocations: 97.52 kB / 2.404 GB, free: 13.09 MB / 0.5417 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01249/11.29, allocations: 1.682 MB / 2.406 GB, free: 12.82 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=500): time 2.968e-05/11.29, allocations: 0 / 2.406 GB, free: 12.82 MB / 0.5417 GB Notification: Performance of matching and sorting (n=632): time 0.3111/11.6, allocations: 50.81 MB / 2.455 GB, free: 9.203 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001291/11.6, allocations: 170 kB / 2.455 GB, free: 9.066 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.012/11.61, allocations: 4.245 MB / 2.46 GB, free: 7.656 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.002473/11.62, allocations: 148.5 kB / 2.46 GB, free: 7.535 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.003805/11.62, allocations: 2.622 MB / 2.462 GB, free: 5.328 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.004971/11.63, allocations: 2.163 MB / 2.464 GB, free: 3.648 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001753/11.63, allocations: 143.8 kB / 2.465 GB, free: 3.535 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0006983/11.63, allocations: 0.5905 MB / 2.465 GB, free: 3.098 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01253/11.64, allocations: 3.928 MB / 2.469 GB, free: 1.738 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01535/11.66, allocations: 5.551 MB / 2.474 GB, free: 14.57 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01479/11.67, allocations: 4.854 MB / 2.479 GB, free: 12.62 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.409e-05/11.67, allocations: 12.56 kB / 2.479 GB, free: 12.62 MB / 0.5573 GB Notification: Performance of matching and sorting (n=911) (initialization): time 0.0458/11.72, allocations: 12.1 MB / 2.491 GB, free: 6.02 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.006489/11.72, allocations: 16.82 MB / 2.507 GB, free: 3.91 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001642/11.72, allocations: 40 kB / 2.507 GB, free: 3.871 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0563/11.78, allocations: 5.268 MB / 2.513 GB, free: 0 / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0206/11.8, allocations: 1.887 MB / 2.514 GB, free: 0 / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5366/12.34, allocations: 17.43 MB / 2.531 GB, free: 51.23 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01322/12.35, allocations: 0.5034 MB / 2.532 GB, free: 51.23 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002913/12.35, allocations: 417.5 kB / 2.532 GB, free: 51.23 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/12.35, allocations: 6.125 kB / 2.532 GB, free: 51.23 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0439/12.4, allocations: 11.95 MB / 2.544 GB, free: 50.83 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001689/12.4, allocations: 40.59 kB / 2.544 GB, free: 50.83 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01716/12.41, allocations: 2.977 MB / 2.547 GB, free: 50.64 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01196/12.43, allocations: 1.381 MB / 2.548 GB, free: 50.64 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03212/12.46, allocations: 22.11 MB / 2.57 GB, free: 37.92 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01013/12.47, allocations: 497.7 kB / 2.57 GB, free: 37.92 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002813/12.47, allocations: 411.1 kB / 2.571 GB, free: 37.92 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.008639/12.48, allocations: 1.924 MB / 2.573 GB, free: 37.73 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002846/12.48, allocations: 0.6424 MB / 2.573 GB, free: 37.73 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05378/12.54, allocations: 13.49 MB / 2.586 GB, free: 37.22 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000118/12.54, allocations: 66.28 kB / 2.587 GB, free: 37.22 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.696e-05/12.54, allocations: 5.828 kB / 2.587 GB, free: 37.22 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03402/12.57, allocations: 9.657 MB / 2.596 GB, free: 36.59 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07974/12.65, allocations: 24.83 MB / 2.62 GB, free: 34.2 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001344/12.65, allocations: 15.31 kB / 2.62 GB, free: 34.2 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008334/12.66, allocations: 0.8701 MB / 2.621 GB, free: 34.2 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.04745/12.71, allocations: 5.526 MB / 2.626 GB, free: 33.98 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00196/12.71, allocations: 224.1 kB / 2.627 GB, free: 33.98 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01874/12.73, allocations: 17.4 MB / 2.644 GB, free: 22.08 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.102e-05/12.73, allocations: 28.12 kB / 2.644 GB, free: 22.08 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04607/12.77, allocations: 19.21 MB / 2.662 GB, free: 12.24 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007181/12.78, allocations: 1.731 MB / 2.664 GB, free: 11.39 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002756/12.78, allocations: 162.4 kB / 2.664 GB, free: 11.29 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009549/12.79, allocations: 342.5 kB / 2.665 GB, free: 11.19 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001826/12.8, allocations: 463 kB / 2.665 GB, free: 11.12 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001169/12.8, allocations: 328.4 kB / 2.665 GB, free: 11.07 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.007713/12.8, allocations: 3.195 MB / 2.669 GB, free: 10.02 MB / 0.573 GB Notification: Performance of sort global known variables: time 6.61e-07/12.8, allocations: 3.969 kB / 2.669 GB, free: 10.02 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.03252/12.84, allocations: 5.967 MB / 2.674 GB, free: 9.516 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,10 65} Notification: Performance of Backend phase and start with SimCode phase: time 0.01874/12.86, allocations: 3.831 MB / 2.678 GB, free: 9.172 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.04943/12.91, allocations: 15.62 MB / 2.693 GB, free: 4.062 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 2.819e-05/12.91, allocations: 9.438 kB / 2.693 GB, free: 4.062 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01573/12.92, allocations: 4.883 MB / 2.698 GB, free: 2.484 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02191/12.94, allocations: 2.635 MB / 2.701 GB, free: 1.867 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06234/13.01, allocations: 19.92 MB / 2.72 GB, free: 3.781 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009965/13.02, allocations: 4.433 MB / 2.724 GB, free: 0.5352 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006315/13.02, allocations: 0.7117 MB / 2.725 GB, free: 0 / 0.5886 GB Notification: Performance of SimCode: time 2.054e-06/13.02, allocations: 336 / 2.725 GB, free: 0 / 0.5886 GB Notification: Performance of Templates: time 3.253/16.28, allocations: 0.7343 GB / 3.459 GB, free: 100.1 MB / 0.6198 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