Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 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.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_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_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.00144/0.00144, allocations: 111.4 kB / 17.09 MB, free: 5.992 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.001445/0.001445, allocations: 195.3 kB / 18.02 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.642/1.642, 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.2101/0.2101, allocations: 43.53 MB / 314.8 MB, free: 456 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.00231/0.00231, allocations: 67.89 kB / 442.5 MB, free: 5.672 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1213/0.1236, allocations: 57.78 MB / 0.4885 GB, free: 11.81 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16): time 0.5355/0.6592, allocations: 249.2 MB / 0.7319 GB, free: 1.027 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02853/0.6877, allocations: 19.03 MB / 0.7505 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003283/0.691, allocations: 99.44 kB / 0.7506 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002538/0.6937, allocations: 0.9124 MB / 0.7515 GB, free: 12.94 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.01291/0.7066, allocations: 5.003 MB / 0.7564 GB, free: 7.918 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.01159/0.7182, allocations: 5.179 MB / 0.7614 GB, free: 2.73 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.3603/1.079, allocations: 6.573 MB / 0.7679 GB, free: 6.34 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003743/1.082, allocations: 1.523 MB / 0.7694 GB, free: 6.25 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007577/1.09, allocations: 2.58 MB / 0.7719 GB, free: 6.25 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005996/1.096, allocations: 2.456 MB / 0.7743 GB, free: 6.246 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.000961/1.097, allocations: 218.6 kB / 0.7745 GB, free: 6.246 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01106/1.108, allocations: 4.332 MB / 0.7787 GB, free: 6.246 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.00191/1.11, allocations: 0.9194 MB / 0.7796 GB, free: 6.246 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.002724/1.113, allocations: 1.305 MB / 0.7809 GB, free: 6.238 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.01339/1.126, allocations: 5.762 MB / 0.7865 GB, free: 5.633 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/1.126, allocations: 0 / 0.7865 GB, free: 5.633 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.313e-06/1.126, allocations: 0.7812 kB / 0.7865 GB, free: 5.633 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 9.297e-05/1.126, allocations: 0 / 0.7865 GB, free: 5.633 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.0101/1.136, allocations: 3.55 MB / 0.79 GB, free: 20.01 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.098e-05/1.136, allocations: 14.3 kB / 0.79 GB, free: 20 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002829/1.139, allocations: 443.7 kB / 0.7904 GB, free: 19.87 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003938/1.143, allocations: 2.039 MB / 0.7924 GB, free: 19.39 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.985e-05/1.143, allocations: 129.2 kB / 0.7925 GB, free: 19.38 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002855/1.144, allocations: 165.3 kB / 0.7927 GB, free: 19.38 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004258/1.148, allocations: 2.561 MB / 0.7952 GB, free: 19.07 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.21e-05/1.148, allocations: 5.594 kB / 0.7952 GB, free: 19.07 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000192/1.148, allocations: 71.5 kB / 0.7953 GB, free: 19.07 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002242/1.148, allocations: 190.9 kB / 0.7954 GB, free: 19.07 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003486/1.152, allocations: 2.24 MB / 0.7976 GB, free: 19.05 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.01383/1.166, allocations: 10.81 MB / 0.8082 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002645/1.168, allocations: 1.765 MB / 0.8099 GB, free: 13.04 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001369/1.17, allocations: 1.055 MB / 0.8109 GB, free: 13.03 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002662/1.172, allocations: 2.42 MB / 0.8133 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00176/1.174, allocations: 1.27 MB / 0.8145 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=162): time 3.898e-06/1.174, allocations: 0 / 0.8145 GB, free: 10.89 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.02403/1.198, allocations: 10.66 MB / 0.825 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001319/1.198, allocations: 289.3 kB / 0.8252 GB, free: 8.965 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001797/1.2, allocations: 1.575 MB / 0.8268 GB, free: 8.781 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001988/1.2, allocations: 62.8 kB / 0.8268 GB, free: 8.75 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005494/1.201, allocations: 0.9011 MB / 0.8277 GB, free: 8.41 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003902/1.201, allocations: 0.6532 MB / 0.8283 GB, free: 7.984 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006772/1.202, allocations: 483.6 kB / 0.8288 GB, free: 7.953 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001006/1.202, allocations: 302.8 kB / 0.8291 GB, free: 7.656 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001614/1.204, allocations: 1.06 MB / 0.8301 GB, free: 7.633 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002025/1.206, allocations: 1.548 MB / 0.8316 GB, free: 7.145 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003653/1.209, allocations: 2.756 MB / 0.8343 GB, free: 6.574 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.375e-06/1.209, allocations: 2.938 kB / 0.8343 GB, free: 6.574 MB / 0.6075 GB Notification: Performance of matching and sorting (n=269) (initialization): time 0.00507/1.215, allocations: 3.222 MB / 0.8375 GB, free: 6.281 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 6.57e-05/1.215, allocations: 76.12 kB / 0.8376 GB, free: 6.219 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.043e-05/1.215, allocations: 12.22 kB / 0.8376 GB, free: 6.219 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004418/1.215, allocations: 193.9 kB / 0.8378 GB, free: 6.188 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002287/1.217, allocations: 0.5438 MB / 0.8383 GB, free: 5.902 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001697/1.219, allocations: 2.333 MB / 0.8406 GB, free: 3.625 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002079/1.221, allocations: 111.5 kB / 0.8407 GB, free: 3.57 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002996/1.222, allocations: 190.3 kB / 0.8408 GB, free: 3.418 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002466/1.224, allocations: 1.413 MB / 0.8422 GB, free: 2.516 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002085/1.226, allocations: 1.475 MB / 0.8437 GB, free: 1.242 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003642/1.23, allocations: 2.608 MB / 0.8462 GB, free: 15.33 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.946e-06/1.23, allocations: 4 kB / 0.8462 GB, free: 15.33 MB / 0.6231 GB Notification: Performance of matching and sorting (n=269) (initialization_lambda0): time 0.005241/1.235, allocations: 3.062 MB / 0.8492 GB, free: 13.14 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 7.071e-05/1.235, allocations: 79.38 kB / 0.8493 GB, free: 13.05 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.886e-05/1.235, allocations: 12.94 kB / 0.8493 GB, free: 13.04 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004397/1.236, allocations: 191.1 kB / 0.8495 GB, free: 12.87 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002275/1.238, allocations: 0.5355 MB / 0.85 GB, free: 12.38 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001537/1.239, allocations: 2.333 MB / 0.8523 GB, free: 10.04 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001889/1.241, allocations: 111.4 kB / 0.8524 GB, free: 9.969 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002842/1.242, allocations: 191.6 kB / 0.8526 GB, free: 9.805 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.0007428/1.242, allocations: 380.9 kB / 0.8529 GB, free: 9.504 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004199/1.243, allocations: 228.8 kB / 0.8532 GB, free: 9.281 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006568/1.249, allocations: 3.75 MB / 0.8568 GB, free: 6.637 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003989/1.253, allocations: 2.763 MB / 0.8595 GB, free: 4.5 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.735e-06/1.253, allocations: 3.938 kB / 0.8595 GB, free: 4.496 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001158/1.255, allocations: 0.5606 MB / 0.8601 GB, free: 4.02 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003889/1.255, allocations: 57.05 kB / 0.8601 GB, free: 3.996 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001104/1.256, allocations: 73.69 kB / 0.8602 GB, free: 3.949 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003421/1.256, allocations: 150.5 kB / 0.8603 GB, free: 3.816 MB / 0.6231 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005715/1.262, allocations: 3.046 MB / 0.8633 GB, free: 1.547 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00685/1.269, allocations: 4.3 MB / 0.8675 GB, free: 13.51 MB / 0.6387 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001927/1.271, allocations: 1.234 MB / 0.8687 GB, free: 12.27 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.002084/1.273, allocations: 1.068 MB / 0.8698 GB, free: 11.21 MB / 0.6387 GB Notification: Performance of Backend: time 2.975e-06/1.273, allocations: 112 / 0.8698 GB, free: 11.21 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.01234/1.285, allocations: 5.025 MB / 0.8747 GB, free: 6.348 MB / 0.6387 GB Notification: Performance of SimCode: time 0.008758/1.294, allocations: 5.173 MB / 0.8797 GB, free: 1.16 MB / 0.6387 GB Notification: Performance of Templates: time 0.116/1.41, allocations: 75.31 MB / 0.9533 GB, free: 6.109 MB / 0.7169 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches