Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes14.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.001668/0.001668, allocations: 110.4 kB / 21.19 MB, free: 0.6641 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.001483/0.001483, allocations: 204.7 kB / 24.49 MB, free: 3.965 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.456/1.456, allocations: 230.6 MB / 258.3 MB, free: 7.812 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.2583/0.2583, allocations: 46.96 MB / 361.6 MB, free: 4.059 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.BranchingPipes14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|junctionIdeal.medium.h|junctionIdeal.medium.p|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.BranchingPipes14") translateModel(ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|junctionIdeal.medium.h|junctionIdeal.medium.p|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.BranchingPipes14") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002037/0.002037, allocations: 63.91 kB / 0.4973 GB, free: 7.242 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2887/0.2907, allocations: 66.04 MB / 0.5618 GB, free: 4.191 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes14): time 0.1025/0.3933, allocations: 93.28 MB / 0.6529 GB, free: 6.598 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.04901/0.4423, allocations: 33.45 MB / 0.6856 GB, free: 5.047 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002456/0.4447, allocations: 130.9 kB / 0.6857 GB, free: 4.918 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.003114/0.4478, allocations: 1.165 MB / 0.6868 GB, free: 3.746 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.02042/0.4683, allocations: 8.141 MB / 0.6948 GB, free: 11.59 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.02144/0.4897, allocations: 7.963 MB / 0.7026 GB, free: 3.637 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.01087/0.5006, allocations: 7.346 MB / 0.7097 GB, free: 12.27 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002761/0.5033, allocations: 1.404 MB / 0.7111 GB, free: 10.85 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005857/0.5092, allocations: 2.847 MB / 0.7139 GB, free: 7.992 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02483/0.534, allocations: 12.38 MB / 0.726 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0008905/0.5349, allocations: 236 kB / 0.7262 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02006/0.555, allocations: 9.81 MB / 0.7358 GB, free: 1.395 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.001827/0.5568, allocations: 0.989 MB / 0.7367 GB, free: 412 kB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.2759/0.8327, allocations: 1.217 MB / 0.7379 GB, free: 30.09 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.02002/0.8527, allocations: 9.355 MB / 0.7471 GB, free: 29.65 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.8527, allocations: 0 / 0.7471 GB, free: 29.65 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.473e-06/0.8527, allocations: 0 / 0.7471 GB, free: 29.65 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.708e-05/0.8527, allocations: 0.5 kB / 0.7471 GB, free: 29.65 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: 536 * Number of variables: 536 Notification: Performance of Generate backend data structure: time 0.009606/0.8623, allocations: 4.222 MB / 0.7512 GB, free: 27.86 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.892e-05/0.8624, allocations: 10.56 kB / 0.7512 GB, free: 27.86 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005505/0.8679, allocations: 0.8176 MB / 0.752 GB, free: 27.7 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01008/0.878, allocations: 6.627 MB / 0.7585 GB, free: 27.13 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001492/0.8781, allocations: 178.9 kB / 0.7586 GB, free: 27.12 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003132/0.8784, allocations: 208 kB / 0.7588 GB, free: 27.12 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006583/0.885, allocations: 3.963 MB / 0.7627 GB, free: 26.19 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.347e-05/0.8851, allocations: 11.72 kB / 0.7627 GB, free: 26.19 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002089/0.8853, allocations: 90.08 kB / 0.7628 GB, free: 26.18 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002022/0.8855, allocations: 203.1 kB / 0.763 GB, free: 26.18 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006443/0.8919, allocations: 3.316 MB / 0.7662 GB, free: 26.09 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.01389/0.9058, allocations: 10.04 MB / 0.776 GB, free: 22.29 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005295/0.9111, allocations: 2.241 MB / 0.7782 GB, free: 22.18 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001773/0.9129, allocations: 1.218 MB / 0.7794 GB, free: 22.09 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04209/0.955, allocations: 13.3 MB / 0.7924 GB, free: 21.17 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004288/0.9593, allocations: 1.899 MB / 0.7943 GB, free: 20.8 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=173): time 4.438e-06/0.9593, allocations: 0 / 0.7943 GB, free: 20.8 MB / 0.5606 GB Notification: Performance of matching and sorting (n=189): time 0.02091/0.9802, allocations: 8.964 MB / 0.803 GB, free: 19.41 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.611e-05/0.9802, allocations: 182.7 kB / 0.8032 GB, free: 19.22 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001394/0.9816, allocations: 1.317 MB / 0.8045 GB, free: 18.54 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001705/0.9818, allocations: 66.95 kB / 0.8045 GB, free: 18.49 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006129/0.9824, allocations: 1.028 MB / 0.8056 GB, free: 17.79 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004051/0.9828, allocations: 0.6609 MB / 0.8062 GB, free: 17.23 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005625/0.9834, allocations: 444.4 kB / 0.8066 GB, free: 16.94 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 3.477e-05/0.9834, allocations: 305.1 kB / 0.8069 GB, free: 16.64 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001757/0.9852, allocations: 1.206 MB / 0.8081 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002094/0.9873, allocations: 1.944 MB / 0.81 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003834/0.9911, allocations: 2.959 MB / 0.8129 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.906e-06/0.9911, allocations: 4 kB / 0.8129 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of matching and sorting (n=273) (initialization): time 0.005381/0.9965, allocations: 3.449 MB / 0.8162 GB, free: 9.414 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 5.246e-05/0.9965, allocations: 75.27 kB / 0.8163 GB, free: 9.332 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.857e-05/0.9966, allocations: 16 kB / 0.8163 GB, free: 9.316 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007707/0.9973, allocations: 243.4 kB / 0.8166 GB, free: 9.113 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001901/0.9992, allocations: 0.5247 MB / 0.8171 GB, free: 8.641 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009643/1, allocations: 2.433 MB / 0.8195 GB, free: 6.266 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001798/1.002, allocations: 139.6 kB / 0.8196 GB, free: 6.16 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001745/1.002, allocations: 106 kB / 0.8197 GB, free: 6.078 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002418/1.005, allocations: 1.636 MB / 0.8213 GB, free: 4.957 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002031/1.007, allocations: 1.872 MB / 0.8231 GB, free: 3.234 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00367/1.01, allocations: 2.825 MB / 0.8259 GB, free: 1.133 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.947e-06/1.01, allocations: 8 kB / 0.8259 GB, free: 1.125 MB / 0.5606 GB Notification: Performance of matching and sorting (n=273) (initialization_lambda0): time 0.005654/1.016, allocations: 3.306 MB / 0.8291 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 7.446e-05/1.016, allocations: 79 kB / 0.8292 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.871e-05/1.016, allocations: 16 kB / 0.8292 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008037/1.017, allocations: 235.6 kB / 0.8294 GB, free: 14.47 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002135/1.019, allocations: 0.5269 MB / 0.8299 GB, free: 14 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001822/1.021, allocations: 2.431 MB / 0.8323 GB, free: 11.62 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001895/1.023, allocations: 134.3 kB / 0.8324 GB, free: 11.53 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002083/1.023, allocations: 107.4 kB / 0.8325 GB, free: 11.44 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 60 * Number of states: 0 () * Number of discrete variables: 30 (valve2.state_b.phase,valve2.state_a.phase,valve1.state_b.phase,valve1.state_a.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 (259): * Single equations (assignments): 253 * 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.0007243/1.024, allocations: 405.3 kB / 0.8329 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004166/1.024, allocations: 198.8 kB / 0.8331 GB, free: 10.93 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01146/1.036, allocations: 7.733 MB / 0.8407 GB, free: 3.5 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009684/1.045, allocations: 6.801 MB / 0.8473 GB, free: 12.51 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.031e-05/1.045, allocations: 3.75 kB / 0.8473 GB, free: 12.51 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001507/1.047, allocations: 0.5634 MB / 0.8479 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003819/1.047, allocations: 83.66 kB / 0.8479 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001248/1.048, allocations: 139.7 kB / 0.8481 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003309/1.049, allocations: 168.6 kB / 0.8482 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.008492/1.057, allocations: 5.041 MB / 0.8532 GB, free: 6.43 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.011/1.068, allocations: 7.348 MB / 0.8603 GB, free: 14.93 MB / 0.6075 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002905/1.071, allocations: 1.938 MB / 0.8622 GB, free: 12.98 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001581/1.073, allocations: 1.045 MB / 0.8633 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of Backend: time 3.81e-07/1.073, allocations: 4 kB / 0.8633 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.01717/1.09, allocations: 5.988 MB / 0.8691 GB, free: 6.223 MB / 0.6075 GB Notification: Performance of SimCode: time 0.01018/1.1, allocations: 6.417 MB / 0.8754 GB, free: 15.81 MB / 0.6231 GB Notification: Performance of Templates: time 0.152/1.252, allocations: 105.2 MB / 0.9781 GB, free: 7.461 MB / 0.7169 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes14.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes14.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes14.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes14.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes14.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes14 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes14.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes14_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestPipesAndValves/BranchingPipes14/BranchingPipes14.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes14.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: 11.238417043001391]