Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_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_cpp_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.002122/0.002127, allocations: 181.4 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.033/2.033, allocations: 205.2 MB / 219.4 MB, free: 14.29 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.001122/0.001121, allocations: 90.58 kB / 267.5 MB, free: 14.12 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.2868/0.2868, allocations: 43.49 MB / 359.1 MB, free: 12.26 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.424e-05/3.451e-05, allocations: 4 kB / 425.3 MB, free: 23.38 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1248/0.1249, allocations: 58.86 MB / 484.1 MB, free: 12.48 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.289/2.414, allocations: 0.659 GB / 1.132 GB, free: 152.4 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003005/2.414, allocations: 83.83 kB / 1.132 GB, free: 152.4 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.771/5.185, allocations: 0.545 GB / 1.677 GB, free: 21.81 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.625e-06/5.185, allocations: 0 / 1.677 GB, free: 21.81 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0003206/5.186, allocations: 55.98 kB / 1.677 GB, free: 21.76 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.01303/5.199, allocations: 3.031 MB / 1.68 GB, free: 18.66 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.933e-05/5.199, allocations: 15.97 kB / 1.68 GB, free: 18.64 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004891/5.204, allocations: 436.8 kB / 1.68 GB, free: 18.21 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008565/5.212, allocations: 1.941 MB / 1.682 GB, free: 16.22 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002452/5.213, allocations: 127 kB / 1.682 GB, free: 16.09 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001095/5.214, allocations: 168 kB / 1.683 GB, free: 15.93 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008025/5.222, allocations: 2.604 MB / 1.685 GB, free: 13.17 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.13e-05/5.222, allocations: 4 kB / 1.685 GB, free: 13.17 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000441/5.222, allocations: 71.97 kB / 1.685 GB, free: 13.1 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003088/5.223, allocations: 150.9 kB / 1.685 GB, free: 12.95 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007287/5.23, allocations: 2.191 MB / 1.687 GB, free: 10.75 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.02684/5.257, allocations: 11.02 MB / 1.698 GB, free: 14.94 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005549/5.262, allocations: 1.763 MB / 1.7 GB, free: 13.11 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003285/5.266, allocations: 1.052 MB / 1.701 GB, free: 12.05 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001674/5.267, allocations: 465 kB / 1.701 GB, free: 11.55 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004082/5.272, allocations: 1.267 MB / 1.703 GB, free: 10.24 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=162): time 7.504e-06/5.272, allocations: 0 / 1.703 GB, free: 10.24 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 Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=185): time 0.04301/5.315, allocations: 8.668 MB / 1.711 GB, free: 1.438 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002183/5.315, allocations: 368.1 kB / 1.711 GB, free: 1 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.4215/5.736, allocations: 1.386 MB / 1.713 GB, free: 53.71 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0007682/5.737, allocations: 66.48 kB / 1.713 GB, free: 53.68 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009932/5.738, allocations: 0.7968 MB / 1.714 GB, free: 53.52 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001246/5.74, allocations: 0.624 MB / 1.714 GB, free: 53.3 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002757/5.74, allocations: 43.56 kB / 1.714 GB, free: 53.3 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001674/5.74, allocations: 388.6 kB / 1.715 GB, free: 52.98 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002957/5.743, allocations: 1 MB / 1.716 GB, free: 52.98 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003673/5.747, allocations: 1.435 MB / 1.717 GB, free: 52.57 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003696/5.75, allocations: 1.276 MB / 1.718 GB, free: 52.48 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.862e-05/5.751, allocations: 0 / 1.718 GB, free: 52.48 MB / 0.5261 GB Notification: Performance of matching and sorting (n=260) (initialization): time 0.00898/5.76, allocations: 2.947 MB / 1.721 GB, free: 52.27 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008593/5.76, allocations: 3.645 MB / 1.725 GB, free: 48.49 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.469e-05/5.761, allocations: 10.62 kB / 1.725 GB, free: 48.49 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00081/5.761, allocations: 189.3 kB / 1.725 GB, free: 48.46 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005066/5.766, allocations: 0.5342 MB / 1.725 GB, free: 48.46 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001806/5.768, allocations: 2.33 MB / 1.728 GB, free: 46.39 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004735/5.773, allocations: 208.8 kB / 1.728 GB, free: 46.38 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009946/5.774, allocations: 189.2 kB / 1.728 GB, free: 46.38 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/5.774, allocations: 4.281 kB / 1.728 GB, free: 46.38 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008982/5.783, allocations: 2.793 MB / 1.731 GB, free: 46.24 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.857e-05/5.783, allocations: 9.594 kB / 1.731 GB, free: 46.24 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006932/5.784, allocations: 193.6 kB / 1.731 GB, free: 46.21 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004819/5.789, allocations: 0.5286 MB / 1.732 GB, free: 46.21 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001767/5.791, allocations: 2.326 MB / 1.734 GB, free: 44.13 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003727/5.794, allocations: 213.3 kB / 1.734 GB, free: 44.12 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008714/5.795, allocations: 188 kB / 1.734 GB, free: 44.12 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.001043/5.796, allocations: 288.3 kB / 1.734 GB, free: 43.96 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007746/5.797, allocations: 213.6 kB / 1.735 GB, free: 43.85 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01371/5.811, allocations: 3.717 MB / 1.738 GB, free: 43.58 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-05/5.811, allocations: 20.81 kB / 1.738 GB, free: 43.58 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.207e-05/5.811, allocations: 3.766 kB / 1.738 GB, free: 43.58 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006867/5.818, allocations: 2.726 MB / 1.741 GB, free: 43 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01961/5.838, allocations: 6.595 MB / 1.747 GB, free: 41.74 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-05/5.838, allocations: 5.906 kB / 1.747 GB, free: 41.74 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003716/5.841, allocations: 426.6 kB / 1.748 GB, free: 41.74 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007067/5.842, allocations: 190.7 kB / 1.748 GB, free: 41.71 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005354/5.843, allocations: 99.38 kB / 1.748 GB, free: 41.71 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002163/5.845, allocations: 3.072 MB / 1.751 GB, free: 38.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.026e-05/5.845, allocations: 11.75 kB / 1.751 GB, free: 38.9 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01081/5.856, allocations: 4.604 MB / 1.756 GB, free: 37.68 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002428/5.858, allocations: 0.5437 MB / 1.756 GB, free: 37.47 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001139/5.859, allocations: 55.06 kB / 1.756 GB, free: 37.47 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003625/5.863, allocations: 132.8 kB / 1.756 GB, free: 37.46 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007722/5.864, allocations: 167.5 kB / 1.756 GB, free: 37.46 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004512/5.864, allocations: 161.3 kB / 1.757 GB, free: 37.46 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.002583/5.867, allocations: 1.086 MB / 1.758 GB, free: 37.3 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7.51e-07/5.867, allocations: 7.391 kB / 1.758 GB, free: 37.3 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.009843/5.877, allocations: 1.981 MB / 1.76 GB, free: 37.3 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.008877/5.886, allocations: 2.438 MB / 1.762 GB, free: 37 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01261/5.898, allocations: 4.242 MB / 1.766 GB, free: 36.7 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.728e-05/5.899, allocations: 3.906 kB / 1.766 GB, free: 36.7 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.004035/5.903, allocations: 1.489 MB / 1.768 GB, free: 36.46 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008985/5.912, allocations: 0.9755 MB / 1.769 GB, free: 36.44 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01216/5.924, allocations: 4.121 MB / 1.773 GB, free: 35.48 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001635/5.926, allocations: 1.701 MB / 1.774 GB, free: 34.75 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002851/5.928, allocations: 358.5 kB / 1.775 GB, free: 34.74 MB / 0.5261 GB Notification: Performance of SimCode: time 1.403e-06/5.928, allocations: 1.594 kB / 1.775 GB, free: 34.74 MB / 0.5261 GB Notification: Performance of Templates: time 0.1475/6.076, allocations: 84.62 MB / 1.857 GB, free: 25.03 MB / 0.5261 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16_res.mat","/var/lib/jenkins1/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_cpp_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches