Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.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_4.0.0_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_4.0.0_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001129/0.001135, allocations: 108.9 kB / 18.45 MB, free: 4.602 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.001042/0.001042, allocations: 183 kB / 19.38 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.369/1.369, allocations: 222.9 MB / 243.1 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2291/0.2291, allocations: 44.19 MB / 337.4 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001221/0.001221, allocations: 63.89 kB / 471.2 MB, free: 13.18 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3733/0.3746, allocations: 60.83 MB / 0.5196 GB, free: 3.613 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16): time 0.5899/0.9645, allocations: 234.1 MB / 0.7481 GB, free: 1.75 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02282/0.9874, allocations: 16.59 MB / 0.7643 GB, free: 1.57 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003034/0.9904, allocations: 93.12 kB / 0.7644 GB, free: 1.57 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002415/0.9929, allocations: 0.9259 MB / 0.7653 GB, free: 1.555 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.01003/1.003, allocations: 4.038 MB / 0.7693 GB, free: 1.379 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.012/1.015, allocations: 5.194 MB / 0.7744 GB, free: 1.23 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.008316/1.023, allocations: 6.588 MB / 0.7808 GB, free: 1.219 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002787/1.026, allocations: 1.52 MB / 0.7823 GB, free: 1.113 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005709/1.032, allocations: 2.58 MB / 0.7848 GB, free: 1.109 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004831/1.037, allocations: 2.46 MB / 0.7872 GB, free: 0.8984 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0009824/1.038, allocations: 219.8 kB / 0.7874 GB, free: 0.8984 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008108/1.046, allocations: 3.414 MB / 0.7907 GB, free: 0.832 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.001552/1.047, allocations: 0.9204 MB / 0.7916 GB, free: 500 kB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.002945/1.05, allocations: 1.311 MB / 0.7929 GB, free: 36 kB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.01059/1.061, allocations: 5.196 MB / 0.798 GB, free: 14 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/1.061, allocations: 3.531 kB / 0.798 GB, free: 14 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.573e-06/1.061, allocations: 0 / 0.798 GB, free: 14 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0001275/1.061, allocations: 0 / 0.798 GB, free: 14 MB / 0.5762 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.008852/1.07, allocations: 3.308 MB / 0.8012 GB, free: 12.12 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/1.07, allocations: 10.56 kB / 0.8012 GB, free: 12.12 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002643/1.073, allocations: 429.8 kB / 0.8016 GB, free: 11.94 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003504/1.076, allocations: 2.013 MB / 0.8036 GB, free: 10.98 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.537e-05/1.076, allocations: 128.2 kB / 0.8037 GB, free: 10.93 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00028/1.077, allocations: 162.8 kB / 0.8039 GB, free: 10.89 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004162/1.081, allocations: 2.568 MB / 0.8064 GB, free: 8.496 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.293e-05/1.081, allocations: 6.531 kB / 0.8064 GB, free: 8.492 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002242/1.081, allocations: 72.03 kB / 0.8065 GB, free: 8.434 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002416/1.081, allocations: 185.5 kB / 0.8066 GB, free: 8.254 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003743/1.085, allocations: 2.25 MB / 0.8088 GB, free: 6.023 MB / 0.5762 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.01487/1.1, allocations: 10.73 MB / 0.8193 GB, free: 10.72 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003017/1.103, allocations: 1.772 MB / 0.8211 GB, free: 8.891 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001601/1.105, allocations: 1.058 MB / 0.8221 GB, free: 7.832 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008636/1.105, allocations: 0.5141 MB / 0.8226 GB, free: 7.238 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002064/1.108, allocations: 1.282 MB / 0.8238 GB, free: 5.918 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=162): time 5.22e-06/1.108, allocations: 4 kB / 0.8238 GB, free: 5.914 MB / 0.5919 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.02662/1.134, allocations: 10.64 MB / 0.8342 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001195/1.134, allocations: 283 kB / 0.8345 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002154/1.137, allocations: 1.58 MB / 0.836 GB, free: 9.184 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0002327/1.137, allocations: 65.7 kB / 0.8361 GB, free: 9.113 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007699/1.138, allocations: 0.8775 MB / 0.837 GB, free: 8.227 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005489/1.138, allocations: 0.6247 MB / 0.8376 GB, free: 7.609 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008545/1.139, allocations: 483.5 kB / 0.838 GB, free: 7.129 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.158e-05/1.139, allocations: 309.1 kB / 0.8383 GB, free: 6.824 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001852/1.141, allocations: 1.063 MB / 0.8394 GB, free: 5.75 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002264/1.143, allocations: 1.549 MB / 0.8409 GB, free: 4.016 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004079/1.147, allocations: 2.761 MB / 0.8436 GB, free: 1.121 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.958e-06/1.147, allocations: 4 kB / 0.8436 GB, free: 1.117 MB / 0.6075 GB Notification: Performance of matching and sorting (n=269) (initialization): time 0.005551/1.153, allocations: 3.216 MB / 0.8467 GB, free: 13.94 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 6.604e-05/1.153, allocations: 83.27 kB / 0.8468 GB, free: 13.84 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.212e-05/1.153, allocations: 12 kB / 0.8468 GB, free: 13.83 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004681/1.153, allocations: 195 kB / 0.847 GB, free: 13.63 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002383/1.156, allocations: 0.5546 MB / 0.8475 GB, free: 13.11 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001484/1.157, allocations: 2.32 MB / 0.8498 GB, free: 10.69 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001994/1.159, allocations: 116.2 kB / 0.8499 GB, free: 10.58 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003508/1.16, allocations: 192 kB / 0.8501 GB, free: 10.39 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002524/1.162, allocations: 1.417 MB / 0.8515 GB, free: 8.965 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002101/1.164, allocations: 1.478 MB / 0.8529 GB, free: 7.309 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00391/1.168, allocations: 2.617 MB / 0.8555 GB, free: 4.555 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.472e-05/1.168, allocations: 4 kB / 0.8555 GB, free: 4.551 MB / 0.6231 GB Notification: Performance of matching and sorting (n=269) (initialization_lambda0): time 0.005509/1.174, allocations: 3.066 MB / 0.8585 GB, free: 1.523 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 6.203e-05/1.174, allocations: 75.39 kB / 0.8586 GB, free: 1.438 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.137e-05/1.174, allocations: 12 kB / 0.8586 GB, free: 1.426 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004108/1.174, allocations: 183.3 kB / 0.8587 GB, free: 1.234 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002292/1.177, allocations: 0.5509 MB / 0.8593 GB, free: 0.7109 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001553/1.178, allocations: 2.335 MB / 0.8616 GB, free: 14.29 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002081/1.18, allocations: 116 kB / 0.8617 GB, free: 14.17 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003322/1.181, allocations: 191.9 kB / 0.8619 GB, free: 13.98 MB / 0.6387 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.0007899/1.181, allocations: 374.7 kB / 0.8622 GB, free: 13.62 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005636/1.182, allocations: 213.5 kB / 0.8624 GB, free: 13.41 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007837/1.19, allocations: 4.66 MB / 0.867 GB, free: 8.738 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004066/1.194, allocations: 2.775 MB / 0.8697 GB, free: 5.859 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.005e-06/1.194, allocations: 3.984 kB / 0.8697 GB, free: 5.855 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001303/1.195, allocations: 0.5215 MB / 0.8702 GB, free: 5.312 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005784/1.196, allocations: 55.92 kB / 0.8702 GB, free: 5.258 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001351/1.197, allocations: 75.94 kB / 0.8703 GB, free: 5.184 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003139/1.198, allocations: 149.8 kB / 0.8705 GB, free: 5.035 MB / 0.6387 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006054/1.204, allocations: 3.058 MB / 0.8734 GB, free: 1.965 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.006745/1.21, allocations: 4.301 MB / 0.8776 GB, free: 13.63 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001904/1.212, allocations: 1.238 MB / 0.8789 GB, free: 12.39 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.002111/1.214, allocations: 1.072 MB / 0.8799 GB, free: 11.33 MB / 0.6544 GB Notification: Performance of Backend: time 8.92e-07/1.214, allocations: 0 / 0.8799 GB, free: 11.33 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.01131/1.226, allocations: 4.731 MB / 0.8845 GB, free: 6.734 MB / 0.6544 GB Notification: Performance of SimCode: time 0.009039/1.235, allocations: 5.132 MB / 0.8895 GB, free: 1.559 MB / 0.6544 GB Notification: Performance of Templates: time 0.1084/1.343, allocations: 72.36 MB / 0.9602 GB, free: 9.672 MB / 0.7325 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestPipesAndValves/BranchingPipes16/BranchingPipes16.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches