Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes17.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes17,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|junctionIdeal.medium.T|junctionIdeal.medium.p|junctionVolume.medium.T|pipe1.mediums.1..T|pipe1.mediums.1..p|pipe2.mediums.1..T|pipe2.mediums.1..p|pipe3.mediums.1..T|pipe3.mediums.1..p|valveOpening1.a|valveOpening1.b|valveOpening1.last|valveOpening1.nextEvent|valveOpening2.a|valveOpening2.b|valveOpening2.last|valveOpening2.nextEvent",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes17") translateModel(ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes17,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|junctionIdeal.medium.T|junctionIdeal.medium.p|junctionVolume.medium.T|pipe1.mediums.1..T|pipe1.mediums.1..p|pipe2.mediums.1..T|pipe2.mediums.1..p|pipe3.mediums.1..T|pipe3.mediums.1..p|valveOpening1.a|valveOpening1.b|valveOpening1.last|valveOpening1.nextEvent|valveOpening2.a|valveOpening2.b|valveOpening2.last|valveOpening2.nextEvent",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes17") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001124/0.001124, allocations: 176.7 kB / 8.008 MB, free: 1.066 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.711/1.711, allocations: 205.3 MB / 213.7 MB, free: 1.742 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008989/0.0008989, allocations: 86.67 kB / 261.7 MB, free: 1.688 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2567/0.2567, allocations: 43.5 MB / 353.2 MB, free: 288 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.968e-05/1.97e-05, allocations: 4 kB / 418.3 MB, free: 28.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1516/0.1516, allocations: 58.85 MB / 477.1 MB, free: 1.637 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.17/2.322, allocations: 0.6584 GB / 1.124 GB, free: 165.6 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002116/2.322, allocations: 86.8 kB / 1.124 GB, free: 165.6 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.558/4.88, allocations: 0.6026 GB / 1.727 GB, free: 39.47 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.134e-06/4.88, allocations: 0 / 1.727 GB, free: 39.47 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0004003/4.88, allocations: 66.92 kB / 1.727 GB, free: 39.46 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: 452 * Number of variables: 452 Notification: Performance of Generate backend data structure: time 0.01364/4.894, allocations: 3.193 MB / 1.73 GB, free: 38.12 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.286e-05/4.894, allocations: 12.62 kB / 1.73 GB, free: 38.12 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004203/4.898, allocations: 463.1 kB / 1.731 GB, free: 37.99 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00756/4.906, allocations: 1.995 MB / 1.733 GB, free: 37.54 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000182/4.906, allocations: 61.81 kB / 1.733 GB, free: 37.54 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001128/4.907, allocations: 107.4 kB / 1.733 GB, free: 37.54 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005228/4.912, allocations: 2.214 MB / 1.735 GB, free: 37.53 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006293/4.919, allocations: 2.474 MB / 1.737 GB, free: 37.08 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.099e-05/4.919, allocations: 7.156 kB / 1.737 GB, free: 37.08 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005833/4.919, allocations: 7.844 kB / 1.737 GB, free: 37.08 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002371/4.92, allocations: 160.4 kB / 1.738 GB, free: 37.08 MB / 0.5105 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.01905/4.939, allocations: 11.25 MB / 1.749 GB, free: 30.93 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002738/4.941, allocations: 1.773 MB / 1.75 GB, free: 30.62 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001432/4.943, allocations: 1.052 MB / 1.751 GB, free: 30.6 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009329/4.944, allocations: 451.9 kB / 1.752 GB, free: 30.32 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00184/4.946, allocations: 1.25 MB / 1.753 GB, free: 30.14 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=167): time 4.86e-06/4.946, allocations: 0 / 1.753 GB, free: 30.14 MB / 0.5105 GB Notification: Performance of matching and sorting (n=195): time 0.04163/4.987, allocations: 10.45 MB / 1.763 GB, free: 29.18 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001608/4.988, allocations: 363.3 kB / 1.763 GB, free: 28.78 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002661/4.99, allocations: 1.099 MB / 1.765 GB, free: 28.61 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0004869/4.991, allocations: 38.08 kB / 1.765 GB, free: 28.57 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.001133/4.992, allocations: 0.9376 MB / 1.765 GB, free: 28.18 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008791/4.993, allocations: 0.6341 MB / 1.766 GB, free: 27.76 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002967/4.993, allocations: 0 / 1.766 GB, free: 27.76 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001905/4.993, allocations: 396.3 kB / 1.766 GB, free: 27.46 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001705/4.995, allocations: 1.023 MB / 1.767 GB, free: 27.45 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002036/4.997, allocations: 1.497 MB / 1.769 GB, free: 26.98 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009148/5.006, allocations: 2.391 MB / 1.771 GB, free: 26.96 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.936e-05/5.006, allocations: 3.562 kB / 1.771 GB, free: 26.96 MB / 0.5105 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.01285/5.019, allocations: 4.215 MB / 1.775 GB, free: 26.74 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.001233/5.021, allocations: 4.253 MB / 1.78 GB, free: 22.42 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.402e-05/5.021, allocations: 12.09 kB / 1.78 GB, free: 22.42 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007012/5.021, allocations: 284.3 kB / 1.78 GB, free: 22.38 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002239/5.024, allocations: 0.5566 MB / 1.78 GB, free: 22.38 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001596/5.025, allocations: 3.03 MB / 1.783 GB, free: 19.79 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002638/5.028, allocations: 178.9 kB / 1.784 GB, free: 19.77 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003236/5.028, allocations: 204.5 kB / 1.784 GB, free: 19.77 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.293e-05/5.028, allocations: 5.688 kB / 1.784 GB, free: 19.77 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01056/5.039, allocations: 3.722 MB / 1.787 GB, free: 19.68 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.897e-05/5.039, allocations: 17.67 kB / 1.787 GB, free: 19.68 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005726/5.039, allocations: 277.8 kB / 1.788 GB, free: 19.64 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002075/5.041, allocations: 0.5482 MB / 1.788 GB, free: 19.64 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001473/5.043, allocations: 3.038 MB / 1.791 GB, free: 17.05 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002489/5.045, allocations: 176.2 kB / 1.791 GB, free: 17.03 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003287/5.046, allocations: 200.7 kB / 1.791 GB, free: 17.03 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition1,$whenCondition2,valveOpening1.a,valveOpening1.b,valveOpening1.last,$PRE.valveOpening1.nextEvent,valveOpening1.nextEvent,valveOpening1.nextEventScaled,valveOpening2.a,valveOpening2.b,valveOpening2.last,$PRE.valveOpening2.nextEvent,valveOpening2.nextEvent,valveOpening2.nextEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (261): * Single equations (assignments): 254 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 5 {1 1,1 1,1 1,1 7,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.000943/5.047, allocations: 237.1 kB / 1.792 GB, free: 16.85 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006656/5.047, allocations: 205.9 kB / 1.792 GB, free: 16.75 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01518/5.063, allocations: 4.474 MB / 1.796 GB, free: 16.56 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.869e-05/5.063, allocations: 18.72 kB / 1.796 GB, free: 16.56 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.646e-05/5.063, allocations: 0 / 1.796 GB, free: 16.56 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01207/5.075, allocations: 3.853 MB / 1.8 GB, free: 16.02 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02091/5.096, allocations: 7.612 MB / 1.808 GB, free: 14.81 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.488e-05/5.096, allocations: 7.281 kB / 1.808 GB, free: 14.81 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001757/5.098, allocations: 454.7 kB / 1.808 GB, free: 14.79 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007263/5.098, allocations: 289.1 kB / 1.808 GB, free: 14.74 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001953/5.098, allocations: 84.3 kB / 1.808 GB, free: 14.74 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003803/5.102, allocations: 3.722 MB / 1.812 GB, free: 27.46 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.04e-05/5.102, allocations: 7.719 kB / 1.812 GB, free: 27.46 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01584/5.118, allocations: 5.693 MB / 1.818 GB, free: 25.36 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001763/5.12, allocations: 0.5291 MB / 1.818 GB, free: 25.05 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003522/5.12, allocations: 30 kB / 1.818 GB, free: 25.04 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001428/5.122, allocations: 106.5 kB / 1.818 GB, free: 25.02 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002959/5.122, allocations: 174.8 kB / 1.818 GB, free: 24.99 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000271/5.122, allocations: 185.3 kB / 1.818 GB, free: 24.97 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.00126/5.124, allocations: 0.8019 MB / 1.819 GB, free: 24.63 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.443e-06/5.124, allocations: 0 / 1.819 GB, free: 24.63 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.006846/5.131, allocations: 1.917 MB / 1.821 GB, free: 23.48 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 24 * Number of states: 9 (pipe1.mediums[1].p,pipe1.mediums[1].T,pipe2.mediums[1].p,pipe2.mediums[1].T,pipe3.mediums[1].p,pipe3.mediums[1].T,junctionIdeal.medium.p,junctionIdeal.medium.T,junctionVolume.medium.T) * Number of discrete variables: 12 ($whenCondition1,$whenCondition2,valveOpening1.a,valveOpening1.b,valveOpening1.last,valveOpening1.nextEvent,valveOpening1.nextEventScaled,valveOpening2.a,valveOpening2.b,valveOpening2.last,valveOpening2.nextEvent,valveOpening2.nextEventScaled) * Number of discrete states: 12 (valveOpening2.nextEvent,valveOpening2.last,valveOpening2.nextEventScaled,valveOpening2.b,valveOpening2.a,$whenCondition2,valveOpening1.nextEvent,valveOpening1.last,valveOpening1.nextEventScaled,valveOpening1.b,valveOpening1.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (203): * Single equations (assignments): 196 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 4 {1 6,1 1,1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.005724/5.136, allocations: 2.834 MB / 1.824 GB, free: 21.25 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.006271/5.143, allocations: 4.389 MB / 1.828 GB, free: 17.2 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 7.143e-06/5.143, allocations: 0 / 1.828 GB, free: 17.2 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001962/5.145, allocations: 1.553 MB / 1.83 GB, free: 15.76 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004501/5.149, allocations: 0.9171 MB / 1.831 GB, free: 15.12 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007376/5.156, allocations: 4.148 MB / 1.835 GB, free: 11.42 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001442/5.158, allocations: 1.769 MB / 1.836 GB, free: 9.992 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0058/5.164, allocations: 1.464 MB / 1.838 GB, free: 8.988 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001097/5.165, allocations: 289.5 kB / 1.838 GB, free: 8.738 MB / 0.5261 GB Notification: Performance of SimCode: time 1.142e-06/5.165, allocations: 0 / 1.838 GB, free: 8.738 MB / 0.5261 GB Notification: Performance of Templates: time 0.4899/5.655, allocations: 66.31 MB / 1.903 GB, free: 64.98 MB / 0.5417 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes17.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes17.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes17.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes17.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes17.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes17 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes17.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes17_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestPipesAndValves/BranchingPipes17/BranchingPipes17.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes17.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches