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.001272/0.001273, allocations: 110.1 kB / 17.09 MB, free: 6.008 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.00134/0.001341, allocations: 194.2 kB / 18.02 MB, free: 5.094 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.299/1.299, allocations: 205.1 MB / 223.9 MB, free: 12.23 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.1947/0.1947, allocations: 43.53 MB / 314.8 MB, free: 464 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.001419/0.001419, allocations: 71.89 kB / 442.5 MB, free: 5.668 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09622/0.09765, 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.4429/0.5406, allocations: 249.2 MB / 0.7319 GB, free: 1.027 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02666/0.5673, allocations: 19.04 MB / 0.7505 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002519/0.5698, allocations: 95.44 kB / 0.7506 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001972/0.5718, allocations: 0.9201 MB / 0.7515 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.01091/0.5828, allocations: 4.941 MB / 0.7563 GB, free: 7.969 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.01075/0.5935, allocations: 5.18 MB / 0.7614 GB, free: 2.777 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.2847/0.8782, allocations: 6.561 MB / 0.7678 GB, free: 6.363 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002591/0.8808, allocations: 1.519 MB / 0.7693 GB, free: 6.273 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005289/0.8861, allocations: 2.567 MB / 0.7718 GB, free: 6.273 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004864/0.891, allocations: 2.445 MB / 0.7742 GB, free: 6.273 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0007753/0.8918, allocations: 218.8 kB / 0.7744 GB, free: 6.273 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009013/0.9008, allocations: 4.335 MB / 0.7786 GB, free: 6.273 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.001579/0.9024, allocations: 0.9234 MB / 0.7795 GB, free: 6.273 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.00218/0.9046, allocations: 1.308 MB / 0.7808 GB, free: 6.266 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.01084/0.9155, allocations: 5.728 MB / 0.7864 GB, free: 5.879 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.9155, allocations: 2.297 kB / 0.7864 GB, free: 5.879 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.373e-06/0.9155, allocations: 0.7812 kB / 0.7864 GB, free: 5.879 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.935e-05/0.9156, allocations: 1.375 kB / 0.7864 GB, free: 5.879 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.007997/0.9236, allocations: 3.46 MB / 0.7898 GB, free: 20.49 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.173e-05/0.9236, allocations: 13.89 kB / 0.7898 GB, free: 20.48 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002542/0.9262, allocations: 435.9 kB / 0.7902 GB, free: 20.36 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003041/0.9292, allocations: 2.019 MB / 0.7922 GB, free: 19.89 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.077e-05/0.9293, allocations: 131.8 kB / 0.7923 GB, free: 19.89 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002708/0.9296, allocations: 169.9 kB / 0.7925 GB, free: 19.88 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003594/0.9332, allocations: 2.553 MB / 0.795 GB, free: 19.58 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.144e-05/0.9333, allocations: 6.5 kB / 0.795 GB, free: 19.58 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001923/0.9335, allocations: 72.14 kB / 0.795 GB, free: 19.58 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001928/0.9337, allocations: 190.4 kB / 0.7952 GB, free: 19.57 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003139/0.9368, allocations: 2.236 MB / 0.7974 GB, free: 19.56 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.01254/0.9494, allocations: 10.8 MB / 0.8079 GB, free: 13.87 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002506/0.9519, allocations: 1.76 MB / 0.8097 GB, free: 13.56 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001299/0.9532, allocations: 1.058 MB / 0.8107 GB, free: 13.54 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002489/0.9557, allocations: 2.417 MB / 0.813 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00176/0.9575, allocations: 1.274 MB / 0.8143 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=162): time 3.947e-06/0.9575, allocations: 0.9688 kB / 0.8143 GB, free: 11.41 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.02392/0.9814, allocations: 10.61 MB / 0.8247 GB, free: 9.828 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001347/0.9816, allocations: 288.4 kB / 0.8249 GB, free: 9.516 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001933/0.9835, allocations: 1.576 MB / 0.8265 GB, free: 9.332 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0002946/0.9838, allocations: 63.45 kB / 0.8265 GB, free: 9.301 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006104/0.9845, allocations: 0.8823 MB / 0.8274 GB, free: 8.973 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004483/0.9849, allocations: 0.6232 MB / 0.828 GB, free: 8.578 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007267/0.9857, allocations: 478.4 kB / 0.8285 GB, free: 8.551 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.728e-05/0.9858, allocations: 301.1 kB / 0.8287 GB, free: 8.254 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00154/0.9873, allocations: 1.057 MB / 0.8298 GB, free: 8.23 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002012/0.9893, allocations: 1.554 MB / 0.8313 GB, free: 7.742 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003316/0.9927, allocations: 2.753 MB / 0.834 GB, free: 7.172 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.684e-06/0.9927, allocations: 4.469 kB / 0.834 GB, free: 7.172 MB / 0.6075 GB Notification: Performance of matching and sorting (n=269) (initialization): time 0.004898/0.9976, allocations: 3.215 MB / 0.8371 GB, free: 6.887 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 6.732e-05/0.9977, allocations: 72.73 kB / 0.8372 GB, free: 6.824 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.103e-05/0.9977, allocations: 12.19 kB / 0.8372 GB, free: 6.824 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004246/0.9981, allocations: 194.8 kB / 0.8374 GB, free: 6.789 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002308/1, allocations: 0.5502 MB / 0.8379 GB, free: 6.508 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001509/1.002, allocations: 2.335 MB / 0.8402 GB, free: 4.23 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001977/1.004, allocations: 114.9 kB / 0.8403 GB, free: 4.176 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003396/1.004, allocations: 187.9 kB / 0.8405 GB, free: 4.023 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002406/1.007, allocations: 1.41 MB / 0.8419 GB, free: 3.074 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002022/1.009, allocations: 1.476 MB / 0.8433 GB, free: 1.801 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003735/1.012, allocations: 2.611 MB / 0.8459 GB, free: 15.89 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.3e-05/1.013, allocations: 4.844 kB / 0.8459 GB, free: 15.89 MB / 0.6231 GB Notification: Performance of matching and sorting (n=269) (initialization_lambda0): time 0.00519/1.018, allocations: 3.048 MB / 0.8489 GB, free: 13.71 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 5.791e-05/1.018, allocations: 79.2 kB / 0.8489 GB, free: 13.62 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.12e-05/1.018, allocations: 16.56 kB / 0.8489 GB, free: 13.61 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004136/1.018, allocations: 191 kB / 0.8491 GB, free: 13.44 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002255/1.021, allocations: 0.5445 MB / 0.8497 GB, free: 12.94 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001512/1.022, allocations: 2.329 MB / 0.8519 GB, free: 10.61 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001982/1.024, allocations: 115.2 kB / 0.852 GB, free: 10.53 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003339/1.024, allocations: 187.5 kB / 0.8522 GB, free: 10.37 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.0007924/1.025, allocations: 378.5 kB / 0.8526 GB, free: 10.07 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006231/1.026, allocations: 217.5 kB / 0.8528 GB, free: 9.855 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00688/1.033, allocations: 3.74 MB / 0.8564 GB, free: 7.219 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004049/1.037, allocations: 2.766 MB / 0.8591 GB, free: 5.082 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.053e-05/1.037, allocations: 3.938 kB / 0.8591 GB, free: 5.078 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001344/1.038, allocations: 0.5468 MB / 0.8597 GB, free: 4.613 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006142/1.039, allocations: 50.31 kB / 0.8597 GB, free: 4.594 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001358/1.04, allocations: 73.47 kB / 0.8598 GB, free: 4.547 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000331/1.04, allocations: 150.2 kB / 0.8599 GB, free: 4.414 MB / 0.6231 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006119/1.047, allocations: 3.05 MB / 0.8629 GB, free: 2.145 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.006564/1.053, allocations: 4.285 MB / 0.8671 GB, free: 14.13 MB / 0.6387 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001932/1.055, allocations: 1.234 MB / 0.8683 GB, free: 12.89 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001961/1.057, allocations: 1.068 MB / 0.8694 GB, free: 11.84 MB / 0.6387 GB Notification: Performance of Backend: time 7.62e-07/1.057, allocations: 0 / 0.8694 GB, free: 11.84 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.01464/1.072, allocations: 5.016 MB / 0.8743 GB, free: 6.98 MB / 0.6387 GB Notification: Performance of SimCode: time 0.009271/1.081, allocations: 5.098 MB / 0.8792 GB, free: 1.871 MB / 0.6387 GB Notification: Performance of Templates: time 0.1124/1.193, allocations: 76.49 MB / 0.9539 GB, free: 5.66 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