Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pipe1.mediums.1..h|pipe1.mediums.1..p|pipe3.mediums.1..h|pipe3.mediums.1..p|valveIncompressible1.filter.x.1.|valveIncompressible1.filter.x.2.|valveOpening1.a|valveOpening1.b|valveOpening1.last|valveOpening1.nextEvent",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes2") translateModel(ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pipe1.mediums.1..h|pipe1.mediums.1..p|pipe3.mediums.1..h|pipe3.mediums.1..p|valveIncompressible1.filter.x.1.|valveIncompressible1.filter.x.2.|valveOpening1.a|valveOpening1.b|valveOpening1.last|valveOpening1.nextEvent",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001157/0.001157, allocations: 182.4 kB / 15.76 MB, free: 6.367 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.647/1.647, allocations: 205.4 MB / 221.9 MB, free: 13.83 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009376/0.0009376, allocations: 102.8 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2353/0.2353, allocations: 43.55 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000355/0.000355, allocations: 12 kB / 431.4 MB, free: 19.6 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1243/0.1247, allocations: 58.86 MB / 490.2 MB, free: 8.672 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.736/5.86, allocations: 2.825 GB / 3.304 GB, free: 80.95 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002972/5.861, allocations: 79.97 kB / 3.304 GB, free: 80.87 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.936/7.797, allocations: 0.5782 GB / 3.882 GB, free: 41.04 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.763e-06/7.797, allocations: 0 / 3.882 GB, free: 41.04 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001247/7.797, allocations: 55.67 kB / 3.882 GB, free: 41.02 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 322 * Number of variables: 322 Notification: Performance of Generate backend data structure: time 0.009881/7.807, allocations: 3.041 MB / 3.885 GB, free: 39.42 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.244e-05/7.807, allocations: 6.469 kB / 3.885 GB, free: 39.42 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003454/7.811, allocations: 0.5423 MB / 3.886 GB, free: 39.33 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003163/7.814, allocations: 1.452 MB / 3.887 GB, free: 38.96 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001025/7.814, allocations: 115.8 kB / 3.887 GB, free: 38.96 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002136/7.814, allocations: 126.1 kB / 3.887 GB, free: 38.95 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003976/7.818, allocations: 2.3 MB / 3.889 GB, free: 38.57 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.145e-05/7.818, allocations: 1.969 kB / 3.889 GB, free: 38.57 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001439/7.818, allocations: 54.7 kB / 3.889 GB, free: 38.57 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001064/7.818, allocations: 106.5 kB / 3.89 GB, free: 38.56 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004097/7.822, allocations: 2.065 MB / 3.892 GB, free: 38.54 MB / 0.5105 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.01126/7.834, allocations: 9.784 MB / 3.901 GB, free: 32.55 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003094/7.837, allocations: 1.427 MB / 3.903 GB, free: 32.32 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0398/7.877, allocations: 24.44 MB / 3.926 GB, free: 16.41 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00288/7.88, allocations: 1.059 MB / 3.927 GB, free: 16.08 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=96): time 3.757e-06/7.88, allocations: 3.938 kB / 3.927 GB, free: 16.08 MB / 0.5105 GB Notification: Performance of matching and sorting (n=104): time 0.01303/7.893, allocations: 5.306 MB / 3.933 GB, free: 30.01 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001386/7.893, allocations: 275 kB / 3.933 GB, free: 29.7 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001571/7.894, allocations: 1.034 MB / 3.934 GB, free: 29.29 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001275/7.895, allocations: 44.64 kB / 3.934 GB, free: 29.25 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005033/7.895, allocations: 0.6396 MB / 3.935 GB, free: 28.75 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002575/7.895, allocations: 362.5 kB / 3.935 GB, free: 28.48 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.357e-05/7.895, allocations: 27.12 kB / 3.935 GB, free: 28.46 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001384/7.896, allocations: 355.3 kB / 3.935 GB, free: 28.13 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00114/7.897, allocations: 0.6981 MB / 3.936 GB, free: 27.91 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001267/7.898, allocations: 0.9836 MB / 3.937 GB, free: 27.33 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001233/7.899, allocations: 0.8263 MB / 3.938 GB, free: 26.99 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/7.899, allocations: 0 / 3.938 GB, free: 26.99 MB / 0.5261 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.003435/7.903, allocations: 2.04 MB / 3.94 GB, free: 26.21 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.001121/7.904, allocations: 2.77 MB / 3.942 GB, free: 23.29 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.992e-05/7.904, allocations: 10.78 kB / 3.942 GB, free: 23.28 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005216/7.904, allocations: 140.2 kB / 3.943 GB, free: 23.23 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001214/7.906, allocations: 316.2 kB / 3.943 GB, free: 23.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009486/7.907, allocations: 1.25 MB / 3.944 GB, free: 22.07 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001649/7.908, allocations: 155.9 kB / 3.944 GB, free: 22.04 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001539/7.908, allocations: 68.62 kB / 3.944 GB, free: 22.03 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/7.908, allocations: 3.875 kB / 3.944 GB, free: 22.03 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003742/7.912, allocations: 1.857 MB / 3.946 GB, free: 21.35 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.23e-05/7.912, allocations: 8.031 kB / 3.946 GB, free: 21.35 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005276/7.913, allocations: 145.4 kB / 3.946 GB, free: 21.3 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001229/7.914, allocations: 312.7 kB / 3.947 GB, free: 21.27 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008385/7.915, allocations: 1.257 MB / 3.948 GB, free: 20.14 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001743/7.917, allocations: 154.5 kB / 3.948 GB, free: 20.1 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001619/7.917, allocations: 61.64 kB / 3.948 GB, free: 20.09 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 17 (pipe3.state_a.phase,valveIncompressible1.state_b.phase,valveIncompressible1.state_a.phase,pipe1.state_a.phase,$whenCondition1,source.medium.phase,pipe1.statesFM[2].phase,sink.medium.phase,pipe3.statesFM[2].phase,valveOpening1.a,valveOpening1.b,valveOpening1.last,$PRE.valveOpening1.nextEvent,valveOpening1.nextEvent,valveOpening1.nextEventScaled,pipe3.state_b.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 (147): * Single equations (assignments): 142 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.00114/7.918, allocations: 0.5482 MB / 3.949 GB, free: 19.71 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003797/7.918, allocations: 139.1 kB / 3.949 GB, free: 19.64 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006076/7.924, allocations: 4.807 MB / 3.953 GB, free: 17.52 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.678e-05/7.925, allocations: 53.42 kB / 3.953 GB, free: 17.5 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.648e-06/7.925, allocations: 0 / 3.953 GB, free: 17.5 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004369/7.929, allocations: 4.042 MB / 3.957 GB, free: 14.3 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008983/7.938, allocations: 6.876 MB / 3.964 GB, free: 8.395 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.297e-06/7.938, allocations: 7.891 kB / 3.964 GB, free: 8.387 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001048/7.939, allocations: 246.9 kB / 3.964 GB, free: 8.188 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000749/7.94, allocations: 193 kB / 3.965 GB, free: 8.043 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001163/7.94, allocations: 39.64 kB / 3.965 GB, free: 8.012 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008068/7.941, allocations: 1.292 MB / 3.966 GB, free: 6.723 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/7.941, allocations: 0 / 3.966 GB, free: 6.723 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006203/7.947, allocations: 4.449 MB / 3.97 GB, free: 2.703 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001241/7.948, allocations: 0.5528 MB / 3.971 GB, free: 2.207 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004107/7.949, allocations: 39.14 kB / 3.971 GB, free: 2.172 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001139/7.95, allocations: 124.3 kB / 3.971 GB, free: 2.078 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002011/7.95, allocations: 90.75 kB / 3.971 GB, free: 2.023 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.98e-05/7.95, allocations: 46.38 kB / 3.971 GB, free: 1.984 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001411/7.952, allocations: 0.9926 MB / 3.972 GB, free: 1.152 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.7e-07/7.952, allocations: 0 / 3.972 GB, free: 1.152 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.008395/7.96, allocations: 2.225 MB / 3.974 GB, free: 14.99 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (pipe1.mediums[1].p,pipe1.mediums[1].h,valveIncompressible1.filter.x[1],valveIncompressible1.filter.x[2],pipe3.mediums[1].p,pipe3.mediums[1].h) * Number of discrete variables: 36 ($cse3.phase,$cse3.region,$cse5.region3boundary,$cse6.region3boundary,$cse7.phase,$cse7.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region,$cse15.phase,$cse15.region,$cse16.phase,$cse16.region,$cse18.phase,$cse18.region,$cse19.phase,$cse19.region,$cse22.phase,$cse22.region,$cse24.region3boundary,$cse25.region3boundary,$cse26.phase,$cse26.region,$cse28.phase,$cse28.region,$whenCondition1,source.medium.phase,pipe1.statesFM[2].phase,sink.medium.phase,pipe3.statesFM[2].phase,valveOpening1.a,valveOpening1.b,valveOpening1.last,valveOpening1.nextEvent,valveOpening1.nextEventScaled) * Number of discrete states: 6 (valveOpening1.nextEvent,valveOpening1.last,valveOpening1.nextEventScaled,valveOpening1.b,valveOpening1.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (119): * Single equations (assignments): 101 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 15 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0108/7.971, allocations: 2.376 MB / 3.976 GB, free: 13.13 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.006182/7.977, allocations: 3.237 MB / 3.98 GB, free: 10.25 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 7.964e-06/7.977, allocations: 0.875 kB / 3.98 GB, free: 10.25 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.002214/7.979, allocations: 1.481 MB / 3.981 GB, free: 8.906 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003311/7.983, allocations: 0.6435 MB / 3.982 GB, free: 8.434 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008117/7.991, allocations: 5.679 MB / 3.987 GB, free: 3.312 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001291/7.992, allocations: 1.71 MB / 3.989 GB, free: 1.922 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.002938/7.995, allocations: 1.61 MB / 3.99 GB, free: 0.9531 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003831/7.995, allocations: 127.1 kB / 3.991 GB, free: 0.8359 MB / 0.5417 GB Notification: Performance of SimCode: time 1.513e-06/7.995, allocations: 0 / 3.991 GB, free: 0.8359 MB / 0.5417 GB Notification: Performance of Templates: time 0.3491/8.345, allocations: 63.48 MB / 4.053 GB, free: 66.37 MB / 0.5417 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes2.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes2.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestPipesAndValves/SeriesPipes2/SeriesPipes2.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches