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.001325/0.001325, allocations: 109.1 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.001404/0.001404, allocations: 198.2 kB / 18.02 MB, free: 5.082 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.297/1.297, 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.1967/0.1967, allocations: 43.53 MB / 314.8 MB, free: 464 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.001396/0.001396, allocations: 71.89 kB / 442.5 MB, free: 5.668 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1047/0.1061, allocations: 57.79 MB / 0.4886 GB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes12): time 0.3001/0.4062, allocations: 91.74 MB / 0.5781 GB, free: 6.707 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.04684/0.4531, allocations: 37.28 MB / 0.6145 GB, free: 9.566 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002897/0.456, allocations: 87.56 kB / 0.6146 GB, free: 9.48 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003625/0.4597, allocations: 1.165 MB / 0.6158 GB, free: 8.309 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02151/0.4813, allocations: 7.953 MB / 0.6235 GB, free: 336 kB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02325/0.5045, allocations: 9.079 MB / 0.6324 GB, free: 7.23 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.008791/0.5133, allocations: 6.613 MB / 0.6389 GB, free: 0.5938 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002768/0.5161, allocations: 1.508 MB / 0.6403 GB, free: 15.07 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005244/0.5214, allocations: 2.601 MB / 0.6429 GB, free: 12.46 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02618/0.5476, allocations: 13.54 MB / 0.6561 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.001019/0.5487, allocations: 216 kB / 0.6563 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02174/0.5704, allocations: 10.43 MB / 0.6665 GB, free: 4.066 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.001776/0.5722, allocations: 0.931 MB / 0.6674 GB, free: 3.133 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.003383/0.5756, allocations: 1.404 MB / 0.6688 GB, free: 1.723 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.02331/0.599, allocations: 9.474 MB / 0.678 GB, free: 8.227 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.752e-06/0.599, allocations: 4 kB / 0.678 GB, free: 8.223 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.312e-06/0.599, allocations: 4 kB / 0.678 GB, free: 8.219 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0001327/0.5992, allocations: 0 / 0.678 GB, free: 8.219 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.01132/0.6105, allocations: 4.067 MB / 0.682 GB, free: 4.082 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.459e-05/0.6106, allocations: 12.02 kB / 0.682 GB, free: 4.07 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005917/0.6165, allocations: 0.8164 MB / 0.6828 GB, free: 3.25 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01114/0.6277, allocations: 6.678 MB / 0.6893 GB, free: 12.51 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002256/0.6279, allocations: 171.7 kB / 0.6895 GB, free: 12.34 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006144/0.6285, allocations: 203.9 kB / 0.6897 GB, free: 12.14 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007993/0.6365, allocations: 3.48 MB / 0.6931 GB, free: 8.5 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.205e-05/0.6366, allocations: 7.938 kB / 0.6931 GB, free: 8.492 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002876/0.6369, allocations: 87.97 kB / 0.6932 GB, free: 8.406 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002402/0.6372, allocations: 183.5 kB / 0.6934 GB, free: 8.227 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007661/0.6448, allocations: 3.226 MB / 0.6965 GB, free: 4.996 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.0224/0.6673, allocations: 15.09 MB / 0.7112 GB, free: 4.641 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005797/0.6731, allocations: 2.266 MB / 0.7135 GB, free: 2.371 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001959/0.6751, allocations: 1.13 MB / 0.7146 GB, free: 1.242 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04761/0.7227, allocations: 24.67 MB / 0.7387 GB, free: 5.625 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00479/0.7275, allocations: 1.606 MB / 0.7402 GB, free: 3.996 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=155): time 5.81e-06/0.7275, allocations: 7.922 kB / 0.7402 GB, free: 3.988 MB / 0.5762 GB Notification: Performance of matching and sorting (n=171): time 0.02029/0.7478, allocations: 8.027 MB / 0.7481 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000104/0.748, allocations: 226.9 kB / 0.7483 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002365/0.7504, allocations: 1.632 MB / 0.7499 GB, free: 9.98 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001774/0.7505, allocations: 57.7 kB / 0.7499 GB, free: 9.918 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007836/0.7513, allocations: 0.9892 MB / 0.7509 GB, free: 8.918 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004994/0.7518, allocations: 0.5854 MB / 0.7515 GB, free: 8.324 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000708/0.7526, allocations: 435.4 kB / 0.7519 GB, free: 7.891 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 8.317e-05/0.7527, allocations: 301.1 kB / 0.7522 GB, free: 7.594 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002152/0.7548, allocations: 1.164 MB / 0.7533 GB, free: 6.418 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00257/0.7574, allocations: 1.652 MB / 0.7549 GB, free: 4.555 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00464/0.7621, allocations: 2.88 MB / 0.7577 GB, free: 1.477 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-05/0.7621, allocations: 4 kB / 0.7577 GB, free: 1.473 MB / 0.5919 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.2205/0.9826, allocations: 3.967 MB / 0.7616 GB, free: 216.4 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 5.891e-05/0.9827, allocations: 44.77 kB / 0.7617 GB, free: 216.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.53e-05/0.9827, allocations: 15.09 kB / 0.7617 GB, free: 216.4 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01592/0.9987, allocations: 3.141 MB / 0.7647 GB, free: 216.4 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00128/1, allocations: 318.7 kB / 0.765 GB, free: 216.4 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005755/1.006, allocations: 3.449 MB / 0.7684 GB, free: 215.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001853/1.008, allocations: 107.5 kB / 0.7685 GB, free: 215.7 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002639/1.008, allocations: 102.6 kB / 0.7686 GB, free: 215.7 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003477/1.011, allocations: 1.599 MB / 0.7702 GB, free: 215.1 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002413/1.014, allocations: 1.593 MB / 0.7717 GB, free: 214.2 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004098/1.018, allocations: 2.771 MB / 0.7744 GB, free: 212.7 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.262e-05/1.018, allocations: 3.531 kB / 0.7744 GB, free: 212.7 MB / 0.5919 GB Notification: Performance of matching and sorting (n=264) (initialization_lambda0): time 0.007255/1.025, allocations: 3.741 MB / 0.7781 GB, free: 211.4 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 4.174e-05/1.025, allocations: 46.86 kB / 0.7781 GB, free: 211.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.871e-05/1.025, allocations: 15.03 kB / 0.7782 GB, free: 211.4 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006718/1.032, allocations: 1.712 MB / 0.7798 GB, free: 211.1 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001384/1.033, allocations: 358.9 kB / 0.7802 GB, free: 211.1 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003617/1.037, allocations: 2.752 MB / 0.7829 GB, free: 209.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001727/1.039, allocations: 109.7 kB / 0.783 GB, free: 209.8 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002571/1.039, allocations: 97.38 kB / 0.7831 GB, free: 209.7 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.0006972/1.04, allocations: 335.3 kB / 0.7834 GB, free: 209.5 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005184/1.04, allocations: 209.7 kB / 0.7836 GB, free: 209.4 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009025/1.049, allocations: 7.678 MB / 0.7911 GB, free: 206.3 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006913/1.056, allocations: 6.608 MB / 0.7975 GB, free: 202.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.069e-05/1.056, allocations: 0.9375 kB / 0.7975 GB, free: 202.8 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001128/1.057, allocations: 0.6415 MB / 0.7982 GB, free: 202.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005397/1.058, allocations: 79.11 kB / 0.7982 GB, free: 202.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001386/1.059, allocations: 124.5 kB / 0.7983 GB, free: 202.3 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002853/1.06, allocations: 155.5 kB / 0.7985 GB, free: 202.2 MB / 0.5919 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006598/1.066, allocations: 4.815 MB / 0.8032 GB, free: 197.4 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.007417/1.074, allocations: 6.907 MB / 0.8099 GB, free: 190.4 MB / 0.5919 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002139/1.076, allocations: 2.232 MB / 0.8121 GB, free: 188.2 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001791/1.078, allocations: 1.293 MB / 0.8134 GB, free: 186.9 MB / 0.5919 GB Notification: Performance of Backend: time 7.61e-07/1.078, allocations: 4 kB / 0.8134 GB, free: 186.9 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0163/1.094, allocations: 6.209 MB / 0.8194 GB, free: 181.3 MB / 0.5919 GB Notification: Performance of SimCode: time 0.008928/1.103, allocations: 6.359 MB / 0.8257 GB, free: 174.9 MB / 0.5919 GB Notification: Performance of Templates: time 0.1192/1.222, allocations: 108.4 MB / 0.9315 GB, free: 66.5 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