Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001741/0.001741, allocations: 114.5 kB / 21.18 MB, free: 0.7422 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00217/0.00217, allocations: 211.4 kB / 24.48 MB, free: 4.191 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.459/1.459, allocations: 230.2 MB / 257.8 MB, free: 8.477 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2298/0.2298, allocations: 46.89 MB / 361.1 MB, free: 4.598 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-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,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_4.1.0-beta.om_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15") translateModel(ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,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_4.1.0-beta.om_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002424/0.002424, allocations: 79.86 kB / 0.4968 GB, free: 7.781 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.356/0.3584, allocations: 65.99 MB / 0.5612 GB, free: 4.973 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15): time 0.6208/0.9792, allocations: 238.5 MB / 0.7941 GB, free: 1.316 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02329/1.002, allocations: 16.74 MB / 0.8105 GB, free: 0.9492 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004416/1.007, allocations: 96.78 kB / 0.8106 GB, free: 0.9492 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0035/1.01, allocations: 0.9439 MB / 0.8115 GB, free: 0.9297 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.01182/1.022, allocations: 4.062 MB / 0.8155 GB, free: 0.7539 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.01215/1.034, allocations: 5.232 MB / 0.8206 GB, free: 0.5625 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.009507/1.044, allocations: 6.599 MB / 0.827 GB, free: 14.41 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003098/1.047, allocations: 1.355 MB / 0.8283 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006234/1.053, allocations: 2.579 MB / 0.8309 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005605/1.059, allocations: 2.656 MB / 0.8334 GB, free: 11.16 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.000691/1.059, allocations: 219.7 kB / 0.8337 GB, free: 11.16 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00927/1.069, allocations: 3.487 MB / 0.8371 GB, free: 8.152 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001826/1.071, allocations: 0.9592 MB / 0.838 GB, free: 7.219 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.002568/1.073, allocations: 1.297 MB / 0.8393 GB, free: 5.938 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01217/1.085, allocations: 5.24 MB / 0.8444 GB, free: 0.9727 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/1.085, allocations: 0 / 0.8444 GB, free: 0.9727 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.034e-06/1.085, allocations: 0 / 0.8444 GB, free: 0.9727 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.228e-05/1.085, allocations: 0 / 0.8444 GB, free: 0.9727 MB / 0.5762 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.008704/1.094, allocations: 3.411 MB / 0.8477 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.688e-05/1.094, allocations: 8.031 kB / 0.8477 GB, free: 13.53 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002724/1.097, allocations: 453.1 kB / 0.8482 GB, free: 13.09 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004472/1.101, allocations: 2.059 MB / 0.8502 GB, free: 11.15 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001324/1.101, allocations: 138.4 kB / 0.8503 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003477/1.102, allocations: 168.5 kB / 0.8505 GB, free: 10.87 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004673/1.106, allocations: 2.573 MB / 0.853 GB, free: 8.23 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.224e-05/1.107, allocations: 3.281 kB / 0.853 GB, free: 8.23 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002205/1.107, allocations: 75.8 kB / 0.853 GB, free: 8.168 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002788/1.107, allocations: 190.1 kB / 0.8532 GB, free: 7.984 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004149/1.111, allocations: 2.243 MB / 0.8554 GB, free: 5.758 MB / 0.5919 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.018/1.129, allocations: 10.74 MB / 0.8659 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003322/1.133, allocations: 1.688 MB / 0.8676 GB, free: 8.691 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001756/1.134, allocations: 0.9944 MB / 0.8685 GB, free: 7.699 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009197/1.135, allocations: 0.496 MB / 0.869 GB, free: 7.121 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002196/1.137, allocations: 1.289 MB / 0.8703 GB, free: 5.793 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=162): time 3.787e-06/1.137, allocations: 0 / 0.8703 GB, free: 5.793 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.02771/1.165, allocations: 10.69 MB / 0.8807 GB, free: 10.93 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001744/1.165, allocations: 287 kB / 0.881 GB, free: 10.59 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002328/1.168, allocations: 1.58 MB / 0.8825 GB, free: 9.008 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.000224/1.168, allocations: 57.7 kB / 0.8826 GB, free: 8.945 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.000858/1.169, allocations: 0.9054 MB / 0.8835 GB, free: 8.035 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006481/1.169, allocations: 0.6532 MB / 0.8841 GB, free: 7.391 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008394/1.17, allocations: 483.6 kB / 0.8846 GB, free: 6.91 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0002469/1.17, allocations: 301.1 kB / 0.8849 GB, free: 6.613 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001888/1.172, allocations: 1.066 MB / 0.8859 GB, free: 5.539 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002476/1.175, allocations: 1.546 MB / 0.8874 GB, free: 3.805 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004438/1.179, allocations: 2.761 MB / 0.8901 GB, free: 0.9023 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.957e-06/1.179, allocations: 4 kB / 0.8901 GB, free: 0.8984 MB / 0.6231 GB Notification: Performance of matching and sorting (n=269) (initialization): time 0.0062/1.185, allocations: 3.233 MB / 0.8933 GB, free: 13.7 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 8.385e-05/1.186, allocations: 75.39 kB / 0.8933 GB, free: 13.62 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.374e-05/1.186, allocations: 12 kB / 0.8933 GB, free: 13.61 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004992/1.186, allocations: 193.8 kB / 0.8935 GB, free: 13.41 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0025/1.189, allocations: 0.5546 MB / 0.8941 GB, free: 12.88 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002018/1.191, allocations: 2.329 MB / 0.8963 GB, free: 10.46 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001954/1.193, allocations: 124.1 kB / 0.8965 GB, free: 10.34 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003908/1.193, allocations: 188 kB / 0.8966 GB, free: 10.15 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002848/1.196, allocations: 1.414 MB / 0.898 GB, free: 8.73 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002599/1.198, allocations: 1.482 MB / 0.8995 GB, free: 7.07 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004479/1.203, allocations: 2.608 MB / 0.902 GB, free: 4.32 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.462e-05/1.203, allocations: 4 kB / 0.902 GB, free: 4.316 MB / 0.6387 GB Notification: Performance of matching and sorting (n=269) (initialization_lambda0): time 0.00627/1.209, allocations: 3.077 MB / 0.905 GB, free: 1.277 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 7.141e-05/1.209, allocations: 71.39 kB / 0.9051 GB, free: 1.195 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.609e-05/1.209, allocations: 16.06 kB / 0.9051 GB, free: 1.18 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004517/1.21, allocations: 190 kB / 0.9053 GB, free: 0.9844 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002429/1.212, allocations: 0.5426 MB / 0.9058 GB, free: 480 kB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001886/1.214, allocations: 2.333 MB / 0.9081 GB, free: 14.04 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002039/1.216, allocations: 120.1 kB / 0.9082 GB, free: 13.93 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004079/1.216, allocations: 187.9 kB / 0.9084 GB, free: 13.74 MB / 0.6544 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.0008497/1.217, allocations: 377.8 kB / 0.9088 GB, free: 13.38 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006579/1.218, allocations: 226.6 kB / 0.909 GB, free: 13.16 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009101/1.227, allocations: 4.644 MB / 0.9135 GB, free: 8.492 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004984/1.232, allocations: 2.776 MB / 0.9162 GB, free: 5.613 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.36e-05/1.232, allocations: 7.984 kB / 0.9162 GB, free: 5.605 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001583/1.234, allocations: 0.5306 MB / 0.9167 GB, free: 5.055 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000537/1.234, allocations: 59.98 kB / 0.9168 GB, free: 4.996 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001312/1.235, allocations: 71.88 kB / 0.9169 GB, free: 4.926 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003283/1.236, allocations: 155.6 kB / 0.917 GB, free: 4.777 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006628/1.242, allocations: 3.059 MB / 0.92 GB, free: 1.695 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.007573/1.25, allocations: 4.315 MB / 0.9242 GB, free: 13.35 MB / 0.67 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00189/1.252, allocations: 1.101 MB / 0.9253 GB, free: 12.25 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.00188/1.254, allocations: 1.068 MB / 0.9263 GB, free: 11.2 MB / 0.67 GB Notification: Performance of Backend: time 2.91e-07/1.254, allocations: 0 / 0.9263 GB, free: 11.2 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01156/1.265, allocations: 4.412 MB / 0.9306 GB, free: 6.914 MB / 0.67 GB Notification: Performance of SimCode: time 0.01032/1.276, allocations: 5.22 MB / 0.9357 GB, free: 1.637 MB / 0.67 GB Notification: Performance of Templates: time 0.1256/1.401, allocations: 74.01 MB / 1.008 GB, free: 8.031 MB / 0.7481 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestPipesAndValves/BranchingPipes15/BranchingPipes15.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15.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: 10.28707462316379]