Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes1.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.SeriesPipes1,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.SeriesPipes1") translateModel(ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes1,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.SeriesPipes1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001107/0.001107, allocations: 112 kB / 17.09 MB, free: 6.008 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.001006/0.001006, allocations: 199.3 kB / 18.02 MB, free: 5.09 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.249/1.249, allocations: 205.1 MB / 223.9 MB, free: 12.25 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.1926/0.1926, allocations: 43.52 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.001493/0.001493, allocations: 71.89 kB / 442.5 MB, free: 5.68 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1098/0.1113, allocations: 57.78 MB / 0.4885 GB, free: 11.82 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes1): time 0.3033/0.4146, allocations: 91.74 MB / 0.5781 GB, free: 6.719 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.04588/0.4605, allocations: 37.27 MB / 0.6145 GB, free: 9.586 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002868/0.4634, allocations: 91.5 kB / 0.6146 GB, free: 9.496 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003436/0.4669, allocations: 1.169 MB / 0.6158 GB, free: 8.32 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02215/0.4891, allocations: 7.947 MB / 0.6235 GB, free: 356 kB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02215/0.5113, allocations: 9.077 MB / 0.6324 GB, free: 7.25 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.008362/0.5197, allocations: 6.621 MB / 0.6388 GB, free: 0.6055 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002295/0.522, allocations: 1.505 MB / 0.6403 GB, free: 15.09 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004645/0.5266, allocations: 2.601 MB / 0.6429 GB, free: 12.48 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02599/0.5526, allocations: 13.54 MB / 0.6561 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.001087/0.5538, allocations: 216 kB / 0.6563 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0212/0.575, allocations: 10.45 MB / 0.6665 GB, free: 4.07 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.001615/0.5766, allocations: 0.931 MB / 0.6674 GB, free: 3.137 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.002828/0.5795, allocations: 1.4 MB / 0.6688 GB, free: 1.73 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.01986/0.5994, allocations: 9.486 MB / 0.678 GB, free: 8.223 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.169e-06/0.5994, allocations: 0 / 0.678 GB, free: 8.223 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.513e-06/0.5994, allocations: 0 / 0.678 GB, free: 8.223 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0001245/0.5995, allocations: 0 / 0.678 GB, free: 8.223 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.01071/0.6103, allocations: 4.063 MB / 0.682 GB, free: 4.09 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.445e-05/0.6103, allocations: 8.031 kB / 0.682 GB, free: 4.082 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005781/0.6161, allocations: 0.8202 MB / 0.6828 GB, free: 3.258 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01085/0.627, allocations: 6.678 MB / 0.6893 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002101/0.6272, allocations: 187.7 kB / 0.6895 GB, free: 12.33 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005404/0.6277, allocations: 195.9 kB / 0.6897 GB, free: 12.14 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007779/0.6355, allocations: 3.48 MB / 0.6931 GB, free: 8.5 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.388e-05/0.6356, allocations: 8 kB / 0.6931 GB, free: 8.492 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00026/0.6359, allocations: 79.97 kB / 0.6932 GB, free: 8.414 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002438/0.6361, allocations: 191.5 kB / 0.6933 GB, free: 8.227 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007171/0.6433, allocations: 3.218 MB / 0.6965 GB, free: 5.004 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.01842/0.6617, allocations: 15.1 MB / 0.7112 GB, free: 4.641 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005479/0.6672, allocations: 2.263 MB / 0.7135 GB, free: 2.375 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001868/0.6691, allocations: 1.137 MB / 0.7146 GB, free: 1.238 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04873/0.7179, allocations: 24.68 MB / 0.7387 GB, free: 5.617 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004985/0.7229, allocations: 1.614 MB / 0.7402 GB, free: 3.98 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=155): time 4.468e-06/0.7229, allocations: 0 / 0.7402 GB, free: 3.98 MB / 0.5762 GB Notification: Performance of matching and sorting (n=171): time 0.0241/0.747, allocations: 8.644 MB / 0.7487 GB, free: 11.26 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001324/0.7472, allocations: 226.9 kB / 0.7489 GB, free: 10.99 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002293/0.7495, allocations: 1.636 MB / 0.7505 GB, free: 9.355 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001671/0.7497, allocations: 57.7 kB / 0.7505 GB, free: 9.293 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007976/0.7505, allocations: 0.9814 MB / 0.7515 GB, free: 8.297 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004927/0.751, allocations: 0.5893 MB / 0.7521 GB, free: 7.699 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006977/0.7517, allocations: 431.3 kB / 0.7525 GB, free: 7.27 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001003/0.7518, allocations: 305.1 kB / 0.7528 GB, free: 6.969 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002145/0.7539, allocations: 1.164 MB / 0.7539 GB, free: 5.793 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002499/0.7564, allocations: 1.66 MB / 0.7555 GB, free: 3.922 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004552/0.761, allocations: 2.873 MB / 0.7583 GB, free: 0.8516 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.163e-05/0.761, allocations: 4 kB / 0.7583 GB, free: 0.8477 MB / 0.5919 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.2211/0.9821, allocations: 3.349 MB / 0.7616 GB, free: 216.8 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 5.703e-05/0.9822, allocations: 43.09 kB / 0.7617 GB, free: 216.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.476e-05/0.9822, allocations: 15.61 kB / 0.7617 GB, free: 216.8 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009144/0.9832, allocations: 263.2 kB / 0.7619 GB, free: 216.8 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00222/0.9854, allocations: 0.5042 MB / 0.7624 GB, free: 216.8 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001531/0.9869, allocations: 2.503 MB / 0.7649 GB, free: 214.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001902/0.9889, allocations: 100.4 kB / 0.765 GB, free: 214.7 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002153/0.9891, allocations: 101.8 kB / 0.7651 GB, free: 214.7 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003084/0.9922, allocations: 1.597 MB / 0.7666 GB, free: 214.6 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002063/0.9943, allocations: 1.595 MB / 0.7682 GB, free: 214.1 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003956/0.9982, allocations: 2.774 MB / 0.7709 GB, free: 212.7 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.057e-05/0.9982, allocations: 4.312 kB / 0.7709 GB, free: 212.7 MB / 0.5919 GB Notification: Performance of matching and sorting (n=264) (initialization_lambda0): time 0.006187/1.004, allocations: 3.232 MB / 0.774 GB, free: 211.6 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 4.487e-05/1.004, allocations: 45.23 kB / 0.7741 GB, free: 211.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.985e-05/1.005, allocations: 15.64 kB / 0.7741 GB, free: 211.5 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008294/1.005, allocations: 257.6 kB / 0.7743 GB, free: 211.5 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001998/1.007, allocations: 0.5026 MB / 0.7748 GB, free: 211.4 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001161/1.009, allocations: 2.499 MB / 0.7773 GB, free: 209.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001487/1.01, allocations: 107.5 kB / 0.7774 GB, free: 209.1 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001843/1.01, allocations: 99.48 kB / 0.7775 GB, free: 209.1 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 (253): * Single equations (assignments): 246 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 1 * 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.0006287/1.011, allocations: 353.4 kB / 0.7778 GB, free: 208.8 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003624/1.011, allocations: 204 kB / 0.778 GB, free: 208.8 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009826/1.021, allocations: 7.668 MB / 0.7855 GB, free: 205.7 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006453/1.028, allocations: 6.613 MB / 0.792 GB, free: 202.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.676e-06/1.028, allocations: 3.797 kB / 0.792 GB, free: 202.6 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001012/1.029, allocations: 0.641 MB / 0.7926 GB, free: 202.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003434/1.029, allocations: 80.38 kB / 0.7927 GB, free: 202.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001152/1.03, allocations: 133.1 kB / 0.7928 GB, free: 202.1 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002673/1.03, allocations: 148.3 kB / 0.7929 GB, free: 202.1 MB / 0.5919 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006066/1.036, allocations: 4.814 MB / 0.7976 GB, free: 200.2 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.007088/1.044, allocations: 6.905 MB / 0.8044 GB, free: 196.5 MB / 0.5919 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002045/1.046, allocations: 2.239 MB / 0.8066 GB, free: 194.2 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001388/1.047, allocations: 1.293 MB / 0.8078 GB, free: 192.9 MB / 0.5919 GB Notification: Performance of Backend: time 2e-07/1.047, allocations: 0 / 0.8078 GB, free: 192.9 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0134/1.06, allocations: 6.179 MB / 0.8139 GB, free: 187.4 MB / 0.5919 GB Notification: Performance of SimCode: time 0.007188/1.068, allocations: 6.378 MB / 0.8201 GB, free: 181.1 MB / 0.5919 GB Notification: Performance of Templates: time 0.1087/1.176, allocations: 102.9 MB / 0.9206 GB, free: 78.12 MB / 0.5919 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes1.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes1.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes1.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes1.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes1.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestPipesAndValves/SeriesPipes1/SeriesPipes1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches