Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes12.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.SeriesPipes12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pipe1.mediums.1..h|pipe1.mediums.1..p|pipe2.mediums.1..h|pipe2.mediums.1..p|pipe2.mediums.2..h|pipe2.mediums.2..p|pipe3.mediums.1..h|pipe3.mediums.1..p|valve.filter.x.1.|valve.filter.x.2.|valveOpening1.a|valveOpening1.b|valveOpening1.last|valveOpening1.nextEvent",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes12") translateModel(ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pipe1.mediums.1..h|pipe1.mediums.1..p|pipe2.mediums.1..h|pipe2.mediums.1..p|pipe2.mediums.2..h|pipe2.mediums.2..p|pipe3.mediums.1..h|pipe3.mediums.1..p|valve.filter.x.1.|valve.filter.x.2.|valveOpening1.a|valveOpening1.b|valveOpening1.last|valveOpening1.nextEvent",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001509/0.001509, allocations: 109.5 kB / 17.09 MB, free: 6 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.001722/0.001722, allocations: 190.2 kB / 18.02 MB, free: 5.086 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.3/1.3, 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.2011/0.2011, allocations: 43.54 MB / 314.8 MB, free: 460 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.001486/0.001486, allocations: 67.89 kB / 442.5 MB, free: 5.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09389/0.09538, allocations: 57.78 MB / 0.4885 GB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes12): time 0.285/0.3804, allocations: 91.76 MB / 0.5782 GB, free: 6.711 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.04422/0.4247, allocations: 37.27 MB / 0.6146 GB, free: 9.574 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002257/0.427, allocations: 87.5 kB / 0.6146 GB, free: 9.488 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002759/0.4298, allocations: 1.181 MB / 0.6158 GB, free: 8.301 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02034/0.4502, allocations: 7.991 MB / 0.6236 GB, free: 288 kB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0225/0.4727, allocations: 9.077 MB / 0.6325 GB, free: 7.184 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.008468/0.4812, allocations: 6.628 MB / 0.6389 GB, free: 0.5312 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002006/0.4832, allocations: 1.506 MB / 0.6404 GB, free: 15.01 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004107/0.4873, allocations: 2.601 MB / 0.6429 GB, free: 12.4 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02827/0.5156, allocations: 13.54 MB / 0.6562 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0007024/0.5163, allocations: 216 kB / 0.6564 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02052/0.5368, allocations: 10.45 MB / 0.6666 GB, free: 3.996 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.001296/0.5382, allocations: 0.931 MB / 0.6675 GB, free: 3.062 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.002108/0.5403, allocations: 1.404 MB / 0.6689 GB, free: 1.652 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0218/0.5621, allocations: 9.512 MB / 0.6781 GB, free: 8.113 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 7.293e-06/0.5621, allocations: 4 kB / 0.6781 GB, free: 8.109 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.543e-06/0.5622, allocations: 0 / 0.6781 GB, free: 8.109 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.589e-05/0.5622, allocations: 0 / 0.6781 GB, free: 8.109 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 512 * Number of variables: 512 Notification: Performance of Generate backend data structure: time 0.009382/0.5716, allocations: 4.185 MB / 0.6822 GB, free: 3.844 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.866e-05/0.5716, allocations: 12.03 kB / 0.6822 GB, free: 3.832 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005687/0.5773, allocations: 0.8336 MB / 0.6831 GB, free: 2.996 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01068/0.588, allocations: 6.695 MB / 0.6896 GB, free: 12.24 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001794/0.5882, allocations: 171.7 kB / 0.6898 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003568/0.5886, allocations: 203.9 kB / 0.69 GB, free: 11.87 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007315/0.5959, allocations: 3.476 MB / 0.6933 GB, free: 8.234 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.519e-05/0.596, allocations: 19.92 kB / 0.6934 GB, free: 8.215 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002171/0.5962, allocations: 79.97 kB / 0.6934 GB, free: 8.137 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002209/0.5965, allocations: 183.6 kB / 0.6936 GB, free: 7.957 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007377/0.6039, allocations: 3.222 MB / 0.6968 GB, free: 4.73 MB / 0.5294 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.02024/0.6241, allocations: 15.11 MB / 0.7115 GB, free: 4.359 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005952/0.6301, allocations: 2.27 MB / 0.7137 GB, free: 2.086 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002025/0.6321, allocations: 1.129 MB / 0.7148 GB, free: 0.957 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04626/0.6784, allocations: 24.68 MB / 0.7389 GB, free: 5.336 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004557/0.683, allocations: 1.606 MB / 0.7405 GB, free: 3.707 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=155): time 4.729e-06/0.683, allocations: 3.938 kB / 0.7405 GB, free: 3.703 MB / 0.5762 GB Notification: Performance of matching and sorting (n=171): time 0.02002/0.7031, allocations: 8.066 MB / 0.7484 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000101/0.7032, allocations: 222.9 kB / 0.7486 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002265/0.7055, allocations: 1.64 MB / 0.7502 GB, free: 9.66 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001681/0.7057, allocations: 57.7 kB / 0.7503 GB, free: 9.598 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007819/0.7064, allocations: 1.011 MB / 0.7512 GB, free: 8.574 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005122/0.707, allocations: 0.6159 MB / 0.7518 GB, free: 7.953 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007142/0.7077, allocations: 435.5 kB / 0.7523 GB, free: 7.52 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 8.747e-05/0.7078, allocations: 305.1 kB / 0.7526 GB, free: 7.219 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002142/0.7099, allocations: 1.157 MB / 0.7537 GB, free: 6.051 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002565/0.7125, allocations: 1.652 MB / 0.7553 GB, free: 4.188 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004723/0.7173, allocations: 2.888 MB / 0.7581 GB, free: 1.102 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.225e-05/0.7173, allocations: 4 kB / 0.7581 GB, free: 1.098 MB / 0.5919 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.2159/0.9332, allocations: 3.974 MB / 0.762 GB, free: 216.2 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 4.684e-05/0.9332, allocations: 41.73 kB / 0.762 GB, free: 216.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.9e-05/0.9333, allocations: 14.3 kB / 0.7621 GB, free: 216.1 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01586/0.9491, allocations: 3.147 MB / 0.7651 GB, free: 216.1 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00123/0.9504, allocations: 310.5 kB / 0.7654 GB, free: 216.1 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005647/0.9561, allocations: 3.453 MB / 0.7688 GB, free: 215.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0018/0.9579, allocations: 106.4 kB / 0.7689 GB, free: 215.4 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002651/0.9582, allocations: 103.2 kB / 0.769 GB, free: 215.4 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003004/0.9612, allocations: 1.601 MB / 0.7706 GB, free: 214.8 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00242/0.9636, allocations: 1.592 MB / 0.7721 GB, free: 213.8 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004216/0.9678, allocations: 2.772 MB / 0.7748 GB, free: 212.4 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.345e-05/0.9679, allocations: 6.953 kB / 0.7748 GB, free: 212.4 MB / 0.5919 GB Notification: Performance of matching and sorting (n=264) (initialization_lambda0): time 0.007389/0.9753, allocations: 3.755 MB / 0.7785 GB, free: 211.1 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 4.146e-05/0.9753, allocations: 41.66 kB / 0.7785 GB, free: 211.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.438e-05/0.9754, allocations: 15.16 kB / 0.7785 GB, free: 211.1 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006698/0.9821, allocations: 1.718 MB / 0.7802 GB, free: 210.8 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001352/0.9834, allocations: 352.5 kB / 0.7806 GB, free: 210.8 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003435/0.9869, allocations: 2.763 MB / 0.7833 GB, free: 209.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00159/0.9885, allocations: 100.8 kB / 0.7834 GB, free: 209.4 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001638/0.9887, allocations: 101.5 kB / 0.7835 GB, free: 209.4 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: 23 (pipe3.state_a.phase,pipe1.state_a.phase,simpleGenericOrifice.state_b.phase,simpleGenericOrifice.state_a.phase,valve.state_b.phase,valve.state_a.phase,pipe3.statesFM[2].phase,valveOpening1.nextEventScaled,valveOpening1.nextEvent,$PRE.valveOpening1.nextEvent,valveOpening1.last,valveOpening1.b,valveOpening1.a,pipe2.statesFM[2].phase,pipe2.statesFM[1].phase,sink.medium.phase,pipe1.statesFM[2].phase,source.medium.phase,$whenCondition1,pipe3.state_b.phase,pipe2.state_b.phase,pipe2.state_a.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 (164): * Single equations (assignments): 160 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(8,86)} Notification: Performance of prepare postOptimizeDAE: time 0.0006111/0.9893, allocations: 339.4 kB / 0.7838 GB, free: 209.1 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003547/0.9896, allocations: 219.7 kB / 0.784 GB, free: 209.1 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008522/0.9982, allocations: 7.67 MB / 0.7915 GB, free: 205.9 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006538/1.005, allocations: 6.621 MB / 0.7979 GB, free: 202.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.436e-06/1.005, allocations: 0 / 0.7979 GB, free: 202.5 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009124/1.006, allocations: 0.6551 MB / 0.7986 GB, free: 202 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003552/1.006, allocations: 82.89 kB / 0.7987 GB, free: 202 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001161/1.007, allocations: 129.3 kB / 0.7988 GB, free: 201.9 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002721/1.008, allocations: 148.2 kB / 0.7989 GB, free: 201.8 MB / 0.5919 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006093/1.014, allocations: 4.824 MB / 0.8036 GB, free: 196.9 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.007166/1.021, allocations: 6.925 MB / 0.8104 GB, free: 189.9 MB / 0.5919 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002148/1.023, allocations: 2.228 MB / 0.8126 GB, free: 187.7 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001493/1.024, allocations: 1.297 MB / 0.8138 GB, free: 186.4 MB / 0.5919 GB Notification: Performance of Backend: time 9.62e-07/1.024, allocations: 96 / 0.8138 GB, free: 186.4 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01516/1.04, allocations: 6.247 MB / 0.8199 GB, free: 180.9 MB / 0.5919 GB Notification: Performance of SimCode: time 0.008673/1.048, allocations: 6.465 MB / 0.8263 GB, free: 174.4 MB / 0.5919 GB Notification: Performance of Templates: time 0.1215/1.17, allocations: 106.6 MB / 0.9304 GB, free: 67.68 MB / 0.5919 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes12.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes12.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes12.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes12.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes12.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes12.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestPipesAndValves/SeriesPipes12/SeriesPipes12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches