Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes2.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.SeriesPipes2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pipe1.mediums.1..h|pipe1.mediums.1..p|pipe3.mediums.1..h|pipe3.mediums.1..p|valveIncompressible1.filter.x.1.|valveIncompressible1.filter.x.2.|valveOpening1.a|valveOpening1.b|valveOpening1.last|valveOpening1.nextEvent",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes2") translateModel(ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pipe1.mediums.1..h|pipe1.mediums.1..p|pipe3.mediums.1..h|pipe3.mediums.1..p|valveIncompressible1.filter.x.1.|valveIncompressible1.filter.x.2.|valveOpening1.a|valveOpening1.b|valveOpening1.last|valveOpening1.nextEvent",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001281/0.001281, allocations: 106.4 kB / 17.08 MB, free: 5.82 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.001355/0.001355, allocations: 194.2 kB / 18.02 MB, free: 4.965 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.324/1.324, allocations: 205.1 MB / 223.9 MB, free: 12.24 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.1962/0.1962, allocations: 43.53 MB / 314.8 MB, free: 472 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.001513/0.001513, allocations: 67.91 kB / 442.5 MB, free: 5.684 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1008/0.1023, allocations: 57.79 MB / 0.4885 GB, free: 11.82 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes2): time 0.2635/0.3659, allocations: 65.73 MB / 0.5527 GB, free: 3.316 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03611/0.402, allocations: 29.61 MB / 0.5816 GB, free: 4.945 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001691/0.4038, allocations: 67.31 kB / 0.5817 GB, free: 4.918 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002002/0.4058, allocations: 0.8427 MB / 0.5825 GB, free: 4.43 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01675/0.4226, allocations: 6.562 MB / 0.5889 GB, free: 15.74 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01711/0.4397, allocations: 7.156 MB / 0.5959 GB, free: 10.78 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.005221/0.4449, allocations: 4.364 MB / 0.6002 GB, free: 8.32 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00133/0.4463, allocations: 0.9996 MB / 0.6012 GB, free: 7.301 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002767/0.4491, allocations: 1.76 MB / 0.6029 GB, free: 5.535 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01463/0.4637, allocations: 7.964 MB / 0.6107 GB, free: 13.46 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003505/0.4641, allocations: 140 kB / 0.6108 GB, free: 13.32 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01837/0.4825, allocations: 9.563 MB / 0.6201 GB, free: 3.75 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009524/0.4834, allocations: 0.596 MB / 0.6207 GB, free: 3.152 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00185/0.4853, allocations: 0.9099 MB / 0.6216 GB, free: 2.238 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01578/0.5011, allocations: 7.671 MB / 0.6291 GB, free: 10.55 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.5011, allocations: 0 / 0.6291 GB, free: 10.55 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.5011, allocations: 0 / 0.6291 GB, free: 10.55 MB / 478.1 MB Notification: Performance of Transformations before backend: time 7.733e-05/0.5012, allocations: 0 / 0.6291 GB, free: 10.55 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 322 * Number of variables: 322 Notification: Performance of Generate backend data structure: time 0.007706/0.5089, allocations: 2.967 MB / 0.632 GB, free: 7.52 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.896e-05/0.509, allocations: 11.89 kB / 0.632 GB, free: 7.508 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003787/0.5128, allocations: 0.5209 MB / 0.6325 GB, free: 6.984 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007566/0.5204, allocations: 4.501 MB / 0.6369 GB, free: 2.43 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001229/0.5205, allocations: 110.4 kB / 0.637 GB, free: 2.32 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002577/0.5208, allocations: 131.8 kB / 0.6371 GB, free: 2.191 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004836/0.5256, allocations: 2.212 MB / 0.6393 GB, free: 15.86 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.412e-05/0.5257, allocations: 3.938 kB / 0.6393 GB, free: 15.86 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001503/0.5258, allocations: 55.97 kB / 0.6394 GB, free: 15.8 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000145/0.526, allocations: 118.2 kB / 0.6395 GB, free: 15.69 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004572/0.5305, allocations: 2.011 MB / 0.6414 GB, free: 13.67 MB / 494.1 MB 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.01159/0.5421, allocations: 9.702 MB / 0.6509 GB, free: 3.145 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003459/0.5456, allocations: 1.366 MB / 0.6522 GB, free: 1.766 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001134/0.5468, allocations: 0.6713 MB / 0.6529 GB, free: 1.094 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04783/0.5946, allocations: 24.66 MB / 0.677 GB, free: 5.484 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003207/0.5979, allocations: 1.021 MB / 0.678 GB, free: 4.445 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=96): time 4.018e-06/0.5979, allocations: 0 / 0.678 GB, free: 4.445 MB / 0.5137 GB Notification: Performance of matching and sorting (n=104): time 0.01472/0.6126, allocations: 5.045 MB / 0.6829 GB, free: 15.32 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.69e-05/0.6127, allocations: 222.6 kB / 0.6831 GB, free: 15.06 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001591/0.6143, allocations: 1.133 MB / 0.6842 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001974/0.6145, allocations: 49.7 kB / 0.6843 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005363/0.6151, allocations: 0.6636 MB / 0.6849 GB, free: 13.19 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002842/0.6154, allocations: 355 kB / 0.6853 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00042/0.6158, allocations: 274.7 kB / 0.6855 GB, free: 12.56 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001692/0.616, allocations: 353.9 kB / 0.6859 GB, free: 12.21 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00132/0.6173, allocations: 0.6969 MB / 0.6865 GB, free: 11.51 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001564/0.6189, allocations: 1.005 MB / 0.6875 GB, free: 10.37 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002839/0.6217, allocations: 1.732 MB / 0.6892 GB, free: 8.516 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.763e-06/0.6218, allocations: 7.938 kB / 0.6892 GB, free: 8.508 MB / 0.5294 GB Notification: Performance of matching and sorting (n=162) (initialization): time 0.003874/0.6256, allocations: 2.041 MB / 0.6912 GB, free: 6.441 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 4.328e-05/0.6257, allocations: 36.36 kB / 0.6913 GB, free: 6.402 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.29e-05/0.6257, allocations: 15.98 kB / 0.6913 GB, free: 6.387 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004839/0.6262, allocations: 130.2 kB / 0.6914 GB, free: 6.254 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001316/0.6275, allocations: 323.6 kB / 0.6917 GB, free: 5.938 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008408/0.6284, allocations: 1.253 MB / 0.6929 GB, free: 4.633 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009669/0.6294, allocations: 63.94 kB / 0.693 GB, free: 4.57 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001242/0.6295, allocations: 63.98 kB / 0.693 GB, free: 4.508 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001748/0.6313, allocations: 0.9982 MB / 0.694 GB, free: 3.508 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00149/0.6328, allocations: 0.9742 MB / 0.695 GB, free: 2.406 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002745/0.6355, allocations: 1.666 MB / 0.6966 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.591e-06/0.6355, allocations: 4 kB / 0.6966 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of matching and sorting (n=162) (initialization_lambda0): time 0.003707/0.6392, allocations: 1.959 MB / 0.6985 GB, free: 14.63 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.54e-05/0.6393, allocations: 41.69 kB / 0.6986 GB, free: 14.59 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.649e-05/0.6393, allocations: 8 kB / 0.6986 GB, free: 14.58 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004395/0.6398, allocations: 142.1 kB / 0.6987 GB, free: 14.43 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001238/0.641, allocations: 311.6 kB / 0.699 GB, free: 14.13 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008243/0.6418, allocations: 1.261 MB / 0.7002 GB, free: 12.82 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009409/0.6428, allocations: 63.95 kB / 0.7003 GB, free: 12.75 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001126/0.6429, allocations: 59.98 kB / 0.7003 GB, free: 12.7 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 17 (pipe3.state_a.phase,pipe1.state_a.phase,valveIncompressible1.state_b.phase,valveIncompressible1.state_a.phase,valveOpening1.nextEventScaled,valveOpening1.nextEvent,$PRE.valveOpening1.nextEvent,valveOpening1.last,valveOpening1.b,valveOpening1.a,pipe3.statesFM[2].phase,sink.medium.phase,pipe1.statesFM[2].phase,source.medium.phase,$whenCondition1,pipe3.state_b.phase,pipe1.state_b.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (153): * Single equations (assignments): 148 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0003707/0.6433, allocations: 307.4 kB / 0.7006 GB, free: 12.38 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002598/0.6436, allocations: 138.3 kB / 0.7008 GB, free: 12.25 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00629/0.6499, allocations: 4.682 MB / 0.7053 GB, free: 7.508 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004779/0.6547, allocations: 3.959 MB / 0.7092 GB, free: 3.477 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.522e-06/0.6547, allocations: 4 kB / 0.7092 GB, free: 3.473 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006245/0.6553, allocations: 433.8 kB / 0.7096 GB, free: 3.027 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002859/0.6556, allocations: 71.42 kB / 0.7097 GB, free: 2.957 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008232/0.6564, allocations: 79.91 kB / 0.7098 GB, free: 2.879 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000188/0.6566, allocations: 96.81 kB / 0.7099 GB, free: 2.781 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004521/0.6612, allocations: 2.947 MB / 0.7127 GB, free: 15.78 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005525/0.6667, allocations: 4.259 MB / 0.7169 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001583/0.6683, allocations: 1.341 MB / 0.7182 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001265/0.6696, allocations: 0.979 MB / 0.7192 GB, free: 9.141 MB / 0.5606 GB Notification: Performance of Backend: time 3.5e-07/0.6696, allocations: 0 / 0.7192 GB, free: 9.141 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01183/0.6814, allocations: 4.457 MB / 0.7235 GB, free: 4.641 MB / 0.5606 GB Notification: Performance of SimCode: time 0.006181/0.6876, allocations: 4.393 MB / 0.7278 GB, free: 188 kB / 0.5606 GB Notification: Performance of Templates: time 0.285/0.9726, allocations: 79.99 MB / 0.8059 GB, free: 194.5 MB / 0.5919 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes2.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes2.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestPipesAndValves/SeriesPipes2/SeriesPipes2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches