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.0008962/0.0008963, allocations: 182.8 kB / 13.19 MB, free: 2.129 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.136/1.136, allocations: 205.2 MB / 218.9 MB, free: 9.207 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.0007626/0.0007626, allocations: 92.25 kB / 267.1 MB, free: 9.266 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.297/0.297, allocations: 43.47 MB / 358.6 MB, free: 51.59 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.861e-05/1.862e-05, allocations: 4 kB / 425.3 MB, free: 8.195 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09193/0.09196, allocations: 58.84 MB / 484.2 MB, free: 13.25 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.322/1.414, allocations: 0.6591 GB / 1.132 GB, free: 169 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002613/1.414, allocations: 79.66 kB / 1.132 GB, free: 169 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.048/3.462, allocations: 0.6089 GB / 1.741 GB, free: 40.97 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.493e-06/3.462, allocations: 0 / 1.741 GB, free: 40.97 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0001883/3.462, allocations: 63.56 kB / 1.741 GB, free: 40.97 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: 452 * Number of variables: 452 Notification: Performance of Generate backend data structure: time 0.008973/3.471, allocations: 3.198 MB / 1.744 GB, free: 39.86 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.38e-05/3.471, allocations: 16 kB / 1.744 GB, free: 39.85 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002912/3.474, allocations: 454.8 kB / 1.744 GB, free: 39.72 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00465/3.479, allocations: 1.997 MB / 1.746 GB, free: 39.38 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001031/3.479, allocations: 137.7 kB / 1.747 GB, free: 39.37 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003388/3.479, allocations: 184 kB / 1.747 GB, free: 39.37 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004192/3.484, allocations: 2.713 MB / 1.749 GB, free: 38.91 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.658e-05/3.484, allocations: 8.781 kB / 1.749 GB, free: 38.91 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002325/3.484, allocations: 79.09 kB / 1.749 GB, free: 38.91 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001876/3.484, allocations: 156.6 kB / 1.75 GB, free: 38.91 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003403/3.487, allocations: 2.282 MB / 1.752 GB, free: 38.89 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.01516/3.503, allocations: 11.62 MB / 1.763 GB, free: 32.71 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002564/3.505, allocations: 1.843 MB / 1.765 GB, free: 32.39 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001589/3.507, allocations: 1.105 MB / 1.766 GB, free: 32.38 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00092/3.508, allocations: 457.7 kB / 1.766 GB, free: 32.09 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002024/3.51, allocations: 1.33 MB / 1.768 GB, free: 31.92 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=172): time 3.747e-06/3.51, allocations: 0 / 1.768 GB, free: 31.92 MB / 0.5261 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: pipe1.mediums[1].T 2: pipe2.mediums[1].T 3: pipe3.mediums[1].T 4: junctionVolume.medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=200): time 0.02551/3.535, allocations: 9.67 MB / 1.777 GB, free: 30.66 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000138/3.535, allocations: 365.2 kB / 1.778 GB, free: 30.25 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002236/3.538, allocations: 1.465 MB / 1.779 GB, free: 30.01 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0002679/3.538, allocations: 67.39 kB / 1.779 GB, free: 29.98 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007104/3.539, allocations: 0.9137 MB / 1.78 GB, free: 29.66 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.000518/3.539, allocations: 0.6757 MB / 1.781 GB, free: 29.23 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001476/3.539, allocations: 42.97 kB / 1.781 GB, free: 29.23 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001428/3.54, allocations: 389.9 kB / 1.781 GB, free: 28.93 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001446/3.541, allocations: 1.056 MB / 1.782 GB, free: 28.92 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001748/3.543, allocations: 1.527 MB / 1.784 GB, free: 28.45 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001754/3.545, allocations: 1.338 MB / 1.785 GB, free: 28.36 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.408e-06/3.545, allocations: 3.875 kB / 1.785 GB, free: 28.36 MB / 0.5261 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.005116/3.55, allocations: 3.302 MB / 1.788 GB, free: 28.06 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.000944/3.551, allocations: 4.338 MB / 1.792 GB, free: 23.55 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.327e-05/3.551, allocations: 13.75 kB / 1.792 GB, free: 23.55 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007281/3.551, allocations: 301.1 kB / 1.793 GB, free: 23.51 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002201/3.554, allocations: 0.5621 MB / 1.793 GB, free: 23.51 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001588/3.555, allocations: 3.005 MB / 1.796 GB, free: 20.92 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002739/3.558, allocations: 218.6 kB / 1.796 GB, free: 20.91 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003542/3.558, allocations: 207.9 kB / 1.797 GB, free: 20.91 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.285e-05/3.558, allocations: 3.375 kB / 1.797 GB, free: 20.91 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00476/3.563, allocations: 3.024 MB / 1.799 GB, free: 20.75 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.535e-05/3.563, allocations: 10.78 kB / 1.799 GB, free: 20.75 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006077/3.564, allocations: 312.1 kB / 1.8 GB, free: 20.71 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002109/3.566, allocations: 0.5541 MB / 1.8 GB, free: 20.71 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002607/3.568, allocations: 3.001 MB / 1.803 GB, free: 34.12 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002781/3.571, allocations: 216.5 kB / 1.803 GB, free: 34.11 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003033/3.572, allocations: 203.8 kB / 1.804 GB, free: 34.11 MB / 0.5417 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.0007839/3.572, allocations: 306.9 kB / 1.804 GB, free: 33.94 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003941/3.573, allocations: 237.4 kB / 1.804 GB, free: 33.82 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007361/3.58, allocations: 3.893 MB / 1.808 GB, free: 33.55 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.51e-05/3.58, allocations: 20.5 kB / 1.808 GB, free: 33.55 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.638e-06/3.58, allocations: 0 / 1.808 GB, free: 33.55 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003838/3.584, allocations: 2.981 MB / 1.811 GB, free: 32.96 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01257/3.597, allocations: 7.077 MB / 1.818 GB, free: 31.65 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-05/3.597, allocations: 7.188 kB / 1.818 GB, free: 31.65 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001725/3.598, allocations: 466.3 kB / 1.818 GB, free: 31.65 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007419/3.599, allocations: 320.4 kB / 1.819 GB, free: 31.61 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002012/3.599, allocations: 111.6 kB / 1.819 GB, free: 31.61 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002518/3.602, allocations: 3.74 MB / 1.822 GB, free: 28.29 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.805e-06/3.602, allocations: 14.41 kB / 1.822 GB, free: 28.29 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006634/3.609, allocations: 4.981 MB / 1.827 GB, free: 27.04 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001536/3.61, allocations: 0.5693 MB / 1.828 GB, free: 26.82 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000377/3.611, allocations: 60.12 kB / 1.828 GB, free: 26.82 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001448/3.612, allocations: 141.8 kB / 1.828 GB, free: 26.81 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003051/3.612, allocations: 191.5 kB / 1.828 GB, free: 26.8 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002528/3.613, allocations: 185.1 kB / 1.828 GB, free: 26.8 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001524/3.614, allocations: 1.113 MB / 1.829 GB, free: 26.64 MB / 0.5417 GB Notification: Performance of sort global known variables: time 3.21e-07/3.614, allocations: 0 / 1.829 GB, free: 26.64 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.006775/3.621, allocations: 2.093 MB / 1.831 GB, free: 26.38 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * 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 (206): * Single equations (assignments): 199 * 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.006097/3.627, allocations: 2.601 MB / 1.834 GB, free: 25.79 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.007306/3.634, allocations: 4.58 MB / 1.838 GB, free: 25.47 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.026e-05/3.634, allocations: 6.438 kB / 1.838 GB, free: 25.47 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.002386/3.637, allocations: 1.63 MB / 1.84 GB, free: 25.22 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005592/3.642, allocations: 1.125 MB / 1.841 GB, free: 25.18 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006876/3.649, allocations: 4.309 MB / 1.845 GB, free: 24.19 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001195/3.65, allocations: 1.774 MB / 1.847 GB, free: 23.45 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.005724/3.656, allocations: 1.596 MB / 1.849 GB, free: 23.3 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001004/3.657, allocations: 297.9 kB / 1.849 GB, free: 23.27 MB / 0.5417 GB Notification: Performance of SimCode: time 1.011e-06/3.657, allocations: 0 / 1.849 GB, free: 23.27 MB / 0.5417 GB Notification: Performance of Templates: time 0.479/4.136, allocations: 88.44 MB / 1.935 GB, free: 70.14 MB / 0.5573 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