Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15.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.BranchingPipes15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|junctionIdeal.medium.T|junctionIdeal.medium.p|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_cpp_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15") translateModel(ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|junctionIdeal.medium.T|junctionIdeal.medium.p|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_cpp_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009564/0.0009564, allocations: 180.5 kB / 17.41 MB, free: 4.406 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.274/1.274, allocations: 205.4 MB / 223.6 MB, free: 8.941 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.0007589/0.0007589, allocations: 94.3 kB / 271.9 MB, free: 8.23 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.3107/0.3107, allocations: 43.55 MB / 363.7 MB, free: 51.88 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003771/0.0003772, allocations: 12 kB / 432.6 MB, free: 5.656 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.11/0.1104, allocations: 58.85 MB / 491.4 MB, free: 10.72 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.379/1.489, allocations: 0.6922 GB / 1.172 GB, free: 121.2 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002692/1.49, allocations: 83.11 kB / 1.172 GB, free: 121.1 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.914/3.404, allocations: 0.5528 GB / 1.725 GB, free: 41.69 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.214e-06/3.404, allocations: 0 / 1.725 GB, free: 41.69 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0002124/3.404, allocations: 64.39 kB / 1.725 GB, free: 41.69 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: 427 * Number of variables: 427 Notification: Performance of Generate backend data structure: time 0.009502/3.413, allocations: 3.31 MB / 1.728 GB, free: 40.52 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.455e-05/3.413, allocations: 12.81 kB / 1.728 GB, free: 40.52 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002806/3.416, allocations: 447.1 kB / 1.729 GB, free: 40.39 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006783/3.423, allocations: 3.227 MB / 1.732 GB, free: 39.98 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001172/3.423, allocations: 127.1 kB / 1.732 GB, free: 39.98 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004295/3.424, allocations: 172.9 kB / 1.732 GB, free: 39.98 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004018/3.428, allocations: 2.647 MB / 1.735 GB, free: 39.55 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.565e-05/3.428, allocations: 10.72 kB / 1.735 GB, free: 39.54 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002403/3.428, allocations: 78.45 kB / 1.735 GB, free: 39.54 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001703/3.428, allocations: 151 kB / 1.735 GB, free: 39.54 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003503/3.432, allocations: 2.261 MB / 1.737 GB, free: 39.52 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.01353/3.445, allocations: 11.05 MB / 1.748 GB, free: 33.69 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002841/3.448, allocations: 1.815 MB / 1.75 GB, free: 33.37 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001479/3.45, allocations: 1.075 MB / 1.751 GB, free: 33.36 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002158/3.452, allocations: 2.435 MB / 1.753 GB, free: 31.38 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001796/3.454, allocations: 1.305 MB / 1.754 GB, free: 31.21 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=162): time 3.827e-06/3.454, allocations: 2.297 kB / 1.754 GB, free: 31.21 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: junctionIdeal.medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=185): time 0.02588/3.479, allocations: 10.88 MB / 1.765 GB, free: 29.62 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001107/3.48, allocations: 366.8 kB / 1.765 GB, free: 29.21 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002452/3.482, allocations: 1.605 MB / 1.767 GB, free: 29.03 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0003727/3.482, allocations: 62.05 kB / 1.767 GB, free: 29 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005619/3.483, allocations: 0.8648 MB / 1.768 GB, free: 28.7 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004717/3.483, allocations: 0.6178 MB / 1.768 GB, free: 28.3 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001579/3.484, allocations: 38.16 kB / 1.769 GB, free: 28.3 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.427e-05/3.484, allocations: 387.2 kB / 1.769 GB, free: 28 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001556/3.485, allocations: 1.04 MB / 1.77 GB, free: 28 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001708/3.487, allocations: 1.497 MB / 1.771 GB, free: 27.58 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003295/3.49, allocations: 2.662 MB / 1.774 GB, free: 27.09 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.653e-06/3.49, allocations: 0 / 1.774 GB, free: 27.09 MB / 0.5261 GB Notification: Performance of matching and sorting (n=260) (initialization): time 0.004988/3.495, allocations: 3.168 MB / 1.777 GB, free: 26.8 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001679/3.496, allocations: 432.5 kB / 1.777 GB, free: 26.33 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.401e-05/3.496, allocations: 10.69 kB / 1.777 GB, free: 26.33 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000427/3.496, allocations: 193.3 kB / 1.778 GB, free: 26.3 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002109/3.498, allocations: 0.5331 MB / 1.778 GB, free: 26.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001001/3.499, allocations: 2.326 MB / 1.78 GB, free: 24.23 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002472/3.502, allocations: 217.6 kB / 1.781 GB, free: 24.21 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003736/3.502, allocations: 191.5 kB / 1.781 GB, free: 24.21 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.057e-05/3.502, allocations: 3.469 kB / 1.781 GB, free: 24.21 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004462/3.506, allocations: 2.89 MB / 1.784 GB, free: 24.07 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.878e-05/3.506, allocations: 15.72 kB / 1.784 GB, free: 24.07 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003614/3.507, allocations: 183.9 kB / 1.784 GB, free: 24.04 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002002/3.509, allocations: 0.5281 MB / 1.784 GB, free: 24.04 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009625/3.51, allocations: 2.327 MB / 1.787 GB, free: 21.96 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002245/3.512, allocations: 210.7 kB / 1.787 GB, free: 21.96 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002931/3.512, allocations: 184.3 kB / 1.787 GB, free: 21.96 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (246): * Single equations (assignments): 240 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 1,1 1,1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.001418/3.514, allocations: 0.6884 MB / 1.788 GB, free: 21.7 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000436/3.514, allocations: 216.5 kB / 1.788 GB, free: 21.59 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006552/3.521, allocations: 3.768 MB / 1.792 GB, free: 21.32 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.357e-05/3.521, allocations: 18 kB / 1.792 GB, free: 21.32 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.688e-06/3.521, allocations: 3.938 kB / 1.792 GB, free: 21.32 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003433/3.524, allocations: 2.798 MB / 1.794 GB, free: 20.73 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01033/3.535, allocations: 6.672 MB / 1.801 GB, free: 19.45 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.729e-06/3.535, allocations: 3.438 kB / 1.801 GB, free: 19.45 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001686/3.536, allocations: 436.8 kB / 1.801 GB, free: 19.45 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003859/3.537, allocations: 186.9 kB / 1.801 GB, free: 19.42 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001832/3.537, allocations: 96.95 kB / 1.802 GB, free: 19.42 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002269/3.539, allocations: 3.07 MB / 1.805 GB, free: 32.61 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.572e-06/3.539, allocations: 10.34 kB / 1.805 GB, free: 32.61 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005721/3.545, allocations: 4.317 MB / 1.809 GB, free: 31.95 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001395/3.546, allocations: 0.555 MB / 1.809 GB, free: 31.74 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004083/3.547, allocations: 60.5 kB / 1.809 GB, free: 31.74 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001417/3.548, allocations: 135.6 kB / 1.809 GB, free: 31.73 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002818/3.549, allocations: 165 kB / 1.81 GB, free: 31.73 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002331/3.549, allocations: 164.8 kB / 1.81 GB, free: 31.73 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001464/3.55, allocations: 1.095 MB / 1.811 GB, free: 31.58 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.3e-07/3.55, allocations: 0 / 1.811 GB, free: 31.58 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.005999/3.556, allocations: 1.929 MB / 1.813 GB, free: 31.34 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 8 (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) * 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (191): * Single equations (assignments): 185 * 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: 4 * 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: 3 {1 1,1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.005152/3.562, allocations: 2.381 MB / 1.815 GB, free: 30.8 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.006914/3.568, allocations: 4.352 MB / 1.819 GB, free: 30.49 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.001e-05/3.568, allocations: 0 / 1.819 GB, free: 30.49 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.002054/3.571, allocations: 1.525 MB / 1.821 GB, free: 30.24 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006313/3.577, allocations: 0.9953 MB / 1.822 GB, free: 30.21 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008378/3.585, allocations: 5.727 MB / 1.827 GB, free: 28.07 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001091/3.586, allocations: 1.659 MB / 1.829 GB, free: 27.34 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001748/3.588, allocations: 368.5 kB / 1.829 GB, free: 27.33 MB / 0.5417 GB Notification: Performance of SimCode: time 7.42e-07/3.588, allocations: 0 / 1.829 GB, free: 27.33 MB / 0.5417 GB Notification: Performance of Templates: time 0.09466/3.683, allocations: 85.18 MB / 1.913 GB, free: 6.422 MB / 0.5573 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestPipesAndValves/BranchingPipes15/BranchingPipes15.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches