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.001634/0.001634, allocations: 185.2 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.404/1.404, allocations: 205.4 MB / 221.9 MB, free: 13.83 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.000879/0.000879, allocations: 82.88 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.1882/0.1882, allocations: 43.56 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003925/0.0003925, allocations: 8 kB / 431.4 MB, free: 19.59 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1093/0.1097, allocations: 58.86 MB / 490.2 MB, free: 8.668 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.501/1.61, allocations: 0.6918 GB / 1.171 GB, free: 130.4 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002903/1.611, allocations: 80.66 kB / 1.171 GB, free: 130.3 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.085/3.695, allocations: 0.5558 GB / 1.726 GB, free: 46.53 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.274e-06/3.695, allocations: 2.625 kB / 1.726 GB, free: 46.53 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0002268/3.696, allocations: 65.78 kB / 1.726 GB, free: 46.53 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.01275/3.708, allocations: 3.327 MB / 1.73 GB, free: 45.45 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.797e-05/3.709, allocations: 10.28 kB / 1.73 GB, free: 45.45 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004232/3.713, allocations: 449.6 kB / 1.73 GB, free: 45.33 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007283/3.72, allocations: 1.955 MB / 1.732 GB, free: 44.98 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002298/3.72, allocations: 133.4 kB / 1.732 GB, free: 44.98 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006022/3.721, allocations: 168.7 kB / 1.732 GB, free: 44.98 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007131/3.728, allocations: 2.637 MB / 1.735 GB, free: 44.55 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.692e-05/3.728, allocations: 5.969 kB / 1.735 GB, free: 44.55 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003213/3.729, allocations: 70.41 kB / 1.735 GB, free: 44.55 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003434/3.729, allocations: 155.2 kB / 1.735 GB, free: 44.55 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00472/3.734, allocations: 2.261 MB / 1.737 GB, free: 44.53 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.01531/3.749, allocations: 11.04 MB / 1.748 GB, free: 38.71 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002849/3.752, allocations: 1.81 MB / 1.75 GB, free: 38.4 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008964/3.753, allocations: 456.7 kB / 1.75 GB, free: 38.12 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001807/3.755, allocations: 1.292 MB / 1.752 GB, free: 37.95 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=162): time 3.967e-06/3.755, allocations: 3 kB / 1.752 GB, free: 37.95 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.02541/3.78, allocations: 11.2 MB / 1.763 GB, free: 36.05 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001339/3.78, allocations: 363.6 kB / 1.763 GB, free: 35.65 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002663/3.783, allocations: 1.417 MB / 1.764 GB, free: 35.49 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0003008/3.783, allocations: 62.58 kB / 1.764 GB, free: 35.46 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008051/3.784, allocations: 0.8654 MB / 1.765 GB, free: 35.17 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005532/3.785, allocations: 0.6231 MB / 1.766 GB, free: 34.77 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001986/3.785, allocations: 40.34 kB / 1.766 GB, free: 34.77 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001333/3.785, allocations: 392.2 kB / 1.766 GB, free: 34.46 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00162/3.787, allocations: 1.04 MB / 1.767 GB, free: 34.45 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001995/3.789, allocations: 1.485 MB / 1.769 GB, free: 34.04 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002007/3.791, allocations: 1.309 MB / 1.77 GB, free: 33.95 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.416e-05/3.791, allocations: 4.438 kB / 1.77 GB, free: 33.95 MB / 0.5261 GB Notification: Performance of matching and sorting (n=260) (initialization): time 0.005838/3.796, allocations: 3.161 MB / 1.773 GB, free: 33.67 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009417/3.797, allocations: 3.773 MB / 1.777 GB, free: 29.73 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.083e-05/3.797, allocations: 11.81 kB / 1.777 GB, free: 29.73 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000488/3.798, allocations: 192 kB / 1.777 GB, free: 29.69 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002317/3.8, allocations: 0.5378 MB / 1.777 GB, free: 29.69 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001197/3.801, allocations: 2.326 MB / 1.78 GB, free: 27.62 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002943/3.804, allocations: 211.2 kB / 1.78 GB, free: 27.61 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004474/3.805, allocations: 187.1 kB / 1.78 GB, free: 27.61 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/3.805, allocations: 2.844 kB / 1.78 GB, free: 27.61 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005055/3.81, allocations: 2.888 MB / 1.783 GB, free: 27.47 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.326e-05/3.81, allocations: 10.56 kB / 1.783 GB, free: 27.47 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003929/3.81, allocations: 188.4 kB / 1.783 GB, free: 27.44 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002187/3.813, allocations: 0.5299 MB / 1.784 GB, free: 27.44 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001321/3.814, allocations: 2.32 MB / 1.786 GB, free: 25.37 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003321/3.817, allocations: 215.5 kB / 1.786 GB, free: 25.36 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004403/3.818, allocations: 179.2 kB / 1.786 GB, free: 25.36 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.001924/3.82, allocations: 0.6967 MB / 1.787 GB, free: 25.09 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007624/3.821, allocations: 213.1 kB / 1.787 GB, free: 24.98 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007898/3.828, allocations: 3.772 MB / 1.791 GB, free: 24.71 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.454e-05/3.828, allocations: 20.72 kB / 1.791 GB, free: 24.71 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.399e-05/3.828, allocations: 6.234 kB / 1.791 GB, free: 24.71 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003896/3.832, allocations: 2.788 MB / 1.794 GB, free: 24.12 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01466/3.847, allocations: 6.651 MB / 1.8 GB, free: 22.84 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.101e-05/3.847, allocations: 11.28 kB / 1.8 GB, free: 22.84 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001962/3.849, allocations: 428 kB / 1.801 GB, free: 22.84 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004378/3.85, allocations: 188.4 kB / 1.801 GB, free: 22.81 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002458/3.85, allocations: 98.88 kB / 1.801 GB, free: 22.81 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001597/3.851, allocations: 3.081 MB / 1.804 GB, free: 20 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.524e-06/3.852, allocations: 12.5 kB / 1.804 GB, free: 20 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00662/3.858, allocations: 4.714 MB / 1.808 GB, free: 18.76 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001766/3.86, allocations: 0.5371 MB / 1.809 GB, free: 18.55 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007948/3.861, allocations: 60.47 kB / 1.809 GB, free: 18.55 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00209/3.863, allocations: 133 kB / 1.809 GB, free: 18.54 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003063/3.863, allocations: 171 kB / 1.809 GB, free: 18.54 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003088/3.863, allocations: 158.7 kB / 1.809 GB, free: 18.54 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.00274/3.866, allocations: 1.109 MB / 1.811 GB, free: 34.39 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.21e-07/3.866, allocations: 0 / 1.811 GB, free: 34.39 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.008654/3.875, allocations: 1.975 MB / 1.812 GB, free: 34.14 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.007985/3.883, allocations: 2.445 MB / 1.815 GB, free: 33.59 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.009388/3.892, allocations: 4.357 MB / 1.819 GB, free: 33.28 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-05/3.892, allocations: 2.969 kB / 1.819 GB, free: 33.28 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.002837/3.895, allocations: 1.525 MB / 1.821 GB, free: 33.04 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00559/3.901, allocations: 0.9862 MB / 1.822 GB, free: 33 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01097/3.912, allocations: 5.634 MB / 1.827 GB, free: 30.9 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002622/3.915, allocations: 1.722 MB / 1.829 GB, free: 30.16 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.006732/3.921, allocations: 1.348 MB / 1.83 GB, free: 30.14 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001269/3.923, allocations: 300.6 kB / 1.83 GB, free: 30.13 MB / 0.5417 GB Notification: Performance of SimCode: time 1.102e-06/3.923, allocations: 0 / 1.83 GB, free: 30.13 MB / 0.5417 GB Notification: Performance of Templates: time 0.1037/4.026, allocations: 73.54 MB / 1.902 GB, free: 9.484 MB / 0.5417 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/jenkins/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