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.00134/0.00134, allocations: 110.3 kB / 17.09 MB, free: 5.965 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.001301/0.001301, allocations: 199.3 kB / 18.02 MB, free: 5.043 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.308/1.308, allocations: 205.1 MB / 223.9 MB, free: 12.22 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.1998/0.1998, allocations: 43.52 MB / 314.8 MB, free: 456 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.001468/0.001468, allocations: 74.19 kB / 442.5 MB, free: 5.652 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.101/0.1025, allocations: 57.8 MB / 0.4886 GB, free: 11.78 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes13): time 0.2962/0.3988, allocations: 91.73 MB / 0.5781 GB, free: 6.691 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.04693/0.4457, allocations: 37.28 MB / 0.6145 GB, free: 9.547 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002648/0.4484, allocations: 91.5 kB / 0.6146 GB, free: 9.457 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002823/0.4513, allocations: 1.169 MB / 0.6158 GB, free: 8.281 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02067/0.472, allocations: 7.948 MB / 0.6235 GB, free: 312 kB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02036/0.4924, allocations: 9.082 MB / 0.6324 GB, free: 7.203 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.007968/0.5004, allocations: 6.609 MB / 0.6389 GB, free: 0.5703 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002042/0.5024, allocations: 1.507 MB / 0.6403 GB, free: 15.05 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004064/0.5065, allocations: 2.605 MB / 0.6429 GB, free: 12.43 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02352/0.53, allocations: 13.53 MB / 0.6561 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0007123/0.5308, allocations: 224 kB / 0.6563 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02006/0.5509, allocations: 10.44 MB / 0.6665 GB, free: 4.039 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.001418/0.5523, allocations: 0.9349 MB / 0.6674 GB, free: 3.102 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001901/0.5542, allocations: 1.392 MB / 0.6688 GB, free: 1.703 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.02259/0.5768, allocations: 9.486 MB / 0.678 GB, free: 8.195 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.5769, allocations: 0 / 0.678 GB, free: 8.195 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.522e-06/0.5769, allocations: 0 / 0.678 GB, free: 8.195 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 7.59e-05/0.577, allocations: 4 kB / 0.678 GB, free: 8.191 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.01035/0.5873, allocations: 4.063 MB / 0.682 GB, free: 4.059 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.5874, allocations: 15.97 kB / 0.682 GB, free: 4.043 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005663/0.5931, allocations: 0.8086 MB / 0.6828 GB, free: 3.23 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01053/0.6036, allocations: 6.682 MB / 0.6893 GB, free: 12.48 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001678/0.6038, allocations: 183.7 kB / 0.6895 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003527/0.6042, allocations: 199.9 kB / 0.6897 GB, free: 12.11 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007213/0.6114, allocations: 3.484 MB / 0.6931 GB, free: 8.465 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.772e-05/0.6115, allocations: 4 kB / 0.6931 GB, free: 8.461 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002129/0.6117, allocations: 83.91 kB / 0.6932 GB, free: 8.379 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002241/0.6119, allocations: 199.5 kB / 0.6934 GB, free: 8.184 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007153/0.6191, allocations: 3.222 MB / 0.6965 GB, free: 4.957 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.01946/0.6386, allocations: 15.09 MB / 0.7113 GB, free: 4.609 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005759/0.6444, allocations: 2.27 MB / 0.7135 GB, free: 2.336 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001968/0.6464, allocations: 1.133 MB / 0.7146 GB, free: 1.203 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05051/0.6969, allocations: 24.67 MB / 0.7387 GB, free: 5.59 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00491/0.7018, allocations: 1.61 MB / 0.7402 GB, free: 3.957 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=155): time 4.829e-06/0.7019, allocations: 0 / 0.7402 GB, free: 3.957 MB / 0.5762 GB Notification: Performance of matching and sorting (n=171): time 0.0212/0.7231, allocations: 8.023 MB / 0.7481 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001264/0.7233, allocations: 226.9 kB / 0.7483 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002534/0.7258, allocations: 1.636 MB / 0.7499 GB, free: 9.953 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0002334/0.726, allocations: 61.64 kB / 0.7499 GB, free: 9.887 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008725/0.7269, allocations: 0.9814 MB / 0.7509 GB, free: 8.891 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005971/0.7275, allocations: 0.5854 MB / 0.7515 GB, free: 8.297 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008102/0.7284, allocations: 435.4 kB / 0.7519 GB, free: 7.863 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 9.308e-05/0.7285, allocations: 305.1 kB / 0.7522 GB, free: 7.562 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002257/0.7307, allocations: 1.161 MB / 0.7533 GB, free: 6.391 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002672/0.7334, allocations: 1.648 MB / 0.7549 GB, free: 4.531 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004918/0.7383, allocations: 2.884 MB / 0.7577 GB, free: 1.449 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.515e-05/0.7384, allocations: 4 kB / 0.7577 GB, free: 1.445 MB / 0.5919 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.2592/0.9976, allocations: 3.971 MB / 0.7616 GB, free: 124.2 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 5.6e-05/0.9976, allocations: 42.58 kB / 0.7617 GB, free: 124.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.124e-05/0.9977, allocations: 18.06 kB / 0.7617 GB, free: 124.1 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01655/1.014, allocations: 3.148 MB / 0.7648 GB, free: 124.1 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001295/1.016, allocations: 313.7 kB / 0.7651 GB, free: 124.1 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005754/1.021, allocations: 3.445 MB / 0.7684 GB, free: 123.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001724/1.023, allocations: 103.6 kB / 0.7685 GB, free: 123.6 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002716/1.023, allocations: 100.3 kB / 0.7686 GB, free: 123.6 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003326/1.027, allocations: 1.598 MB / 0.7702 GB, free: 123.5 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002524/1.029, allocations: 1.596 MB / 0.7717 GB, free: 123 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004463/1.034, allocations: 2.765 MB / 0.7744 GB, free: 122.4 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.949e-05/1.034, allocations: 2.719 kB / 0.7744 GB, free: 122.4 MB / 0.5919 GB Notification: Performance of matching and sorting (n=264) (initialization_lambda0): time 0.007432/1.041, allocations: 3.746 MB / 0.7781 GB, free: 122.3 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 4.686e-05/1.041, allocations: 41.45 kB / 0.7781 GB, free: 122.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.018e-05/1.041, allocations: 17.91 kB / 0.7782 GB, free: 122.3 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006612/1.048, allocations: 1.719 MB / 0.7798 GB, free: 122.2 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001269/1.049, allocations: 358.8 kB / 0.7802 GB, free: 122.2 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003639/1.053, allocations: 2.744 MB / 0.7829 GB, free: 121.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001654/1.055, allocations: 112.1 kB / 0.783 GB, free: 121.7 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002139/1.055, allocations: 102.3 kB / 0.7831 GB, free: 121.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.0005832/1.055, allocations: 340 kB / 0.7834 GB, free: 121.5 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000471/1.056, allocations: 201.6 kB / 0.7836 GB, free: 121.5 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008778/1.065, allocations: 7.665 MB / 0.7911 GB, free: 120.9 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006828/1.071, allocations: 6.618 MB / 0.7975 GB, free: 120 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.308e-06/1.071, allocations: 6.078 kB / 0.7975 GB, free: 120 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009432/1.072, allocations: 0.6281 MB / 0.7981 GB, free: 119.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004447/1.073, allocations: 83.31 kB / 0.7982 GB, free: 119.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001378/1.074, allocations: 128.6 kB / 0.7983 GB, free: 119.7 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002954/1.075, allocations: 153.8 kB / 0.7985 GB, free: 119.7 MB / 0.5919 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006567/1.081, allocations: 4.812 MB / 0.8032 GB, free: 117.6 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.007553/1.089, allocations: 6.911 MB / 0.8099 GB, free: 112.7 MB / 0.5919 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002185/1.091, allocations: 2.236 MB / 0.8121 GB, free: 110.8 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001614/1.093, allocations: 1.288 MB / 0.8134 GB, free: 109.6 MB / 0.5919 GB Notification: Performance of Backend: time 6.01e-07/1.093, allocations: 0 / 0.8134 GB, free: 109.6 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01581/1.108, allocations: 6.214 MB / 0.8194 GB, free: 104.8 MB / 0.5919 GB Notification: Performance of SimCode: time 0.008259/1.117, allocations: 6.358 MB / 0.8257 GB, free: 98.99 MB / 0.5919 GB Notification: Performance of Templates: time 0.1154/1.232, allocations: 108.4 MB / 0.9315 GB, free: 8.324 MB / 0.6075 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