Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes13.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.SeriesPipes13,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.SeriesPipes13") translateModel(ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes13,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.SeriesPipes13") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001512/0.001512, allocations: 114.5 kB / 17.09 MB, free: 5.996 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.001492/0.001492, allocations: 194.2 kB / 18.02 MB, free: 5.074 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.319/1.319, 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.1988/0.1988, allocations: 43.53 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.001438/0.001438, allocations: 67.89 kB / 442.5 MB, free: 5.664 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.098/0.09944, allocations: 57.78 MB / 0.4886 GB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes13): time 0.2832/0.3827, allocations: 91.75 MB / 0.5782 GB, free: 6.703 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.04458/0.4273, allocations: 37.27 MB / 0.6145 GB, free: 9.527 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002236/0.4296, allocations: 91.5 kB / 0.6146 GB, free: 9.438 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002749/0.4324, allocations: 1.173 MB / 0.6158 GB, free: 8.258 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02124/0.4536, allocations: 7.993 MB / 0.6236 GB, free: 244 kB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02102/0.4747, allocations: 9.082 MB / 0.6325 GB, free: 7.137 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.00821/0.4829, allocations: 6.636 MB / 0.6389 GB, free: 488 kB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002124/0.4851, allocations: 1.498 MB / 0.6404 GB, free: 14.96 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004193/0.4893, allocations: 2.609 MB / 0.6429 GB, free: 12.35 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02875/0.518, allocations: 13.53 MB / 0.6562 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.000683/0.5187, allocations: 220 kB / 0.6564 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02041/0.5392, allocations: 10.45 MB / 0.6666 GB, free: 3.949 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.001638/0.5408, allocations: 0.931 MB / 0.6675 GB, free: 3.016 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001999/0.5428, allocations: 1.396 MB / 0.6688 GB, free: 1.613 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.02085/0.5637, allocations: 9.516 MB / 0.6781 GB, free: 8.07 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 9.999e-06/0.5638, allocations: 0 / 0.6781 GB, free: 8.07 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.884e-06/0.5638, allocations: 0 / 0.6781 GB, free: 8.07 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 9.764e-05/0.5639, allocations: 0 / 0.6781 GB, free: 8.07 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.01077/0.5747, allocations: 4.193 MB / 0.6822 GB, free: 3.797 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.224e-05/0.5747, allocations: 12.03 kB / 0.6822 GB, free: 3.785 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005924/0.5806, allocations: 0.8258 MB / 0.6831 GB, free: 2.957 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.011/0.5917, allocations: 6.696 MB / 0.6896 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002033/0.5919, allocations: 175.7 kB / 0.6898 GB, free: 12.03 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005253/0.5924, allocations: 199.9 kB / 0.6899 GB, free: 11.83 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007677/0.6001, allocations: 3.484 MB / 0.6934 GB, free: 8.188 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.452e-05/0.6002, allocations: 11.92 kB / 0.6934 GB, free: 8.176 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002427/0.6005, allocations: 79.97 kB / 0.6934 GB, free: 8.098 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002314/0.6007, allocations: 187.5 kB / 0.6936 GB, free: 7.914 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007645/0.6083, allocations: 3.226 MB / 0.6968 GB, free: 4.684 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.01952/0.6279, allocations: 15.11 MB / 0.7115 GB, free: 4.312 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005973/0.6339, allocations: 2.27 MB / 0.7137 GB, free: 2.035 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002045/0.636, allocations: 1.133 MB / 0.7149 GB, free: 0.9023 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04881/0.6848, allocations: 24.68 MB / 0.7389 GB, free: 5.285 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004776/0.6896, allocations: 1.602 MB / 0.7405 GB, free: 3.66 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=155): time 4.499e-06/0.6896, allocations: 0 / 0.7405 GB, free: 3.66 MB / 0.5762 GB Notification: Performance of matching and sorting (n=171): time 0.02076/0.7104, allocations: 8.067 MB / 0.7484 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001224/0.7106, allocations: 226.9 kB / 0.7486 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002549/0.7131, allocations: 1.64 MB / 0.7502 GB, free: 9.613 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0002044/0.7134, allocations: 57.7 kB / 0.7503 GB, free: 9.551 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009057/0.7143, allocations: 1.011 MB / 0.7513 GB, free: 8.527 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005878/0.7149, allocations: 0.6158 MB / 0.7519 GB, free: 7.906 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008211/0.7157, allocations: 435.5 kB / 0.7523 GB, free: 7.473 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 9.291e-05/0.7158, allocations: 301.1 kB / 0.7526 GB, free: 7.176 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002219/0.718, allocations: 1.164 MB / 0.7537 GB, free: 6 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002678/0.7207, allocations: 1.644 MB / 0.7553 GB, free: 4.145 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004763/0.7255, allocations: 2.888 MB / 0.7581 GB, free: 1.059 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.316e-05/0.7255, allocations: 4 kB / 0.7581 GB, free: 1.055 MB / 0.5919 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.2152/0.9407, allocations: 3.977 MB / 0.762 GB, free: 216.8 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 6.469e-05/0.9408, allocations: 44.25 kB / 0.762 GB, free: 216.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.804e-05/0.9408, allocations: 14.69 kB / 0.7621 GB, free: 216.8 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01596/0.9568, allocations: 3.145 MB / 0.7651 GB, free: 216.7 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00136/0.9582, allocations: 311.5 kB / 0.7654 GB, free: 216.7 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00648/0.9647, allocations: 3.452 MB / 0.7688 GB, free: 216.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001877/0.9666, allocations: 104.8 kB / 0.7689 GB, free: 216 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003646/0.967, allocations: 102.3 kB / 0.769 GB, free: 216 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003074/0.9701, allocations: 1.603 MB / 0.7706 GB, free: 215.4 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002543/0.9726, allocations: 1.59 MB / 0.7721 GB, free: 214.4 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004572/0.9772, allocations: 2.773 MB / 0.7748 GB, free: 213 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.89e-05/0.9773, allocations: 8.25 kB / 0.7748 GB, free: 213 MB / 0.5919 GB Notification: Performance of matching and sorting (n=264) (initialization_lambda0): time 0.007647/0.9849, allocations: 3.749 MB / 0.7785 GB, free: 211.7 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 4.325e-05/0.985, allocations: 46.91 kB / 0.7785 GB, free: 211.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.322e-05/0.985, allocations: 14.56 kB / 0.7786 GB, free: 211.7 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006806/0.9918, allocations: 1.711 MB / 0.7802 GB, free: 211.4 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001387/0.9933, allocations: 359.3 kB / 0.7806 GB, free: 211.3 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003584/0.9969, allocations: 2.757 MB / 0.7833 GB, free: 210.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001712/0.9986, allocations: 109.2 kB / 0.7834 GB, free: 210 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002708/0.9989, allocations: 100.9 kB / 0.7835 GB, free: 210 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.0007483/0.9996, allocations: 335 kB / 0.7838 GB, free: 209.7 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000478/1, allocations: 220.1 kB / 0.784 GB, free: 209.7 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008764/1.009, allocations: 7.678 MB / 0.7915 GB, free: 206.5 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006761/1.016, allocations: 6.616 MB / 0.7979 GB, free: 203.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.837e-06/1.016, allocations: 3.828 kB / 0.7979 GB, free: 203.1 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001023/1.017, allocations: 0.6546 MB / 0.7986 GB, free: 202.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003394/1.017, allocations: 82.8 kB / 0.7987 GB, free: 202.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001134/1.018, allocations: 127.6 kB / 0.7988 GB, free: 202.5 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002787/1.019, allocations: 150.3 kB / 0.7989 GB, free: 202.4 MB / 0.5919 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006261/1.025, allocations: 4.82 MB / 0.8036 GB, free: 197.5 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.007265/1.032, allocations: 6.928 MB / 0.8104 GB, free: 190.5 MB / 0.5919 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002158/1.034, allocations: 2.23 MB / 0.8126 GB, free: 188.2 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001712/1.036, allocations: 1.293 MB / 0.8138 GB, free: 186.9 MB / 0.5919 GB Notification: Performance of Backend: time 3.61e-07/1.036, allocations: 0 / 0.8138 GB, free: 186.9 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01551/1.052, allocations: 6.24 MB / 0.8199 GB, free: 181.3 MB / 0.5919 GB Notification: Performance of SimCode: time 0.007406/1.059, allocations: 6.471 MB / 0.8263 GB, free: 174.8 MB / 0.5919 GB Notification: Performance of Templates: time 0.1105/1.17, allocations: 106.6 MB / 0.9304 GB, free: 68.14 MB / 0.5919 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes13.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes13.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes13.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes13.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes13.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes13 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes13.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes13_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestPipesAndValves/SeriesPipes13/SeriesPipes13.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes13.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches