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.002673/0.002672, allocations: 182.4 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.026/2.026, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001091/0.00109, allocations: 78.73 kB / 267.5 MB, free: 14.05 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.828e-05/2.847e-05, allocations: 4 kB / 321.5 MB, free: 17.86 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09663/0.09668, allocations: 47.57 MB / 369.1 MB, free: 2.219 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9448/1.042, allocations: 280.5 MB / 0.6344 GB, free: 43.33 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002714/1.042, allocations: 75.14 kB / 0.6345 GB, free: 43.3 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.818/10.86, allocations: 1.679 GB / 2.313 GB, free: 2.098 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.477e-06/10.86, allocations: 3.938 kB / 2.313 GB, free: 2.094 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.00123/10.86, allocations: 187.8 kB / 2.313 GB, free: 1.91 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.05665/10.92, allocations: 10.34 MB / 2.323 GB, free: 7.488 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.828e-05/10.92, allocations: 8.031 kB / 2.323 GB, free: 7.48 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01629/10.93, allocations: 1.283 MB / 2.325 GB, free: 6.188 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.576/11.51, allocations: 6.303 MB / 2.331 GB, free: 22.66 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001164/11.51, allocations: 429.6 kB / 2.331 GB, free: 22.65 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004489/11.52, allocations: 0.5325 MB / 2.332 GB, free: 22.65 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04301/11.56, allocations: 9.314 MB / 2.341 GB, free: 21.2 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003977/11.56, allocations: 19.94 kB / 2.341 GB, free: 21.2 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004103/11.56, allocations: 248.9 kB / 2.341 GB, free: 21.2 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001903/11.57, allocations: 0.5939 MB / 2.342 GB, free: 21.19 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03299/11.6, allocations: 7.9 MB / 2.349 GB, free: 21.14 MB / 0.5261 GB Warning: The model contains alias variables with conflicting start and/or 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.1029/11.7, allocations: 34.95 MB / 2.383 GB, free: 22.69 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02055/11.72, allocations: 6.02 MB / 2.389 GB, free: 22.61 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01087/11.73, allocations: 3.616 MB / 2.393 GB, free: 22.58 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009355/11.74, allocations: 4.756 MB / 2.397 GB, free: 17.61 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001574/11.74, allocations: 100.1 kB / 2.398 GB, free: 17.57 MB / 0.5417 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01277/11.76, allocations: 1.684 MB / 2.399 GB, free: 17.43 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=500): time 3.52e-05/11.76, allocations: 0 / 2.399 GB, free: 17.43 MB / 0.5417 GB Notification: Performance of matching and sorting (n=632): time 0.256/12.01, allocations: 43.13 MB / 2.441 GB, free: 15.35 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001648/12.01, allocations: 170.7 kB / 2.442 GB, free: 15.21 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01068/12.02, allocations: 4.203 MB / 2.446 GB, free: 14.87 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.002613/12.03, allocations: 143.9 kB / 2.446 GB, free: 14.84 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.003233/12.03, allocations: 2.619 MB / 2.448 GB, free: 14 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.004406/12.03, allocations: 2.171 MB / 2.45 GB, free: 12.91 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001231/12.03, allocations: 139.7 kB / 2.451 GB, free: 12.91 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0006986/12.04, allocations: 0.5962 MB / 2.451 GB, free: 12.58 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01199/12.05, allocations: 3.806 MB / 2.455 GB, free: 11.72 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01404/12.06, allocations: 5.434 MB / 2.46 GB, free: 8.605 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01491/12.08, allocations: 4.759 MB / 2.465 GB, free: 6.973 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.408e-05/12.08, allocations: 12.09 kB / 2.465 GB, free: 6.973 MB / 0.5417 GB Notification: Performance of matching and sorting (n=911) (initialization): time 0.04548/12.12, allocations: 11.87 MB / 2.476 GB, free: 2.988 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.008544/12.13, allocations: 16.82 MB / 2.493 GB, free: 1.156 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002232/12.13, allocations: 39.62 kB / 2.493 GB, free: 1.156 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05585/12.19, allocations: 5.177 MB / 2.498 GB, free: 268 kB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01217/12.2, allocations: 1.357 MB / 2.499 GB, free: 220 kB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02424/12.22, allocations: 17.38 MB / 2.516 GB, free: 2.207 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01498/12.24, allocations: 0.4968 MB / 2.517 GB, free: 2.078 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003473/12.24, allocations: 421.4 kB / 2.517 GB, free: 2.02 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 2.226e-05/12.24, allocations: 5.469 kB / 2.517 GB, free: 2.02 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05415/12.3, allocations: 11.98 MB / 2.529 GB, free: 15.15 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001748/12.3, allocations: 45.56 kB / 2.529 GB, free: 15.15 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01796/12.31, allocations: 2.951 MB / 2.532 GB, free: 12.89 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01333/12.33, allocations: 1.384 MB / 2.533 GB, free: 11.73 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.585/12.91, allocations: 21.72 MB / 2.554 GB, free: 73.08 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01116/12.92, allocations: 497 kB / 2.555 GB, free: 73.08 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002743/12.93, allocations: 404.8 kB / 2.555 GB, free: 73.08 MB / 0.5886 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 () * 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.003345/12.93, allocations: 0.5099 MB / 2.556 GB, free: 72.97 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002845/12.93, allocations: 0.649 MB / 2.556 GB, free: 72.97 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05202/12.99, allocations: 13.29 MB / 2.569 GB, free: 72.45 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001195/12.99, allocations: 64.94 kB / 2.569 GB, free: 72.45 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.3e-05/12.99, allocations: 1.75 kB / 2.569 GB, free: 72.45 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03265/13.02, allocations: 9.453 MB / 2.579 GB, free: 71.82 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08108/13.1, allocations: 24.58 MB / 2.603 GB, free: 69.43 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001039/13.1, allocations: 16.62 kB / 2.603 GB, free: 69.43 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008275/13.11, allocations: 0.8626 MB / 2.603 GB, free: 69.43 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0476/13.16, allocations: 5.459 MB / 2.609 GB, free: 69.2 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002145/13.16, allocations: 224.8 kB / 2.609 GB, free: 69.2 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01983/13.18, allocations: 17.38 MB / 2.626 GB, free: 57.31 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.017e-05/13.18, allocations: 23.12 kB / 2.626 GB, free: 57.31 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05138/13.23, allocations: 18.93 MB / 2.644 GB, free: 52.82 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008435/13.24, allocations: 1.73 MB / 2.646 GB, free: 52.39 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004286/13.24, allocations: 167.2 kB / 2.646 GB, free: 52.39 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01076/13.25, allocations: 338.9 kB / 2.647 GB, free: 52.38 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002315/13.25, allocations: 458.8 kB / 2.647 GB, free: 52.36 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001462/13.26, allocations: 329.8 kB / 2.647 GB, free: 52.36 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.007744/13.26, allocations: 3.143 MB / 2.65 GB, free: 52.15 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.152e-06/13.26, allocations: 0 / 2.65 GB, free: 52.15 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.03329/13.3, allocations: 5.969 MB / 2.656 GB, free: 52.15 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 () * 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.0184/13.32, allocations: 3.829 MB / 2.66 GB, free: 51.98 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0476/13.36, allocations: 15.26 MB / 2.675 GB, free: 49.37 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 3.175e-05/13.36, allocations: 5.062 kB / 2.675 GB, free: 49.37 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.01615/13.38, allocations: 4.804 MB / 2.68 GB, free: 47.93 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02355/13.4, allocations: 2.632 MB / 2.682 GB, free: 47.31 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04156/13.45, allocations: 14.46 MB / 2.696 GB, free: 42.16 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008492/13.45, allocations: 4.44 MB / 2.701 GB, free: 40.91 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005732/13.46, allocations: 0.6812 MB / 2.701 GB, free: 40.88 MB / 0.5886 GB Notification: Performance of SimCode: time 1.733e-06/13.46, allocations: 3.172 kB / 2.701 GB, free: 40.88 MB / 0.5886 GB Notification: Performance of Templates: time 3.361/16.82, allocations: 0.7345 GB / 3.436 GB, free: 106.9 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