Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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_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_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.00141/0.00141, allocations: 175.8 kB / 16.76 MB, free: 5.051 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.344/1.344, allocations: 205.4 MB / 222.9 MB, free: 9.023 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.0007426/0.0007424, allocations: 91.84 kB / 271.3 MB, free: 8.246 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.3297/0.3297, allocations: 43.56 MB / 363.1 MB, free: 52.14 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003663/0.0003664, allocations: 16 kB / 432.6 MB, free: 5.191 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1113/0.1117, allocations: 58.85 MB / 491.5 MB, free: 10.26 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.42/1.532, allocations: 0.6922 GB / 1.172 GB, free: 120.9 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002568/1.532, allocations: 81.81 kB / 1.172 GB, free: 120.8 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.981/3.513, allocations: 0.5528 GB / 1.725 GB, free: 41.61 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.274e-06/3.513, allocations: 3.25 kB / 1.725 GB, free: 41.61 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0003339/3.513, allocations: 62.39 kB / 1.725 GB, free: 41.61 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.01255/3.526, allocations: 3.307 MB / 1.728 GB, free: 40.45 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.535e-05/3.526, allocations: 13.72 kB / 1.728 GB, free: 40.44 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003761/3.529, allocations: 455.4 kB / 1.729 GB, free: 40.32 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008988/3.538, allocations: 3.225 MB / 1.732 GB, free: 39.9 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003326/3.539, allocations: 136.1 kB / 1.732 GB, free: 39.89 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001355/3.54, allocations: 166.9 kB / 1.732 GB, free: 39.89 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007065/3.547, allocations: 2.651 MB / 1.735 GB, free: 39.46 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.231e-05/3.547, allocations: 11.91 kB / 1.735 GB, free: 39.46 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006341/3.548, allocations: 73.86 kB / 1.735 GB, free: 39.46 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000242/3.548, allocations: 150 kB / 1.735 GB, free: 39.46 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004751/3.553, allocations: 2.261 MB / 1.737 GB, free: 39.44 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.0172/3.57, allocations: 11.05 MB / 1.748 GB, free: 33.6 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003331/3.574, allocations: 1.813 MB / 1.75 GB, free: 33.29 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001714/3.575, allocations: 1.082 MB / 1.751 GB, free: 33.27 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002531/3.578, allocations: 2.435 MB / 1.753 GB, free: 31.29 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002041/3.58, allocations: 1.298 MB / 1.754 GB, free: 31.12 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=162): time 5.04e-06/3.58, allocations: 0 / 1.754 GB, free: 31.12 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.02928/3.609, allocations: 10.89 MB / 1.765 GB, free: 29.54 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001338/3.609, allocations: 361 kB / 1.765 GB, free: 29.12 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003553/3.613, allocations: 1.602 MB / 1.767 GB, free: 28.95 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0003689/3.613, allocations: 62.58 kB / 1.767 GB, free: 28.91 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008266/3.614, allocations: 0.8659 MB / 1.768 GB, free: 28.61 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006263/3.615, allocations: 0.6213 MB / 1.769 GB, free: 28.21 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002386/3.615, allocations: 40.16 kB / 1.769 GB, free: 28.21 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001525/3.615, allocations: 389.3 kB / 1.769 GB, free: 27.91 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001846/3.617, allocations: 1.043 MB / 1.77 GB, free: 27.91 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002184/3.619, allocations: 1.494 MB / 1.771 GB, free: 27.48 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004245/3.624, allocations: 2.66 MB / 1.774 GB, free: 27 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.188e-05/3.624, allocations: 0 / 1.774 GB, free: 27 MB / 0.5261 GB Notification: Performance of matching and sorting (n=260) (initialization): time 0.006257/3.63, allocations: 3.161 MB / 1.777 GB, free: 26.71 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002274/3.63, allocations: 443.5 kB / 1.777 GB, free: 26.24 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.733e-05/3.63, allocations: 6.625 kB / 1.778 GB, free: 26.24 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004199/3.631, allocations: 183.2 kB / 1.778 GB, free: 26.21 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002205/3.633, allocations: 0.5398 MB / 1.778 GB, free: 26.21 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001081/3.634, allocations: 2.33 MB / 1.78 GB, free: 24.14 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002491/3.636, allocations: 217.5 kB / 1.781 GB, free: 24.12 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003904/3.637, allocations: 188.6 kB / 1.781 GB, free: 24.12 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.122e-05/3.637, allocations: 3.75 kB / 1.781 GB, free: 24.12 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005005/3.642, allocations: 2.881 MB / 1.784 GB, free: 23.98 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.184e-05/3.642, allocations: 16.91 kB / 1.784 GB, free: 23.98 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003597/3.642, allocations: 194.6 kB / 1.784 GB, free: 23.95 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002098/3.644, allocations: 0.5209 MB / 1.784 GB, free: 23.95 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001055/3.646, allocations: 2.327 MB / 1.787 GB, free: 21.88 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002458/3.648, allocations: 211.9 kB / 1.787 GB, free: 21.87 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003684/3.648, allocations: 183.6 kB / 1.787 GB, free: 21.87 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.001629/3.65, allocations: 0.6911 MB / 1.788 GB, free: 21.61 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006529/3.651, allocations: 217 kB / 1.788 GB, free: 21.5 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007441/3.658, allocations: 3.757 MB / 1.792 GB, free: 21.23 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.307e-05/3.658, allocations: 22.55 kB / 1.792 GB, free: 21.23 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.17e-05/3.658, allocations: 0 / 1.792 GB, free: 21.23 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003779/3.662, allocations: 2.795 MB / 1.794 GB, free: 20.65 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01209/3.674, allocations: 6.682 MB / 1.801 GB, free: 19.36 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-05/3.674, allocations: 6.969 kB / 1.801 GB, free: 19.36 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00174/3.676, allocations: 435.5 kB / 1.801 GB, free: 19.36 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004263/3.676, allocations: 181.8 kB / 1.801 GB, free: 19.33 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002158/3.677, allocations: 99.39 kB / 1.802 GB, free: 19.33 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002338/3.679, allocations: 3.072 MB / 1.805 GB, free: 32.53 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.432e-06/3.679, allocations: 9.594 kB / 1.805 GB, free: 32.53 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006464/3.685, allocations: 4.308 MB / 1.809 GB, free: 31.87 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001536/3.687, allocations: 0.5589 MB / 1.809 GB, free: 31.66 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007729/3.688, allocations: 62.53 kB / 1.809 GB, free: 31.66 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001995/3.69, allocations: 136.2 kB / 1.81 GB, free: 31.64 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003433/3.69, allocations: 167.9 kB / 1.81 GB, free: 31.64 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003035/3.69, allocations: 161.8 kB / 1.81 GB, free: 31.64 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.002133/3.693, allocations: 1.091 MB / 1.811 GB, free: 31.49 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.7e-07/3.693, allocations: 0 / 1.811 GB, free: 31.49 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.007479/3.7, allocations: 1.929 MB / 1.813 GB, free: 31.25 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.006486/3.707, allocations: 2.379 MB / 1.815 GB, free: 30.71 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.008115/3.715, allocations: 4.355 MB / 1.819 GB, free: 30.41 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.315e-05/3.715, allocations: 4.094 kB / 1.819 GB, free: 30.41 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.00237/3.717, allocations: 1.528 MB / 1.821 GB, free: 30.16 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007577/3.725, allocations: 0.9993 MB / 1.822 GB, free: 30.12 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00918/3.734, allocations: 5.632 MB / 1.827 GB, free: 28.02 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001694/3.736, allocations: 1.681 MB / 1.829 GB, free: 27.28 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.006191/3.742, allocations: 1.352 MB / 1.83 GB, free: 27.22 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001461/3.743, allocations: 300.6 kB / 1.831 GB, free: 27.2 MB / 0.5417 GB Notification: Performance of SimCode: time 7.71e-07/3.743, allocations: 4 kB / 1.831 GB, free: 27.19 MB / 0.5417 GB Notification: Performance of Templates: time 0.1057/3.849, allocations: 74.3 MB / 1.903 GB, free: 15.55 MB / 0.5573 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_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_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches