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.001599/0.001599, allocations: 182.7 kB / 15.76 MB, free: 6.367 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.479/1.479, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.0008642/0.0008642, allocations: 94.84 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1973/0.1973, allocations: 43.56 MB / 362.1 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000316/0.0003161, allocations: 16 kB / 431.4 MB, free: 19.6 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1219/0.1222, allocations: 58.85 MB / 490.2 MB, free: 8.676 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.59/1.712, allocations: 0.6919 GB / 1.171 GB, free: 130.1 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001988/1.713, allocations: 85.34 kB / 1.171 GB, free: 130.1 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.123/3.836, allocations: 0.6212 GB / 1.792 GB, free: 44.01 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.485e-06/3.836, allocations: 1.156 kB / 1.792 GB, free: 44.01 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0002117/3.836, allocations: 70.23 kB / 1.792 GB, free: 44 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.01259/3.849, allocations: 3.504 MB / 1.795 GB, free: 42.5 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.219e-05/3.849, allocations: 14.3 kB / 1.795 GB, free: 42.5 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003859/3.853, allocations: 466.9 kB / 1.796 GB, free: 42.37 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006472/3.859, allocations: 2.032 MB / 1.798 GB, free: 41.92 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001496/3.859, allocations: 136.3 kB / 1.798 GB, free: 41.91 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006696/3.86, allocations: 172.5 kB / 1.798 GB, free: 41.91 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004649/3.865, allocations: 2.756 MB / 1.801 GB, free: 41.46 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.615e-05/3.865, allocations: 11 kB / 1.801 GB, free: 41.46 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000283/3.865, allocations: 77.53 kB / 1.801 GB, free: 41.46 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001792/3.865, allocations: 156.5 kB / 1.801 GB, free: 41.45 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003934/3.869, allocations: 2.357 MB / 1.803 GB, free: 41.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.01704/3.886, allocations: 11.61 MB / 1.815 GB, free: 35.19 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002802/3.889, allocations: 1.892 MB / 1.817 GB, free: 34.87 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008873/3.89, allocations: 460.1 kB / 1.817 GB, free: 34.58 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00192/3.892, allocations: 1.35 MB / 1.818 GB, free: 34.41 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=172): time 2.916e-06/3.892, allocations: 1.75 kB / 1.818 GB, free: 34.41 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 5: junctionVolume.medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=200): time 0.03236/3.924, allocations: 12.44 MB / 1.83 GB, free: 32.26 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001198/3.924, allocations: 364.6 kB / 1.831 GB, free: 31.85 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002824/3.927, allocations: 1.487 MB / 1.832 GB, free: 31.63 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0004831/3.928, allocations: 64.48 kB / 1.832 GB, free: 31.6 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009166/3.929, allocations: 0.915 MB / 1.833 GB, free: 31.28 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007722/3.929, allocations: 0.6793 MB / 1.834 GB, free: 30.85 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002954/3.93, allocations: 44.12 kB / 1.834 GB, free: 30.85 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001529/3.93, allocations: 391.4 kB / 1.834 GB, free: 30.54 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001846/3.932, allocations: 1.098 MB / 1.835 GB, free: 30.54 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002128/3.934, allocations: 1.586 MB / 1.837 GB, free: 30.06 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002182/3.936, allocations: 1.367 MB / 1.838 GB, free: 29.98 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.201e-05/3.936, allocations: 3.938 kB / 1.838 GB, free: 29.98 MB / 0.5261 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.006224/3.942, allocations: 3.403 MB / 1.842 GB, free: 29.68 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.001032/3.943, allocations: 4.331 MB / 1.846 GB, free: 25.18 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.811e-05/3.943, allocations: 8.344 kB / 1.846 GB, free: 25.18 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008346/3.944, allocations: 309.1 kB / 1.846 GB, free: 25.14 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002447/3.947, allocations: 0.5569 MB / 1.847 GB, free: 25.14 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001593/3.948, allocations: 3.02 MB / 1.85 GB, free: 22.54 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00306/3.951, allocations: 225.9 kB / 1.85 GB, free: 22.52 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000526/3.952, allocations: 213 kB / 1.85 GB, free: 22.52 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/3.952, allocations: 3.344 kB / 1.85 GB, free: 22.52 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00641/3.958, allocations: 3.124 MB / 1.853 GB, free: 22.37 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.577e-05/3.959, allocations: 9.688 kB / 1.853 GB, free: 22.37 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007096/3.959, allocations: 302.1 kB / 1.853 GB, free: 22.33 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002277/3.962, allocations: 0.5571 MB / 1.854 GB, free: 22.33 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00154/3.963, allocations: 3.007 MB / 1.857 GB, free: 19.73 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002958/3.966, allocations: 214.9 kB / 1.857 GB, free: 19.71 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005082/3.967, allocations: 203.8 kB / 1.857 GB, free: 19.71 MB / 0.5261 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 () * Number of clocked 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.001935/3.969, allocations: 0.7055 MB / 1.858 GB, free: 19.42 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007262/3.969, allocations: 230.4 kB / 1.858 GB, free: 19.31 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008717/3.978, allocations: 3.964 MB / 1.862 GB, free: 18.72 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.476e-05/3.978, allocations: 18.62 kB / 1.862 GB, free: 18.72 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.532e-05/3.978, allocations: 3.875 kB / 1.862 GB, free: 18.72 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004393/3.982, allocations: 3.05 MB / 1.865 GB, free: 17.3 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01336/3.996, allocations: 7.153 MB / 1.872 GB, free: 14.12 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.554e-05/3.996, allocations: 7.875 kB / 1.872 GB, free: 14.12 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001869/3.998, allocations: 461.6 kB / 1.872 GB, free: 14.08 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007961/3.999, allocations: 313.7 kB / 1.873 GB, free: 14 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002459/3.999, allocations: 113.6 kB / 1.873 GB, free: 13.96 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00311/4.002, allocations: 3.755 MB / 1.877 GB, free: 26.44 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.165e-06/4.002, allocations: 16.92 kB / 1.877 GB, free: 26.43 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007465/4.009, allocations: 5.078 MB / 1.882 GB, free: 23.81 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002289/4.012, allocations: 0.5693 MB / 1.882 GB, free: 23.48 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001072/4.013, allocations: 58.28 kB / 1.882 GB, free: 23.45 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002441/4.015, allocations: 140.5 kB / 1.882 GB, free: 23.41 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003343/4.016, allocations: 199.1 kB / 1.882 GB, free: 23.37 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003634/4.016, allocations: 182.9 kB / 1.883 GB, free: 23.35 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.002135/4.018, allocations: 1.136 MB / 1.884 GB, free: 22.91 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.31e-07/4.018, allocations: 0 / 1.884 GB, free: 22.91 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.00858/4.027, allocations: 2.089 MB / 1.886 GB, free: 22.45 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) * Number of clocked states: 0 () * 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.008561/4.035, allocations: 2.583 MB / 1.888 GB, free: 21.6 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01009/4.046, allocations: 4.639 MB / 1.893 GB, free: 17.5 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.622e-05/4.046, allocations: 0 / 1.893 GB, free: 17.5 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.003154/4.049, allocations: 1.669 MB / 1.894 GB, free: 15.99 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006355/4.055, allocations: 1.113 MB / 1.896 GB, free: 15.18 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01262/4.068, allocations: 5.989 MB / 1.901 GB, free: 9.805 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002451/4.07, allocations: 1.76 MB / 1.903 GB, free: 8.379 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.008046/4.078, allocations: 1.407 MB / 1.905 GB, free: 7.387 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00218/4.081, allocations: 323.8 kB / 1.905 GB, free: 7.102 MB / 0.5417 GB Notification: Performance of SimCode: time 1.113e-06/4.081, allocations: 0 / 1.905 GB, free: 7.102 MB / 0.5417 GB Notification: Performance of Templates: time 0.4471/4.528, allocations: 80.58 MB / 1.984 GB, free: 69.48 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