Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes18.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|junctionIdeal.medium.h|junctionIdeal.medium.p|junctionVolume.medium.h|pipe1.mediums.1..h|pipe1.mediums.1..p|pipe2.mediums.1..h|pipe2.mediums.1..p|pipe3.mediums.1..h|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.BranchingPipes18") translateModel(ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|junctionIdeal.medium.h|junctionIdeal.medium.p|junctionVolume.medium.h|pipe1.mediums.1..h|pipe1.mediums.1..p|pipe2.mediums.1..h|pipe2.mediums.1..p|pipe3.mediums.1..h|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.BranchingPipes18") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001074/0.001074, allocations: 112.6 kB / 17.09 MB, free: 5.957 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001107/0.001107, allocations: 198.1 kB / 18.02 MB, free: 5.043 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.297/1.297, allocations: 205.1 MB / 223.9 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1998/0.1998, allocations: 43.53 MB / 314.8 MB, free: 452 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001467/0.001467, allocations: 73.44 kB / 442.5 MB, free: 5.652 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0885/0.08997, allocations: 57.79 MB / 0.4885 GB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes18): time 0.286/0.376, allocations: 112 MB / 0.5979 GB, free: 7.336 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.04443/0.4205, allocations: 38.89 MB / 0.6359 GB, free: 3.602 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002656/0.4232, allocations: 99.44 kB / 0.636 GB, free: 3.504 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00309/0.4263, allocations: 1.347 MB / 0.6373 GB, free: 2.148 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01996/0.4463, allocations: 8.399 MB / 0.6455 GB, free: 9.719 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01748/0.4638, allocations: 8.107 MB / 0.6534 GB, free: 1.586 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.008837/0.4726, allocations: 7.503 MB / 0.6607 GB, free: 10.06 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002559/0.4752, allocations: 1.735 MB / 0.6624 GB, free: 8.309 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004899/0.4801, allocations: 2.963 MB / 0.6653 GB, free: 5.336 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02239/0.5025, allocations: 12.3 MB / 0.6773 GB, free: 8.871 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.000921/0.5035, allocations: 260 kB / 0.6776 GB, free: 8.617 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01905/0.5225, allocations: 10.2 MB / 0.6875 GB, free: 14.4 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.001384/0.524, allocations: 1.021 MB / 0.6885 GB, free: 13.38 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.002484/0.5265, allocations: 1.59 MB / 0.6901 GB, free: 11.78 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.01834/0.5448, allocations: 9.77 MB / 0.6996 GB, free: 1.988 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.5449, allocations: 0 / 0.6996 GB, free: 1.988 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.503e-06/0.5449, allocations: 0 / 0.6996 GB, free: 1.988 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.822e-05/0.5449, allocations: 0 / 0.6996 GB, free: 1.988 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 575 * Number of variables: 575 Notification: Performance of Generate backend data structure: time 0.01051/0.5555, allocations: 4.433 MB / 0.704 GB, free: 13.47 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.081e-05/0.5555, allocations: 19.78 kB / 0.704 GB, free: 13.45 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00601/0.5615, allocations: 0.8591 MB / 0.7048 GB, free: 12.59 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0106/0.5722, allocations: 6.81 MB / 0.7115 GB, free: 5.715 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001823/0.5724, allocations: 208 kB / 0.7117 GB, free: 5.508 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003785/0.5728, allocations: 223.9 kB / 0.7119 GB, free: 5.289 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007672/0.5804, allocations: 3.785 MB / 0.7156 GB, free: 1.316 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.914e-05/0.5805, allocations: 7.938 kB / 0.7156 GB, free: 1.309 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000226/0.5807, allocations: 91.97 kB / 0.7157 GB, free: 1.219 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002393/0.581, allocations: 211.9 kB / 0.7159 GB, free: 1.008 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007807/0.5888, allocations: 3.513 MB / 0.7193 GB, free: 13.48 MB / 0.5606 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.02003/0.6089, allocations: 16.79 MB / 0.7357 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006881/0.6158, allocations: 3.068 MB / 0.7387 GB, free: 8.09 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002258/0.618, allocations: 1.353 MB / 0.74 GB, free: 6.734 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2396/0.8577, allocations: 24.55 MB / 0.764 GB, free: 212.4 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005453/0.8631, allocations: 1.841 MB / 0.7658 GB, free: 212.2 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=192): time 4.238e-06/0.8632, allocations: 1.719 kB / 0.7658 GB, free: 212.2 MB / 0.5919 GB Notification: Performance of matching and sorting (n=212): time 0.02843/0.8916, allocations: 9.946 MB / 0.7755 GB, free: 210.4 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.117e-05/0.8917, allocations: 184.9 kB / 0.7757 GB, free: 210.2 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00268/0.8944, allocations: 1.7 MB / 0.7774 GB, free: 209.6 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0002305/0.8946, allocations: 64.39 kB / 0.7774 GB, free: 209.5 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008117/0.8955, allocations: 1.055 MB / 0.7784 GB, free: 208.7 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.000572/0.896, allocations: 0.7102 MB / 0.7791 GB, free: 208.2 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008788/0.8969, allocations: 0.4951 MB / 0.7796 GB, free: 208 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 3.408e-05/0.897, allocations: 301.1 kB / 0.7799 GB, free: 207.7 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002472/0.8995, allocations: 1.282 MB / 0.7812 GB, free: 207.2 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002815/0.9023, allocations: 1.842 MB / 0.783 GB, free: 206.2 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004939/0.9072, allocations: 3.256 MB / 0.7861 GB, free: 204.4 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.968e-05/0.9073, allocations: 5.25 kB / 0.7861 GB, free: 204.4 MB / 0.5919 GB Notification: Performance of matching and sorting (n=312) (initialization): time 0.006765/0.914, allocations: 3.814 MB / 0.7899 GB, free: 203 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 5.164e-05/0.9141, allocations: 79.36 kB / 0.7899 GB, free: 202.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.64e-05/0.9141, allocations: 14.75 kB / 0.79 GB, free: 202.9 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001134/0.9153, allocations: 341.4 kB / 0.7903 GB, free: 202.8 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002242/0.9175, allocations: 0.5917 MB / 0.7909 GB, free: 202.7 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001376/0.9189, allocations: 3.101 MB / 0.7939 GB, free: 199.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002064/0.921, allocations: 155.1 kB / 0.794 GB, free: 199.9 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002229/0.9212, allocations: 128.2 kB / 0.7942 GB, free: 199.8 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002721/0.924, allocations: 1.712 MB / 0.7958 GB, free: 199.2 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002204/0.9262, allocations: 1.763 MB / 0.7976 GB, free: 198.1 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004081/0.9303, allocations: 3.114 MB / 0.8006 GB, free: 196.4 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.929e-06/0.9303, allocations: 3.906 kB / 0.8006 GB, free: 196.4 MB / 0.5919 GB Notification: Performance of matching and sorting (n=312) (initialization_lambda0): time 0.006178/0.9365, allocations: 3.662 MB / 0.8042 GB, free: 194.8 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 4.465e-05/0.9365, allocations: 76.02 kB / 0.8043 GB, free: 194.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.931e-05/0.9366, allocations: 14.47 kB / 0.8043 GB, free: 194.8 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001052/0.9376, allocations: 341.2 kB / 0.8046 GB, free: 194.6 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002185/0.9398, allocations: 0.5851 MB / 0.8052 GB, free: 194.4 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001363/0.9412, allocations: 3.108 MB / 0.8082 GB, free: 191.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002083/0.9433, allocations: 151.3 kB / 0.8083 GB, free: 191.4 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002278/0.9435, allocations: 126.3 kB / 0.8085 GB, free: 191.4 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 67 * Number of states: 0 () * Number of discrete variables: 31 (valve2.state_b.phase,valve2.state_a.phase,valve1.state_b.phase,valve1.state_a.phase,junctionVolume.medium.phase,junctionIdeal.medium.phase,valveOpening2.nextEventScaled,valveOpening2.nextEvent,$PRE.valveOpening2.nextEvent,valveOpening2.last,valveOpening2.b,valveOpening2.a,valveOpening1.nextEventScaled,valveOpening1.nextEvent,$PRE.valveOpening1.nextEvent,valveOpening1.last,valveOpening1.b,valveOpening1.a,pipe3.statesFM[2].phase,pipe2.statesFM[2].phase,sink.medium.phase,pipe1.statesFM[2].phase,source.medium.phase,$whenCondition2,$whenCondition1,pipe3.state_a.phase,pipe2.state_a.phase,pipe1.state_b.phase,pipe1.state_a.phase,pipe3.state_b.phase,pipe2.state_b.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (292): * Single equations (assignments): 285 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 5 systems {(1,1), (1,1), (1,1), (1,6), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0006483/0.9442, allocations: 411.5 kB / 0.8089 GB, free: 191 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005609/0.9447, allocations: 232.4 kB / 0.8091 GB, free: 190.9 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009575/0.9543, allocations: 8.157 MB / 0.817 GB, free: 183.3 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007347/0.9617, allocations: 7.111 MB / 0.824 GB, free: 176.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.067e-06/0.9617, allocations: 0 / 0.824 GB, free: 176.1 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001149/0.9629, allocations: 0.6927 MB / 0.8247 GB, free: 175.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005611/0.9635, allocations: 91.47 kB / 0.8248 GB, free: 175.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001617/0.9651, allocations: 159.3 kB / 0.8249 GB, free: 175.1 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003217/0.9654, allocations: 173.8 kB / 0.8251 GB, free: 174.9 MB / 0.5919 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007644/0.9731, allocations: 5.405 MB / 0.8303 GB, free: 169.5 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.008694/0.9818, allocations: 7.674 MB / 0.8378 GB, free: 161.7 MB / 0.5919 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002501/0.9843, allocations: 2.454 MB / 0.8402 GB, free: 159.2 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.00164/0.986, allocations: 1.324 MB / 0.8415 GB, free: 157.9 MB / 0.5919 GB Notification: Performance of Backend: time 4.8e-07/0.986, allocations: 2.125 kB / 0.8415 GB, free: 157.9 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01617/1.002, allocations: 6.74 MB / 0.8481 GB, free: 151.6 MB / 0.5919 GB Notification: Performance of SimCode: time 0.01048/1.013, allocations: 7.017 MB / 0.855 GB, free: 144.6 MB / 0.5919 GB Notification: Performance of Templates: time 0.1282/1.141, allocations: 112.2 MB / 0.9645 GB, free: 32.33 MB / 0.5919 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes18.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes18.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes18.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes18.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes18.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes18 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes18.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes18_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestPipesAndValves/BranchingPipes18/BranchingPipes18.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches