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.001505/0.001505, allocations: 101.2 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.001798/0.001799, allocations: 190.2 kB / 18.01 MB, free: 5.078 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.422/1.422, 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.2216/0.2216, allocations: 43.52 MB / 314.8 MB, free: 460 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.001611/0.001611, allocations: 59.91 kB / 442.5 MB, free: 5.664 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1105/0.1122, allocations: 57.79 MB / 0.4885 GB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15): time 0.5417/0.6539, allocations: 249.2 MB / 0.7319 GB, free: 1.008 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0331/0.687, allocations: 19.04 MB / 0.7505 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003435/0.6905, allocations: 91.5 kB / 0.7506 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.003149/0.6937, allocations: 0.9201 MB / 0.7515 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.01517/0.7089, allocations: 5.003 MB / 0.7564 GB, free: 7.891 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.01292/0.7218, allocations: 5.176 MB / 0.7614 GB, free: 2.703 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.376/1.098, allocations: 6.577 MB / 0.7679 GB, free: 6.426 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003288/1.101, allocations: 1.518 MB / 0.7694 GB, free: 6.34 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0067/1.108, allocations: 2.581 MB / 0.7719 GB, free: 6.34 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00564/1.114, allocations: 2.455 MB / 0.7743 GB, free: 6.336 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.000712/1.114, allocations: 218.8 kB / 0.7745 GB, free: 6.336 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00959/1.124, allocations: 4.333 MB / 0.7787 GB, free: 6.336 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.00141/1.125, allocations: 0.9235 MB / 0.7796 GB, free: 6.336 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.002268/1.128, allocations: 1.308 MB / 0.7809 GB, free: 6.328 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.01071/1.138, allocations: 5.731 MB / 0.7865 GB, free: 5.941 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/1.138, allocations: 0.9062 kB / 0.7865 GB, free: 5.941 MB / 0.5919 GB Notification: Performance of FrontEnd: time 3.256e-06/1.138, allocations: 0 / 0.7865 GB, free: 5.941 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0001442/1.139, allocations: 2.625 kB / 0.7865 GB, free: 5.941 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.0098/1.148, allocations: 3.454 MB / 0.7899 GB, free: 20.55 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.427e-05/1.148, allocations: 17.67 kB / 0.7899 GB, free: 20.55 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002572/1.151, allocations: 425.4 kB / 0.7903 GB, free: 20.42 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003422/1.154, allocations: 2.024 MB / 0.7923 GB, free: 19.95 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.899e-05/1.155, allocations: 139 kB / 0.7924 GB, free: 19.95 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002746/1.155, allocations: 165.9 kB / 0.7925 GB, free: 19.95 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003744/1.159, allocations: 2.556 MB / 0.795 GB, free: 19.64 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.022e-05/1.159, allocations: 5.656 kB / 0.7951 GB, free: 19.64 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001903/1.159, allocations: 71.86 kB / 0.7951 GB, free: 19.64 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002022/1.159, allocations: 192.8 kB / 0.7953 GB, free: 19.64 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003121/1.162, allocations: 2.238 MB / 0.7975 GB, free: 19.62 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.01279/1.175, allocations: 10.79 MB / 0.808 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002563/1.178, allocations: 1.763 MB / 0.8098 GB, free: 13.62 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001399/1.179, allocations: 1.053 MB / 0.8108 GB, free: 13.61 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002512/1.181, allocations: 2.416 MB / 0.8131 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001737/1.183, allocations: 1.279 MB / 0.8144 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=162): time 5.019e-06/1.183, allocations: 0 / 0.8144 GB, free: 11.47 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.02377/1.207, allocations: 10.61 MB / 0.8247 GB, free: 9.895 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001312/1.207, allocations: 293.4 kB / 0.825 GB, free: 9.582 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002002/1.209, allocations: 1.577 MB / 0.8266 GB, free: 9.398 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.000215/1.209, allocations: 61.36 kB / 0.8266 GB, free: 9.367 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006268/1.21, allocations: 0.8869 MB / 0.8275 GB, free: 9.039 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004592/1.211, allocations: 0.6199 MB / 0.8281 GB, free: 8.645 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007443/1.211, allocations: 477.3 kB / 0.8286 GB, free: 8.617 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.028e-05/1.211, allocations: 302 kB / 0.8288 GB, free: 8.32 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001639/1.213, allocations: 1.059 MB / 0.8299 GB, free: 8.297 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001987/1.215, allocations: 1.545 MB / 0.8314 GB, free: 7.809 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003474/1.219, allocations: 2.758 MB / 0.8341 GB, free: 7.238 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.451e-05/1.219, allocations: 4.812 kB / 0.8341 GB, free: 7.238 MB / 0.6075 GB Notification: Performance of matching and sorting (n=269) (initialization): time 0.004987/1.224, allocations: 3.211 MB / 0.8372 GB, free: 6.953 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 6.643e-05/1.224, allocations: 74.25 kB / 0.8373 GB, free: 6.891 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.458e-05/1.224, allocations: 12.19 kB / 0.8373 GB, free: 6.891 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004391/1.224, allocations: 191.5 kB / 0.8375 GB, free: 6.859 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002214/1.226, allocations: 0.5495 MB / 0.838 GB, free: 6.562 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001478/1.228, allocations: 2.336 MB / 0.8403 GB, free: 4.285 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002206/1.23, allocations: 114.9 kB / 0.8404 GB, free: 4.23 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003952/1.23, allocations: 186.9 kB / 0.8406 GB, free: 4.066 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00259/1.233, allocations: 1.419 MB / 0.842 GB, free: 3.109 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002035/1.235, allocations: 1.475 MB / 0.8434 GB, free: 1.84 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003556/1.239, allocations: 2.609 MB / 0.846 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.377e-06/1.239, allocations: 0 / 0.846 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of matching and sorting (n=269) (initialization_lambda0): time 0.005015/1.244, allocations: 3.053 MB / 0.8489 GB, free: 13.74 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 5.705e-05/1.244, allocations: 85.84 kB / 0.849 GB, free: 13.65 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.091e-05/1.244, allocations: 12 kB / 0.849 GB, free: 13.64 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003858/1.244, allocations: 184.7 kB / 0.8492 GB, free: 13.47 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002166/1.246, allocations: 0.5418 MB / 0.8497 GB, free: 12.98 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001493/1.248, allocations: 2.329 MB / 0.852 GB, free: 10.64 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002001/1.25, allocations: 118.6 kB / 0.8521 GB, free: 10.57 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003275/1.25, allocations: 188.5 kB / 0.8523 GB, free: 10.4 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.0007946/1.251, allocations: 383.7 kB / 0.8527 GB, free: 10.1 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005716/1.252, allocations: 212.8 kB / 0.8529 GB, free: 9.891 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006985/1.259, allocations: 3.743 MB / 0.8565 GB, free: 7.254 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004057/1.263, allocations: 2.768 MB / 0.8592 GB, free: 5.113 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.998e-06/1.263, allocations: 3.938 kB / 0.8592 GB, free: 5.109 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001493/1.264, allocations: 0.5415 MB / 0.8598 GB, free: 4.652 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005707/1.265, allocations: 49.8 kB / 0.8598 GB, free: 4.633 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00134/1.266, allocations: 79.41 kB / 0.8599 GB, free: 4.582 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003281/1.266, allocations: 148.8 kB / 0.86 GB, free: 4.449 MB / 0.6231 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005859/1.272, allocations: 3.046 MB / 0.863 GB, free: 2.18 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.006413/1.279, allocations: 4.289 MB / 0.8672 GB, free: 14.13 MB / 0.6387 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001721/1.28, allocations: 1.238 MB / 0.8684 GB, free: 12.89 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001676/1.282, allocations: 1.064 MB / 0.8694 GB, free: 11.84 MB / 0.6387 GB Notification: Performance of Backend: time 1.463e-06/1.282, allocations: 0 / 0.8694 GB, free: 11.84 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.01289/1.295, allocations: 5.025 MB / 0.8744 GB, free: 6.977 MB / 0.6387 GB Notification: Performance of SimCode: time 0.01037/1.305, allocations: 5.086 MB / 0.8793 GB, free: 1.875 MB / 0.6387 GB Notification: Performance of Templates: time 0.1171/1.423, allocations: 75.31 MB / 0.9529 GB, free: 6.82 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