Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes18.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001306/0.001306, allocations: 106.5 kB / 21.2 MB, free: 0.6406 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00151/0.00151, allocations: 216.6 kB / 24.49 MB, free: 3.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.441/1.441, allocations: 230.6 MB / 258.3 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2284/0.2284, allocations: 46.96 MB / 361.6 MB, free: 4.023 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|junctionIdeal.medium.h|junctionIdeal.medium.p|junctionVolume.medium.h|pipe1.mediums.1..h|pipe1.mediums.1..p|pipe2.mediums.1..h|pipe2.mediums.1..p|pipe3.mediums.1..h|pipe3.mediums.1..p|valveOpening1.a|valveOpening1.b|valveOpening1.last|valveOpening1.nextEvent|valveOpening2.a|valveOpening2.b|valveOpening2.last|valveOpening2.nextEvent",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes18") translateModel(ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|junctionIdeal.medium.h|junctionIdeal.medium.p|junctionVolume.medium.h|pipe1.mediums.1..h|pipe1.mediums.1..p|pipe2.mediums.1..h|pipe2.mediums.1..p|pipe3.mediums.1..h|pipe3.mediums.1..p|valveOpening1.a|valveOpening1.b|valveOpening1.last|valveOpening1.nextEvent|valveOpening2.a|valveOpening2.b|valveOpening2.last|valveOpening2.nextEvent",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes18") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002019/0.002019, allocations: 63.89 kB / 0.4973 GB, free: 7.207 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2745/0.2765, allocations: 66.04 MB / 0.5618 GB, free: 4.141 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes18): time 0.1125/0.389, allocations: 102.5 MB / 0.6619 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.05305/0.4421, allocations: 35.3 MB / 0.6964 GB, free: 9.891 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002903/0.445, allocations: 126.9 kB / 0.6965 GB, free: 9.766 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.003654/0.4486, allocations: 1.262 MB / 0.6978 GB, free: 8.496 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0222/0.4708, allocations: 8.556 MB / 0.7061 GB, free: 15.92 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.02085/0.4917, allocations: 8.426 MB / 0.7143 GB, free: 7.504 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.01114/0.5028, allocations: 7.861 MB / 0.722 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002939/0.5058, allocations: 1.561 MB / 0.7235 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006527/0.5123, allocations: 3.069 MB / 0.7265 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.2825/0.7948, allocations: 12.55 MB / 0.7388 GB, free: 23.21 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0009764/0.7957, allocations: 262.8 kB / 0.739 GB, free: 23.21 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01608/0.8118, allocations: 9.971 MB / 0.7488 GB, free: 23.21 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.001425/0.8132, allocations: 1.051 MB / 0.7498 GB, free: 23.21 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001766/0.815, allocations: 1.33 MB / 0.7511 GB, free: 23.21 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.017/0.832, allocations: 9.767 MB / 0.7606 GB, free: 22.75 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.832, allocations: 2.531 kB / 0.7606 GB, free: 22.75 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.653e-06/0.832, allocations: 0 / 0.7606 GB, free: 22.75 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.696e-05/0.8321, allocations: 3.875 kB / 0.7607 GB, free: 22.75 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 575 * Number of variables: 575 Notification: Performance of Generate backend data structure: time 0.01121/0.8433, allocations: 4.503 MB / 0.7651 GB, free: 20.86 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.8433, allocations: 8.688 kB / 0.7651 GB, free: 20.86 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006115/0.8495, allocations: 0.8723 MB / 0.7659 GB, free: 20.7 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01048/0.8599, allocations: 6.724 MB / 0.7725 GB, free: 20.05 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002297/0.8602, allocations: 198.6 kB / 0.7727 GB, free: 20.04 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006357/0.8608, allocations: 219 kB / 0.7729 GB, free: 20.04 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008164/0.869, allocations: 4.255 MB / 0.777 GB, free: 18.99 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.162e-05/0.869, allocations: 9.969 kB / 0.777 GB, free: 18.99 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002653/0.8693, allocations: 98.3 kB / 0.7771 GB, free: 18.98 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002215/0.8695, allocations: 207.1 kB / 0.7773 GB, free: 18.98 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00757/0.8771, allocations: 3.568 MB / 0.7808 GB, free: 18.87 MB / 0.5606 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.01657/0.8937, allocations: 10.94 MB / 0.7915 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006924/0.9006, allocations: 2.58 MB / 0.794 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002159/0.9027, allocations: 1.327 MB / 0.7953 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04243/0.9452, allocations: 13.3 MB / 0.8083 GB, free: 8.648 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005336/0.9505, allocations: 2.071 MB / 0.8103 GB, free: 6.953 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=192): time 5.4e-06/0.9505, allocations: 0 / 0.8103 GB, free: 6.953 MB / 0.5606 GB Notification: Performance of matching and sorting (n=212): time 0.02833/0.9788, allocations: 10.04 MB / 0.8201 GB, free: 15.33 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001367/0.979, allocations: 191.7 kB / 0.8203 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002254/0.9812, allocations: 1.417 MB / 0.8217 GB, free: 14.03 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0003663/0.9816, allocations: 69.88 kB / 0.8218 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009832/0.9826, allocations: 1.088 MB / 0.8228 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008733/0.9835, allocations: 0.7425 MB / 0.8236 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0011/0.9846, allocations: 0.4917 MB / 0.824 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001362/0.9847, allocations: 305.1 kB / 0.8243 GB, free: 11.99 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002705/0.9874, allocations: 1.349 MB / 0.8256 GB, free: 11.05 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003474/0.9909, allocations: 2.134 MB / 0.8277 GB, free: 9.129 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005921/0.9968, allocations: 3.268 MB / 0.8309 GB, free: 6.73 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.542e-05/0.9968, allocations: 6.297 kB / 0.8309 GB, free: 6.727 MB / 0.5762 GB Notification: Performance of matching and sorting (n=312) (initialization): time 0.008538/1.005, allocations: 3.867 MB / 0.8347 GB, free: 3.992 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 8.913e-05/1.005, allocations: 81.62 kB / 0.8348 GB, free: 3.906 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.074e-05/1.005, allocations: 12 kB / 0.8348 GB, free: 3.895 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001317/1.007, allocations: 347.2 kB / 0.8351 GB, free: 3.613 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002812/1.01, allocations: 0.588 MB / 0.8357 GB, free: 3.082 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00263/1.012, allocations: 3.107 MB / 0.8387 GB, free: 12 kB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002454/1.015, allocations: 156.2 kB / 0.8389 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004533/1.015, allocations: 124 kB / 0.839 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004002/1.019, allocations: 1.773 MB / 0.8407 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003644/1.023, allocations: 2.061 MB / 0.8427 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.006284/1.029, allocations: 3.129 MB / 0.8458 GB, free: 8.312 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.713e-05/1.029, allocations: 4 kB / 0.8458 GB, free: 8.309 MB / 0.5919 GB Notification: Performance of matching and sorting (n=312) (initialization_lambda0): time 0.008935/1.038, allocations: 3.714 MB / 0.8494 GB, free: 4.637 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001028/1.038, allocations: 83.31 kB / 0.8495 GB, free: 4.543 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.337e-05/1.038, allocations: 12 kB / 0.8495 GB, free: 4.531 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001326/1.039, allocations: 352 kB / 0.8498 GB, free: 4.176 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002805/1.042, allocations: 0.5875 MB / 0.8504 GB, free: 3.621 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002646/1.045, allocations: 3.104 MB / 0.8535 GB, free: 412 kB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002387/1.047, allocations: 148.3 kB / 0.8536 GB, free: 264 kB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004154/1.048, allocations: 124 kB / 0.8537 GB, free: 140 kB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 67 * Number of states: 0 () * Number of discrete variables: 31 (valve2.state_b.phase,valve2.state_a.phase,valve1.state_b.phase,valve1.state_a.phase,junctionVolume.medium.phase,junctionIdeal.medium.phase,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,pipe3.statesFM[2].phase,pipe2.statesFM[2].phase,sink.medium.phase,pipe1.statesFM[2].phase,source.medium.phase,$whenCondition2,$whenCondition1,pipe3.state_a.phase,pipe2.state_a.phase,pipe1.state_b.phase,pipe1.state_a.phase,pipe3.state_b.phase,pipe2.state_b.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (292): * Single equations (assignments): 285 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * 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): 5 systems {(1,1), (1,1), (1,1), (1,6), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.001019/1.049, allocations: 417.5 kB / 0.8541 GB, free: 15.75 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007562/1.05, allocations: 222.6 kB / 0.8543 GB, free: 15.53 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01406/1.064, allocations: 8.427 MB / 0.8626 GB, free: 6.992 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01102/1.075, allocations: 7.404 MB / 0.8698 GB, free: 15.41 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.338e-06/1.075, allocations: 0 / 0.8698 GB, free: 15.41 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001562/1.076, allocations: 0.6101 MB / 0.8704 GB, free: 14.8 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005688/1.077, allocations: 91.61 kB / 0.8705 GB, free: 14.71 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001662/1.078, allocations: 151.8 kB / 0.8706 GB, free: 14.56 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003986/1.079, allocations: 185.6 kB / 0.8708 GB, free: 14.38 MB / 0.6231 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01011/1.089, allocations: 5.524 MB / 0.8762 GB, free: 8.773 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01212/1.101, allocations: 7.971 MB / 0.884 GB, free: 0.6602 MB / 0.6231 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003234/1.104, allocations: 2.115 MB / 0.886 GB, free: 14.53 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.00183/1.106, allocations: 1.111 MB / 0.8871 GB, free: 13.4 MB / 0.6387 GB Notification: Performance of Backend: time 5.92e-07/1.106, allocations: 0 / 0.8871 GB, free: 13.4 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.01938/1.125, allocations: 6.504 MB / 0.8935 GB, free: 7.199 MB / 0.6387 GB Notification: Performance of SimCode: time 0.01269/1.138, allocations: 6.935 MB / 0.9002 GB, free: 268 kB / 0.6387 GB Notification: Performance of Templates: time 0.3866/1.525, allocations: 113.4 MB / 1.011 GB, free: 342.2 MB / 0.7481 GB " [Timeout remaining time 658] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes18.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes18.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes18.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes18.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes18.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes18 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes18.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes18_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestPipesAndValves/BranchingPipes18/BranchingPipes18.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 12.166336192996823]