Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16.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.BranchingPipes16,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.BranchingPipes16") translateModel(ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16,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.BranchingPipes16") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009165/0.0009166, allocations: 183.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.171/1.171, allocations: 205.2 MB / 218.9 MB, free: 9.215 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.0008342/0.0008342, allocations: 86.56 kB / 267 MB, free: 9.277 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.2863/0.2863, allocations: 43.46 MB / 358.6 MB, free: 52.35 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.246e-05/2.249e-05, allocations: 8 kB / 425.3 MB, free: 8.891 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08862/0.08865, allocations: 58.85 MB / 484.2 MB, free: 13.94 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.234/1.323, allocations: 0.659 GB / 1.132 GB, free: 117.9 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001834/1.323, allocations: 78.45 kB / 1.132 GB, free: 117.8 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.755/3.078, allocations: 0.545 GB / 1.677 GB, free: 35.73 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.353e-06/3.078, allocations: 1.75 kB / 1.677 GB, free: 35.73 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0002466/3.079, allocations: 63.28 kB / 1.677 GB, free: 35.72 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: 427 * Number of variables: 427 Notification: Performance of Generate backend data structure: time 0.008987/3.088, allocations: 3.026 MB / 1.68 GB, free: 34.53 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.493e-05/3.088, allocations: 14.56 kB / 1.68 GB, free: 34.52 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003097/3.091, allocations: 442.9 kB / 1.68 GB, free: 34.4 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004982/3.096, allocations: 1.942 MB / 1.682 GB, free: 33.99 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.989e-05/3.096, allocations: 131.3 kB / 1.682 GB, free: 33.99 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003232/3.096, allocations: 162.4 kB / 1.683 GB, free: 33.99 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003731/3.1, allocations: 2.593 MB / 1.685 GB, free: 33.55 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.82e-05/3.1, allocations: 6.281 kB / 1.685 GB, free: 33.55 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002128/3.1, allocations: 78.62 kB / 1.685 GB, free: 33.55 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000176/3.1, allocations: 155.2 kB / 1.685 GB, free: 33.55 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003296/3.104, allocations: 2.19 MB / 1.687 GB, free: 33.54 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.01207/3.116, allocations: 11.03 MB / 1.698 GB, free: 27.64 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002343/3.118, allocations: 1.77 MB / 1.7 GB, free: 27.32 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001195/3.119, allocations: 1.046 MB / 1.701 GB, free: 27.31 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007989/3.12, allocations: 458.9 kB / 1.701 GB, free: 27.02 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001503/3.122, allocations: 1.269 MB / 1.703 GB, free: 26.86 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=162): time 3.266e-06/3.122, allocations: 0 / 1.703 GB, free: 26.86 MB / 0.5105 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 Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=185): time 0.01829/3.14, allocations: 8.669 MB / 1.711 GB, free: 25.67 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.304e-05/3.14, allocations: 369.2 kB / 1.711 GB, free: 25.26 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001562/3.142, allocations: 1.407 MB / 1.713 GB, free: 25.08 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001657/3.142, allocations: 61.45 kB / 1.713 GB, free: 25.05 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004976/3.142, allocations: 0.8684 MB / 1.714 GB, free: 24.75 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003509/3.143, allocations: 0.6217 MB / 1.714 GB, free: 24.35 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000134/3.143, allocations: 39.95 kB / 1.714 GB, free: 24.35 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.864e-05/3.143, allocations: 392.8 kB / 1.715 GB, free: 24.04 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001268/3.144, allocations: 0.9924 MB / 1.716 GB, free: 24.04 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001477/3.146, allocations: 1.442 MB / 1.717 GB, free: 23.62 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001471/3.147, allocations: 1.267 MB / 1.718 GB, free: 23.53 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.771e-06/3.147, allocations: 5.531 kB / 1.718 GB, free: 23.53 MB / 0.5105 GB Notification: Performance of matching and sorting (n=260) (initialization): time 0.003907/3.151, allocations: 3.062 MB / 1.721 GB, free: 23.25 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005537/3.152, allocations: 3.777 MB / 1.725 GB, free: 19.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.479e-05/3.152, allocations: 7.312 kB / 1.725 GB, free: 19.3 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003755/3.152, allocations: 190.4 kB / 1.725 GB, free: 19.27 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001992/3.154, allocations: 0.5388 MB / 1.726 GB, free: 19.27 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009132/3.155, allocations: 2.322 MB / 1.728 GB, free: 17.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001966/3.157, allocations: 217.6 kB / 1.728 GB, free: 17.19 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002608/3.157, allocations: 193.9 kB / 1.728 GB, free: 17.18 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 8.576e-06/3.157, allocations: 3.875 kB / 1.728 GB, free: 17.18 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003582/3.161, allocations: 2.787 MB / 1.731 GB, free: 17.04 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.198e-05/3.161, allocations: 10.34 kB / 1.731 GB, free: 17.04 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003175/3.161, allocations: 201.1 kB / 1.731 GB, free: 17.01 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001834/3.163, allocations: 0.5249 MB / 1.732 GB, free: 17.01 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001559/3.165, allocations: 2.33 MB / 1.734 GB, free: 30.93 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001883/3.166, allocations: 218.3 kB / 1.734 GB, free: 30.92 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002407/3.167, allocations: 180.9 kB / 1.735 GB, free: 30.92 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 () * 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.0005159/3.167, allocations: 298.2 kB / 1.735 GB, free: 30.75 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002846/3.168, allocations: 211.5 kB / 1.735 GB, free: 30.64 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005871/3.173, allocations: 3.695 MB / 1.739 GB, free: 30.37 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.299e-05/3.173, allocations: 18.56 kB / 1.739 GB, free: 30.37 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.703e-06/3.173, allocations: 6.125 kB / 1.739 GB, free: 30.37 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003058/3.177, allocations: 2.723 MB / 1.741 GB, free: 29.79 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009159/3.186, allocations: 6.605 MB / 1.748 GB, free: 28.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.237e-06/3.186, allocations: 6.344 kB / 1.748 GB, free: 28.5 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001569/3.187, allocations: 431 kB / 1.748 GB, free: 28.5 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003592/3.188, allocations: 187 kB / 1.748 GB, free: 28.46 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001628/3.188, allocations: 97.52 kB / 1.748 GB, free: 28.46 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001694/3.19, allocations: 3.08 MB / 1.751 GB, free: 25.65 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.711e-06/3.19, allocations: 7.656 kB / 1.751 GB, free: 25.65 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005105/3.195, allocations: 4.614 MB / 1.756 GB, free: 24.42 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001175/3.196, allocations: 0.5438 MB / 1.756 GB, free: 24.21 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000444/3.196, allocations: 53.16 kB / 1.757 GB, free: 24.21 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001537/3.198, allocations: 130.1 kB / 1.757 GB, free: 24.2 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002597/3.198, allocations: 171.3 kB / 1.757 GB, free: 24.2 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002223/3.198, allocations: 158 kB / 1.757 GB, free: 24.2 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001359/3.2, allocations: 1.091 MB / 1.758 GB, free: 24.04 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.6e-07/3.2, allocations: 0 / 1.758 GB, free: 24.04 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.005415/3.205, allocations: 1.981 MB / 1.76 GB, free: 23.78 MB / 0.5261 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) * 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.005572/3.211, allocations: 2.449 MB / 1.762 GB, free: 23.21 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.006421/3.217, allocations: 4.298 MB / 1.767 GB, free: 21.98 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.06e-05/3.217, allocations: 3.906 kB / 1.767 GB, free: 21.97 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001799/3.219, allocations: 1.504 MB / 1.768 GB, free: 21.3 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004612/3.224, allocations: 0.9815 MB / 1.769 GB, free: 21.11 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006525/3.23, allocations: 4.05 MB / 1.773 GB, free: 19.4 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001287/3.231, allocations: 1.723 MB / 1.775 GB, free: 18.57 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.005498/3.237, allocations: 1.54 MB / 1.776 GB, free: 18.36 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001042/3.238, allocations: 283 kB / 1.776 GB, free: 18.32 MB / 0.5261 GB Notification: Performance of SimCode: time 9.82e-07/3.238, allocations: 0 / 1.776 GB, free: 18.32 MB / 0.5261 GB Notification: Performance of Templates: time 0.3752/3.613, allocations: 81.09 MB / 1.856 GB, free: 65.19 MB / 0.5417 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestPipesAndValves/BranchingPipes16/BranchingPipes16.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches