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.001036/0.001036, allocations: 177.6 kB / 8.002 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.742/1.742, allocations: 205.3 MB / 213.7 MB, free: 1.73 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009191/0.0009188, allocations: 80.05 kB / 261.7 MB, free: 1.684 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.2215/0.2215, allocations: 43.49 MB / 353.2 MB, free: 280 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.657e-05/1.684e-05, allocations: 4 kB / 418.3 MB, free: 28.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1333/0.1333, allocations: 58.86 MB / 477.1 MB, free: 1.633 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.16/2.294, allocations: 0.6583 GB / 1.124 GB, free: 140.1 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002291/2.294, allocations: 86.59 kB / 1.124 GB, free: 140.1 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.509/4.803, allocations: 0.5395 GB / 1.664 GB, free: 42.1 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.467e-06/4.803, allocations: 0 / 1.664 GB, free: 42.1 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0004075/4.804, allocations: 64.14 kB / 1.664 GB, free: 42.1 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.01558/4.82, allocations: 3.029 MB / 1.667 GB, free: 41.16 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.973e-05/4.82, allocations: 11.88 kB / 1.667 GB, free: 41.16 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004682/4.824, allocations: 440.4 kB / 1.667 GB, free: 41.03 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008816/4.833, allocations: 1.934 MB / 1.669 GB, free: 40.69 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002282/4.833, allocations: 56.8 kB / 1.669 GB, free: 40.69 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001298/4.835, allocations: 105.5 kB / 1.669 GB, free: 40.69 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0084/4.843, allocations: 2.129 MB / 1.671 GB, free: 40.68 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008747/4.852, allocations: 2.366 MB / 1.674 GB, free: 40.26 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000111/4.852, allocations: 6.812 kB / 1.674 GB, free: 40.26 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008589/4.853, allocations: 6.812 kB / 1.674 GB, free: 40.26 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002761/4.853, allocations: 157.5 kB / 1.674 GB, free: 40.25 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.02245/4.876, allocations: 10.77 MB / 1.684 GB, free: 34.49 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002606/4.878, allocations: 1.726 MB / 1.686 GB, free: 34.18 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001168/4.88, allocations: 0.9801 MB / 1.687 GB, free: 34.17 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008942/4.88, allocations: 450.1 kB / 1.688 GB, free: 33.88 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001535/4.882, allocations: 1.157 MB / 1.689 GB, free: 33.72 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=153): time 3.407e-06/4.882, allocations: 0 / 1.689 GB, free: 33.72 MB / 0.5105 GB Notification: Performance of matching and sorting (n=176): time 0.03761/4.92, allocations: 9.532 MB / 1.698 GB, free: 32.89 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001571/4.92, allocations: 359.3 kB / 1.698 GB, free: 32.48 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001624/4.921, allocations: 1.073 MB / 1.699 GB, free: 32.32 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0002093/4.922, allocations: 31.95 kB / 1.699 GB, free: 32.29 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007443/4.922, allocations: 0.8994 MB / 1.7 GB, free: 31.93 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005292/4.923, allocations: 0.5771 MB / 1.701 GB, free: 31.56 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001345/4.923, allocations: 0 / 1.701 GB, free: 31.56 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001263/4.923, allocations: 381.9 kB / 1.701 GB, free: 31.25 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001273/4.925, allocations: 0.9794 MB / 1.702 GB, free: 31.25 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001542/4.926, allocations: 1.407 MB / 1.704 GB, free: 30.83 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008784/4.935, allocations: 2.332 MB / 1.706 GB, free: 30.81 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.376e-05/4.935, allocations: 5.312 kB / 1.706 GB, free: 30.81 MB / 0.5105 GB Notification: Performance of matching and sorting (n=260) (initialization): time 0.01193/4.947, allocations: 4.008 MB / 1.71 GB, free: 30.61 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.001029/4.948, allocations: 3.705 MB / 1.713 GB, free: 26.82 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.567e-05/4.948, allocations: 10.41 kB / 1.713 GB, free: 26.82 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004057/4.948, allocations: 167.8 kB / 1.714 GB, free: 26.79 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002178/4.951, allocations: 0.5384 MB / 1.714 GB, free: 26.79 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001169/4.952, allocations: 2.346 MB / 1.716 GB, free: 24.71 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002764/4.955, allocations: 172.9 kB / 1.716 GB, free: 24.7 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003097/4.955, allocations: 197.1 kB / 1.717 GB, free: 24.7 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.227e-05/4.955, allocations: 2.5 kB / 1.717 GB, free: 24.7 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01028/4.965, allocations: 3.513 MB / 1.72 GB, free: 24.62 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.977e-05/4.965, allocations: 10.09 kB / 1.72 GB, free: 24.62 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003315/4.966, allocations: 175 kB / 1.72 GB, free: 24.59 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002027/4.968, allocations: 0.5252 MB / 1.721 GB, free: 24.59 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001145/4.969, allocations: 2.34 MB / 1.723 GB, free: 22.52 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002737/4.971, allocations: 171.5 kB / 1.723 GB, free: 22.5 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003114/4.972, allocations: 186.3 kB / 1.723 GB, free: 22.5 MB / 0.5105 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.000893/4.973, allocations: 226.5 kB / 1.724 GB, free: 22.33 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000451/4.973, allocations: 197.3 kB / 1.724 GB, free: 22.23 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01395/4.987, allocations: 3.99 MB / 1.728 GB, free: 22.05 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-05/4.987, allocations: 18.34 kB / 1.728 GB, free: 22.05 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.405e-05/4.987, allocations: 2.859 kB / 1.728 GB, free: 22.05 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01081/4.998, allocations: 3.511 MB / 1.731 GB, free: 21.53 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01816/5.016, allocations: 7.021 MB / 1.738 GB, free: 20.38 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.41e-05/5.016, allocations: 13.61 kB / 1.738 GB, free: 20.37 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001686/5.018, allocations: 411.6 kB / 1.738 GB, free: 20.37 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003749/5.018, allocations: 169.5 kB / 1.739 GB, free: 20.34 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000208/5.019, allocations: 68.45 kB / 1.739 GB, free: 20.34 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001512/5.02, allocations: 3.031 MB / 1.742 GB, free: 17.59 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.836e-06/5.02, allocations: 9.656 kB / 1.742 GB, free: 17.59 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01419/5.034, allocations: 5.225 MB / 1.747 GB, free: 32.57 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001492/5.036, allocations: 0.5108 MB / 1.747 GB, free: 32.37 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003449/5.036, allocations: 27.44 kB / 1.747 GB, free: 32.37 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001322/5.038, allocations: 98.05 kB / 1.747 GB, free: 32.36 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002776/5.038, allocations: 159.1 kB / 1.748 GB, free: 32.36 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002209/5.038, allocations: 151.2 kB / 1.748 GB, free: 32.36 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001216/5.039, allocations: 0.7948 MB / 1.748 GB, free: 32.25 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.6e-07/5.039, allocations: 0 / 1.748 GB, free: 32.25 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.007505/5.047, allocations: 1.821 MB / 1.75 GB, free: 31.99 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 24 * 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 (186): * Single equations (assignments): 180 * 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.008116/5.055, allocations: 2.669 MB / 1.753 GB, free: 31.42 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.006953/5.062, allocations: 4.108 MB / 1.757 GB, free: 31.12 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.535e-05/5.062, allocations: 7.703 kB / 1.757 GB, free: 31.11 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002009/5.064, allocations: 1.416 MB / 1.758 GB, free: 30.88 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004602/5.069, allocations: 0.788 MB / 1.759 GB, free: 30.86 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007234/5.076, allocations: 3.879 MB / 1.763 GB, free: 29.92 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001334/5.077, allocations: 1.722 MB / 1.764 GB, free: 29.19 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.005587/5.083, allocations: 1.397 MB / 1.766 GB, free: 29.16 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009502/5.084, allocations: 259.1 kB / 1.766 GB, free: 29.16 MB / 0.5261 GB Notification: Performance of SimCode: time 1.232e-06/5.084, allocations: 0 / 1.766 GB, free: 29.16 MB / 0.5261 GB Notification: Performance of Templates: time 0.08959/5.173, allocations: 60.18 MB / 1.825 GB, free: 11.29 MB / 0.5261 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