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.0009418/0.0009418, allocations: 177.6 kB / 8.004 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.771/1.771, allocations: 205.3 MB / 213.7 MB, free: 1.66 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.0009645/0.0009646, allocations: 90.3 kB / 261.8 MB, free: 1.602 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.2285/0.2285, allocations: 43.48 MB / 353.2 MB, free: 268 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.017e-05/2.028e-05, allocations: 4 kB / 418.3 MB, free: 28.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.133/0.133, allocations: 58.86 MB / 477.1 MB, free: 1.637 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.136/2.27, allocations: 0.6583 GB / 1.124 GB, free: 140.1 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003135/2.27, allocations: 79.5 kB / 1.124 GB, free: 140.1 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.411/4.681, allocations: 0.5395 GB / 1.664 GB, free: 42.16 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.254e-06/4.681, allocations: 0 / 1.664 GB, free: 42.16 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0002075/4.681, allocations: 63.42 kB / 1.664 GB, free: 42.16 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.01108/4.692, allocations: 3.033 MB / 1.667 GB, free: 41.19 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.681e-05/4.692, allocations: 9.312 kB / 1.667 GB, free: 41.19 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00332/4.696, allocations: 443.5 kB / 1.667 GB, free: 41.07 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006148/4.702, allocations: 1.933 MB / 1.669 GB, free: 40.72 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001055/4.702, allocations: 60.28 kB / 1.669 GB, free: 40.72 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003332/4.702, allocations: 96.27 kB / 1.669 GB, free: 40.72 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004576/4.707, allocations: 2.128 MB / 1.671 GB, free: 40.71 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00431/4.711, allocations: 2.367 MB / 1.674 GB, free: 40.29 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.263e-05/4.711, allocations: 5.969 kB / 1.674 GB, free: 40.29 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002024/4.712, allocations: 5.906 kB / 1.674 GB, free: 40.29 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002563/4.712, allocations: 156.7 kB / 1.674 GB, free: 40.29 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.01508/4.727, allocations: 10.78 MB / 1.684 GB, free: 34.54 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002328/4.729, allocations: 1.718 MB / 1.686 GB, free: 34.23 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001142/4.73, allocations: 0.9845 MB / 1.687 GB, free: 34.21 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009164/4.731, allocations: 453.8 kB / 1.688 GB, free: 33.93 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001449/4.733, allocations: 1.162 MB / 1.689 GB, free: 33.76 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=153): time 3.817e-06/4.733, allocations: 0 / 1.689 GB, free: 33.76 MB / 0.5105 GB Notification: Performance of matching and sorting (n=176): time 0.03572/4.769, allocations: 9.523 MB / 1.698 GB, free: 32.94 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001369/4.769, allocations: 358.5 kB / 1.698 GB, free: 32.53 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001499/4.77, allocations: 1.076 MB / 1.699 GB, free: 32.37 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0002035/4.77, allocations: 32.14 kB / 1.699 GB, free: 32.34 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006927/4.771, allocations: 0.905 MB / 1.7 GB, free: 31.98 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004703/4.772, allocations: 0.5673 MB / 1.701 GB, free: 31.61 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001359/4.772, allocations: 2.953 kB / 1.701 GB, free: 31.61 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001236/4.772, allocations: 388.7 kB / 1.701 GB, free: 31.3 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001241/4.773, allocations: 0.9792 MB / 1.702 GB, free: 31.29 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001543/4.775, allocations: 1.401 MB / 1.703 GB, free: 30.88 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008573/4.783, allocations: 2.337 MB / 1.706 GB, free: 30.86 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.205e-05/4.783, allocations: 3.219 kB / 1.706 GB, free: 30.86 MB / 0.5105 GB Notification: Performance of matching and sorting (n=260) (initialization): time 0.01146/4.795, allocations: 4.008 MB / 1.71 GB, free: 30.65 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009715/4.796, allocations: 3.713 MB / 1.713 GB, free: 26.87 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.091e-05/4.796, allocations: 7.469 kB / 1.713 GB, free: 26.87 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000391/4.796, allocations: 163 kB / 1.713 GB, free: 26.84 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00216/4.798, allocations: 0.5436 MB / 1.714 GB, free: 26.84 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001179/4.8, allocations: 2.343 MB / 1.716 GB, free: 24.76 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002761/4.802, allocations: 176.1 kB / 1.716 GB, free: 24.75 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003225/4.803, allocations: 182.6 kB / 1.717 GB, free: 24.75 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/4.803, allocations: 6.219 kB / 1.717 GB, free: 24.75 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0102/4.813, allocations: 3.516 MB / 1.72 GB, free: 24.67 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.748e-05/4.813, allocations: 11.47 kB / 1.72 GB, free: 24.67 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003166/4.813, allocations: 170.5 kB / 1.72 GB, free: 24.63 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002113/4.815, allocations: 0.5384 MB / 1.721 GB, free: 24.63 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001156/4.817, allocations: 2.329 MB / 1.723 GB, free: 22.56 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002585/4.819, allocations: 174.6 kB / 1.723 GB, free: 22.55 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002851/4.819, allocations: 182.7 kB / 1.723 GB, free: 22.55 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.0008214/4.82, allocations: 226.8 kB / 1.724 GB, free: 22.38 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004023/4.821, allocations: 194.1 kB / 1.724 GB, free: 22.28 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01329/4.834, allocations: 3.999 MB / 1.728 GB, free: 22.1 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.858e-05/4.834, allocations: 17.06 kB / 1.728 GB, free: 22.1 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.999e-06/4.834, allocations: 0 / 1.728 GB, free: 22.1 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01025/4.844, allocations: 3.501 MB / 1.731 GB, free: 21.57 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01772/4.862, allocations: 7.035 MB / 1.738 GB, free: 20.42 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.468e-05/4.862, allocations: 12.73 kB / 1.738 GB, free: 20.41 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001663/4.864, allocations: 416.1 kB / 1.738 GB, free: 20.41 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003863/4.864, allocations: 170.2 kB / 1.739 GB, free: 20.38 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000174/4.864, allocations: 67.56 kB / 1.739 GB, free: 20.38 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001694/4.866, allocations: 3.03 MB / 1.742 GB, free: 17.64 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.926e-06/4.866, allocations: 12.94 kB / 1.742 GB, free: 17.64 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01287/4.879, allocations: 5.224 MB / 1.747 GB, free: 16.61 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002184/4.881, allocations: 0.5105 MB / 1.747 GB, free: 32.41 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003266/4.882, allocations: 24.98 kB / 1.747 GB, free: 32.41 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001318/4.883, allocations: 94.05 kB / 1.747 GB, free: 32.41 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002618/4.883, allocations: 164 kB / 1.747 GB, free: 32.4 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000219/4.883, allocations: 145.5 kB / 1.748 GB, free: 32.4 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.00121/4.885, allocations: 0.7977 MB / 1.748 GB, free: 32.29 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.2e-07/4.885, allocations: 0 / 1.748 GB, free: 32.29 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.009212/4.894, allocations: 1.816 MB / 1.75 GB, free: 32.04 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.006921/4.901, allocations: 2.664 MB / 1.753 GB, free: 31.46 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.006931/4.908, allocations: 4.111 MB / 1.757 GB, free: 31.16 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.83e-05/4.908, allocations: 7.609 kB / 1.757 GB, free: 31.16 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001975/4.91, allocations: 1.417 MB / 1.758 GB, free: 30.93 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004645/4.914, allocations: 0.7784 MB / 1.759 GB, free: 30.91 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007218/4.922, allocations: 3.886 MB / 1.763 GB, free: 29.97 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001515/4.923, allocations: 1.721 MB / 1.764 GB, free: 29.23 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0055/4.929, allocations: 1.395 MB / 1.766 GB, free: 29.21 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000978/4.93, allocations: 260.9 kB / 1.766 GB, free: 29.2 MB / 0.5261 GB Notification: Performance of SimCode: time 1.483e-06/4.93, allocations: 6.703 kB / 1.766 GB, free: 29.2 MB / 0.5261 GB Notification: Performance of Templates: time 0.1022/5.032, allocations: 60.17 MB / 1.825 GB, free: 11.33 MB / 0.5261 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