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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00107/0.00107, allocations: 102.5 kB / 17.08 MB, free: 5.988 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.0009712/0.0009712, allocations: 198.2 kB / 18.01 MB, free: 5.074 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.29/1.29, allocations: 205.1 MB / 223.9 MB, free: 12.25 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.2002/0.2002, allocations: 43.53 MB / 314.8 MB, free: 472 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.001553/0.001553, allocations: 67.89 kB / 442.5 MB, free: 5.676 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09419/0.09575, allocations: 57.79 MB / 0.4885 GB, free: 11.82 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15): time 0.4372/0.533, allocations: 249.2 MB / 0.7319 GB, free: 1.035 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02779/0.5608, allocations: 19.02 MB / 0.7505 GB, free: 13.97 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004177/0.565, allocations: 95.44 kB / 0.7506 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.00274/0.5679, allocations: 0.9279 MB / 0.7515 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.01298/0.5809, allocations: 4.939 MB / 0.7563 GB, free: 7.988 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.01116/0.5921, allocations: 5.177 MB / 0.7614 GB, free: 2.801 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.2929/0.8849, allocations: 6.568 MB / 0.7678 GB, free: 6.422 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002768/0.8877, allocations: 1.518 MB / 0.7693 GB, free: 6.332 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005465/0.8932, allocations: 2.565 MB / 0.7718 GB, free: 6.332 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005036/0.8983, allocations: 2.452 MB / 0.7742 GB, free: 6.332 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0007091/0.899, allocations: 219.1 kB / 0.7744 GB, free: 6.332 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009013/0.908, allocations: 4.328 MB / 0.7786 GB, free: 6.332 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.001178/0.9092, allocations: 0.9221 MB / 0.7795 GB, free: 6.332 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001995/0.9112, allocations: 1.313 MB / 0.7808 GB, free: 6.324 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.009636/0.9209, allocations: 5.732 MB / 0.7864 GB, free: 5.934 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.9209, allocations: 0 / 0.7864 GB, free: 5.934 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.493e-06/0.9209, allocations: 0.9375 kB / 0.7864 GB, free: 5.934 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.535e-05/0.921, allocations: 1.688 kB / 0.7864 GB, free: 5.934 MB / 0.5919 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.008027/0.929, allocations: 3.458 MB / 0.7898 GB, free: 20.54 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.772e-05/0.9291, allocations: 12.45 kB / 0.7898 GB, free: 20.54 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00261/0.9317, allocations: 435.1 kB / 0.7902 GB, free: 20.41 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003249/0.9349, allocations: 2.025 MB / 0.7922 GB, free: 19.95 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.862e-05/0.935, allocations: 127.1 kB / 0.7923 GB, free: 19.94 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002721/0.9353, allocations: 170.7 kB / 0.7925 GB, free: 19.94 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003686/0.939, allocations: 2.559 MB / 0.795 GB, free: 19.63 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.07e-05/0.9391, allocations: 3.406 kB / 0.795 GB, free: 19.63 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002033/0.9393, allocations: 65.72 kB / 0.795 GB, free: 19.63 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002112/0.9395, allocations: 190.5 kB / 0.7952 GB, free: 19.63 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003172/0.9427, allocations: 2.242 MB / 0.7974 GB, free: 19.61 MB / 0.6075 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.01257/0.9553, allocations: 10.79 MB / 0.8079 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002508/0.9578, allocations: 1.771 MB / 0.8097 GB, free: 13.61 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001326/0.9591, allocations: 1.059 MB / 0.8107 GB, free: 13.59 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002426/0.9616, allocations: 2.413 MB / 0.8131 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001667/0.9632, allocations: 1.281 MB / 0.8143 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=162): time 3.407e-06/0.9633, allocations: 0 / 0.8143 GB, free: 11.46 MB / 0.6075 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.02361/0.9869, allocations: 10.61 MB / 0.8247 GB, free: 9.879 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001177/0.987, allocations: 286.5 kB / 0.8249 GB, free: 9.566 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001784/0.9888, allocations: 1.58 MB / 0.8265 GB, free: 9.383 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0002318/0.989, allocations: 60.61 kB / 0.8265 GB, free: 9.352 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006121/0.9897, allocations: 0.8853 MB / 0.8274 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003811/0.99, allocations: 0.624 MB / 0.828 GB, free: 8.625 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006557/0.9907, allocations: 476.4 kB / 0.8285 GB, free: 8.598 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.649e-05/0.9908, allocations: 302.2 kB / 0.8288 GB, free: 8.301 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001518/0.9923, allocations: 1.058 MB / 0.8298 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001856/0.9942, allocations: 1.549 MB / 0.8313 GB, free: 7.789 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003304/0.9975, allocations: 2.761 MB / 0.834 GB, free: 7.219 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.015e-06/0.9975, allocations: 3.688 kB / 0.834 GB, free: 7.219 MB / 0.6075 GB Notification: Performance of matching and sorting (n=269) (initialization): time 0.00485/1.002, allocations: 3.207 MB / 0.8371 GB, free: 6.934 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 6.04e-05/1.002, allocations: 73.3 kB / 0.8372 GB, free: 6.871 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.856e-05/1.002, allocations: 14.81 kB / 0.8372 GB, free: 6.871 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004236/1.003, allocations: 196.2 kB / 0.8374 GB, free: 6.84 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002234/1.005, allocations: 0.5434 MB / 0.8379 GB, free: 6.609 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001461/1.007, allocations: 2.334 MB / 0.8402 GB, free: 4.336 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00187/1.009, allocations: 115.6 kB / 0.8403 GB, free: 4.281 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002931/1.009, allocations: 189.5 kB / 0.8405 GB, free: 4.129 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002309/1.011, allocations: 1.414 MB / 0.8419 GB, free: 3.188 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001916/1.013, allocations: 1.474 MB / 0.8433 GB, free: 1.918 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003359/1.016, allocations: 2.612 MB / 0.8459 GB, free: 4 kB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.815e-06/1.016, allocations: 4.781 kB / 0.8459 GB, free: 0 / 0.6075 GB Notification: Performance of matching and sorting (n=269) (initialization_lambda0): time 0.004744/1.021, allocations: 3.056 MB / 0.8489 GB, free: 13.82 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 5.625e-05/1.021, allocations: 75.2 kB / 0.8489 GB, free: 13.73 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.52e-05/1.021, allocations: 12.91 kB / 0.849 GB, free: 13.72 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003978/1.022, allocations: 189.5 kB / 0.8491 GB, free: 13.55 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00219/1.024, allocations: 0.5441 MB / 0.8497 GB, free: 13.05 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001324/1.025, allocations: 2.327 MB / 0.8519 GB, free: 10.72 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001826/1.027, allocations: 117.1 kB / 0.8521 GB, free: 10.64 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002616/1.027, allocations: 184.2 kB / 0.8522 GB, free: 10.48 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * Number of states: 0 () * Number of discrete variables: 14 (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,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (255): * Single equations (assignments): 249 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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): 4 systems {(1,1), (1,1), (1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0007046/1.028, allocations: 388.5 kB / 0.8526 GB, free: 10.18 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003752/1.028, allocations: 209.5 kB / 0.8528 GB, free: 9.973 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006347/1.035, allocations: 3.752 MB / 0.8565 GB, free: 7.324 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003729/1.039, allocations: 2.76 MB / 0.8592 GB, free: 5.188 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.494e-06/1.039, allocations: 3.938 kB / 0.8592 GB, free: 5.184 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001066/1.04, allocations: 0.5402 MB / 0.8597 GB, free: 4.727 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003795/1.04, allocations: 45.94 kB / 0.8597 GB, free: 4.711 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001096/1.041, allocations: 77.22 kB / 0.8598 GB, free: 4.66 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002935/1.041, allocations: 158.1 kB / 0.86 GB, free: 4.523 MB / 0.6231 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005952/1.047, allocations: 3.041 MB / 0.8629 GB, free: 2.258 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.006334/1.054, allocations: 4.288 MB / 0.8671 GB, free: 14.19 MB / 0.6387 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001625/1.055, allocations: 1.238 MB / 0.8683 GB, free: 12.95 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001436/1.057, allocations: 1.064 MB / 0.8694 GB, free: 11.9 MB / 0.6387 GB Notification: Performance of Backend: time 3.41e-07/1.057, allocations: 4 kB / 0.8694 GB, free: 11.89 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.01054/1.067, allocations: 5.007 MB / 0.8743 GB, free: 7.047 MB / 0.6387 GB Notification: Performance of SimCode: time 0.008034/1.075, allocations: 5.096 MB / 0.8792 GB, free: 1.941 MB / 0.6387 GB Notification: Performance of Templates: time 0.1097/1.185, allocations: 76.49 MB / 0.9539 GB, free: 5.723 MB / 0.7169 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestPipesAndValves/BranchingPipes15/BranchingPipes15.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches