Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes14.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.BranchingPipes14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_trunk_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes14") translateModel(ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_trunk_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes14") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001703/0.001703, allocations: 114.3 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002007/0.002008, allocations: 210.7 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.459/1.459, allocations: 227.4 MB / 247.6 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2244/0.2244, allocations: 46.11 MB / 345 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001547/0.001547, allocations: 79.88 kB / 482 MB, free: 4.062 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3344/0.336, allocations: 62.43 MB / 0.5317 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes14): time 0.09599/0.432, allocations: 102.2 MB / 0.6314 GB, free: 11.23 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.04887/0.4809, allocations: 36.94 MB / 0.6675 GB, free: 6.184 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003567/0.4845, allocations: 95.44 kB / 0.6676 GB, free: 6.09 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.003671/0.4883, allocations: 1.247 MB / 0.6688 GB, free: 4.836 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.02323/0.5115, allocations: 8.09 MB / 0.6767 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.02016/0.5317, allocations: 7.677 MB / 0.6842 GB, free: 5.066 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.01039/0.5421, allocations: 7.006 MB / 0.691 GB, free: 14.04 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003606/0.5458, allocations: 1.575 MB / 0.6926 GB, free: 12.44 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006464/0.5523, allocations: 2.765 MB / 0.6953 GB, free: 9.668 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02768/0.58, allocations: 12.13 MB / 0.7071 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.001124/0.5811, allocations: 240 kB / 0.7073 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0231/0.6043, allocations: 10.06 MB / 0.7172 GB, free: 3.07 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.001928/0.6062, allocations: 0.9622 MB / 0.7181 GB, free: 2.105 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.003401/0.6096, allocations: 1.466 MB / 0.7195 GB, free: 0.6328 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.3775/0.9872, allocations: 9.359 MB / 0.7287 GB, free: 32.26 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.814e-06/0.9872, allocations: 0 / 0.7287 GB, free: 32.26 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.214e-06/0.9872, allocations: 0.7812 kB / 0.7287 GB, free: 32.26 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0001016/0.9874, allocations: 0 / 0.7287 GB, free: 32.26 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.0133/1.001, allocations: 4.194 MB / 0.7328 GB, free: 30.59 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.518e-05/1.001, allocations: 8.062 kB / 0.7328 GB, free: 30.59 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005732/1.006, allocations: 0.8004 MB / 0.7336 GB, free: 30.45 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01137/1.018, allocations: 6.704 MB / 0.7401 GB, free: 29.84 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00021/1.018, allocations: 180.4 kB / 0.7403 GB, free: 29.84 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004542/1.019, allocations: 214.1 kB / 0.7405 GB, free: 29.83 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008045/1.027, allocations: 3.547 MB / 0.744 GB, free: 29.39 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.844e-05/1.027, allocations: 10.47 kB / 0.744 GB, free: 29.39 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002692/1.027, allocations: 89.45 kB / 0.744 GB, free: 29.39 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002583/1.027, allocations: 201.7 kB / 0.7442 GB, free: 29.38 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008001/1.035, allocations: 3.271 MB / 0.7474 GB, free: 29.36 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.01824/1.054, allocations: 15.49 MB / 0.7626 GB, free: 19.87 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005733/1.059, allocations: 2.725 MB / 0.7652 GB, free: 19.26 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002088/1.061, allocations: 1.238 MB / 0.7664 GB, free: 19.24 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05071/1.112, allocations: 27.29 MB / 0.7931 GB, free: 16.53 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00529/1.117, allocations: 1.681 MB / 0.7947 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=173): time 7.163e-06/1.118, allocations: 0 / 0.7947 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of matching and sorting (n=189): time 0.02689/1.144, allocations: 8.881 MB / 0.8034 GB, free: 11.95 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001405/1.145, allocations: 187.7 kB / 0.8036 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002624/1.147, allocations: 1.578 MB / 0.8051 GB, free: 10.54 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0004177/1.148, allocations: 63.45 kB / 0.8052 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008853/1.149, allocations: 0.9937 MB / 0.8061 GB, free: 9.875 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007258/1.149, allocations: 0.6259 MB / 0.8068 GB, free: 9.34 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001094/1.15, allocations: 441.1 kB / 0.8072 GB, free: 9.059 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001244/1.151, allocations: 305.1 kB / 0.8075 GB, free: 8.758 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002364/1.153, allocations: 1.149 MB / 0.8086 GB, free: 7.98 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002728/1.156, allocations: 1.65 MB / 0.8102 GB, free: 6.574 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005358/1.161, allocations: 2.951 MB / 0.8131 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.14e-05/1.161, allocations: 8 kB / 0.8131 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of matching and sorting (n=273) (initialization): time 0.007636/1.169, allocations: 3.382 MB / 0.8164 GB, free: 2.012 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 8.743e-05/1.169, allocations: 78.2 kB / 0.8165 GB, free: 1.93 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.511e-05/1.169, allocations: 16 kB / 0.8165 GB, free: 1.914 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009074/1.17, allocations: 240.6 kB / 0.8167 GB, free: 1.715 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002475/1.172, allocations: 0.5234 MB / 0.8172 GB, free: 1.246 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00178/1.174, allocations: 2.43 MB / 0.8196 GB, free: 14.87 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002691/1.177, allocations: 136.2 kB / 0.8197 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005228/1.177, allocations: 114.8 kB / 0.8198 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003668/1.181, allocations: 1.567 MB / 0.8214 GB, free: 13.63 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002991/1.184, allocations: 1.583 MB / 0.8229 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.005134/1.189, allocations: 2.823 MB / 0.8257 GB, free: 10.15 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.683e-05/1.189, allocations: 4 kB / 0.8257 GB, free: 10.14 MB / 0.5919 GB Notification: Performance of matching and sorting (n=273) (initialization_lambda0): time 0.00732/1.197, allocations: 3.24 MB / 0.8288 GB, free: 7.848 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 8.029e-05/1.197, allocations: 75.83 kB / 0.8289 GB, free: 7.766 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.347e-05/1.197, allocations: 16 kB / 0.8289 GB, free: 7.75 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009042/1.198, allocations: 239.2 kB / 0.8292 GB, free: 7.551 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002336/1.2, allocations: 0.5161 MB / 0.8297 GB, free: 7.09 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001701/1.202, allocations: 2.434 MB / 0.832 GB, free: 4.715 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002503/1.204, allocations: 136.1 kB / 0.8322 GB, free: 4.617 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004063/1.205, allocations: 107.7 kB / 0.8323 GB, free: 4.535 MB / 0.5919 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.001028/1.206, allocations: 393.1 kB / 0.8326 GB, free: 4.223 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008353/1.207, allocations: 213.1 kB / 0.8328 GB, free: 4.016 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01194/1.218, allocations: 7.474 MB / 0.8401 GB, free: 13.72 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00967/1.228, allocations: 6.525 MB / 0.8465 GB, free: 7.02 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.261e-05/1.228, allocations: 0 / 0.8465 GB, free: 7.02 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00176/1.23, allocations: 0.6439 MB / 0.8471 GB, free: 6.355 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008209/1.231, allocations: 88.47 kB / 0.8472 GB, free: 6.27 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001934/1.233, allocations: 135.8 kB / 0.8474 GB, free: 6.137 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004375/1.233, allocations: 161.8 kB / 0.8475 GB, free: 5.98 MB / 0.6075 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.009506/1.243, allocations: 4.92 MB / 0.8523 GB, free: 0.9727 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01115/1.254, allocations: 7.072 MB / 0.8592 GB, free: 9.773 MB / 0.6231 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003317/1.257, allocations: 2.251 MB / 0.8614 GB, free: 7.52 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.002254/1.26, allocations: 1.251 MB / 0.8626 GB, free: 6.25 MB / 0.6231 GB Notification: Performance of Backend: time 5.81e-07/1.26, allocations: 0 / 0.8626 GB, free: 6.25 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.02332/1.283, allocations: 6.206 MB / 0.8687 GB, free: 368 kB / 0.6231 GB Notification: Performance of SimCode: time 0.01305/1.296, allocations: 6.485 MB / 0.875 GB, free: 9.863 MB / 0.6387 GB Notification: Performance of Templates: time 0.1594/1.455, allocations: 103.1 MB / 0.9757 GB, free: 3.352 MB / 0.7325 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes14.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes14.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes14.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes14.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes14.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes14 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes14.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes14_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestPipesAndValves/BranchingPipes14/BranchingPipes14.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes14.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches