Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeClosingValve.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.DynamicPipeClosingValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pipe.mediums.1..h|pipe.mediums.1..p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeClosingValve") translateModel(ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeClosingValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pipe.mediums.1..h|pipe.mediums.1..p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeClosingValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001093/0.001093, allocations: 177 kB / 16.77 MB, free: 4.926 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.706/1.706, allocations: 205.4 MB / 222.9 MB, free: 9.02 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.0009292/0.0009292, allocations: 87.39 kB / 271.3 MB, free: 8.234 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4317/0.4317, allocations: 43.56 MB / 363.1 MB, free: 52.18 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004091/0.0004092, allocations: 16 kB / 432.6 MB, free: 5.184 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1423/0.1427, allocations: 58.84 MB / 491.5 MB, free: 10.26 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.095/6.238, allocations: 2.825 GB / 3.305 GB, free: 150 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002321/6.238, allocations: 82.3 kB / 3.305 GB, free: 150 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.441/7.679, allocations: 440.4 MB / 3.735 GB, free: 56.35 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.464e-06/7.679, allocations: 0 / 3.735 GB, free: 56.35 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 8.428e-05/7.679, allocations: 23.94 kB / 3.735 GB, free: 56.34 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: 196 * Number of variables: 196 Notification: Performance of Generate backend data structure: time 0.008887/7.688, allocations: 2.249 MB / 3.737 GB, free: 55.23 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.744e-05/7.688, allocations: 10.88 kB / 3.737 GB, free: 55.23 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002596/7.691, allocations: 370.8 kB / 3.738 GB, free: 55.17 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01639/7.707, allocations: 8.604 MB / 3.746 GB, free: 54.15 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001394/7.708, allocations: 73.39 kB / 3.746 GB, free: 54.12 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003584/7.708, allocations: 75.25 kB / 3.746 GB, free: 54.09 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003848/7.712, allocations: 1.485 MB / 3.748 GB, free: 53.46 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.762e-05/7.712, allocations: 7.875 kB / 3.748 GB, free: 53.45 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001577/7.712, allocations: 37.92 kB / 3.748 GB, free: 53.43 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.638e-05/7.712, allocations: 57.77 kB / 3.748 GB, free: 53.42 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00343/7.716, allocations: 1.34 MB / 3.749 GB, free: 53.06 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.009199/7.725, allocations: 6.553 MB / 3.755 GB, free: 48.01 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00259/7.727, allocations: 1.022 MB / 3.756 GB, free: 47.69 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007882/7.728, allocations: 458.8 kB / 3.757 GB, free: 47.53 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05257/7.781, allocations: 32 MB / 3.788 GB, free: 26.71 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.938e-05/7.781, allocations: 50.81 kB / 3.788 GB, free: 26.66 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=57): time 3.948e-06/7.781, allocations: 0 / 3.788 GB, free: 26.66 MB / 0.5105 GB Notification: Performance of matching and sorting (n=61): time 0.008247/7.789, allocations: 3.357 MB / 3.791 GB, free: 25.28 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.122e-05/7.789, allocations: 192.3 kB / 3.792 GB, free: 25.06 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000875/7.79, allocations: 0.7168 MB / 3.792 GB, free: 24.75 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 6.659e-05/7.79, allocations: 37.52 kB / 3.792 GB, free: 24.71 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002343/7.79, allocations: 408.7 kB / 3.793 GB, free: 24.39 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001571/7.791, allocations: 222.7 kB / 3.793 GB, free: 24.22 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.023e-05/7.791, allocations: 15.94 kB / 3.793 GB, free: 24.21 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001299/7.791, allocations: 388.7 kB / 3.793 GB, free: 23.87 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007476/7.792, allocations: 424.3 kB / 3.794 GB, free: 23.73 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008378/7.792, allocations: 0.6245 MB / 3.794 GB, free: 23.34 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001556/7.794, allocations: 1.036 MB / 3.795 GB, free: 22.79 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/7.794, allocations: 1.25 kB / 3.795 GB, free: 22.79 MB / 0.5105 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002343/7.796, allocations: 1.354 MB / 3.797 GB, free: 22.28 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001305/7.796, allocations: 269.2 kB / 3.797 GB, free: 21.96 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.254e-05/7.797, allocations: 7.062 kB / 3.797 GB, free: 21.96 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002998/7.8, allocations: 0.6871 MB / 3.798 GB, free: 21.84 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005426/7.8, allocations: 160.1 kB / 3.798 GB, free: 21.83 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001417/7.802, allocations: 1.313 MB / 3.799 GB, free: 21.03 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009402/7.802, allocations: 110.8 kB / 3.799 GB, free: 21 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.846e-05/7.803, allocations: 39.67 kB / 3.799 GB, free: 20.99 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.113e-05/7.803, allocations: 3.688 kB / 3.799 GB, free: 20.99 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002232/7.805, allocations: 1.229 MB / 3.8 GB, free: 20.56 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.129e-05/7.805, allocations: 11.25 kB / 3.8 GB, free: 20.56 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00158/7.806, allocations: 430.4 kB / 3.801 GB, free: 20.48 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005557/7.807, allocations: 176.6 kB / 3.801 GB, free: 20.45 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00104/7.808, allocations: 1.108 MB / 3.802 GB, free: 19.73 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008902/7.809, allocations: 108.8 kB / 3.802 GB, free: 19.71 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.27e-05/7.809, allocations: 39.34 kB / 3.802 GB, free: 19.7 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 9 (valve.state_b.phase,valve.state_a.phase,pipe.state_a.phase,source.medium.phase,pipe.statesFM[2].phase,sink.medium.phase,sink.state.phase,pipe.state_b.phase,source.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (68): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 23} Notification: Performance of prepare postOptimizeDAE: time 0.0006336/7.81, allocations: 372.6 kB / 3.803 GB, free: 19.42 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001708/7.81, allocations: 78.88 kB / 3.803 GB, free: 19.38 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003757/7.814, allocations: 3.355 MB / 3.806 GB, free: 17.9 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.854e-05/7.814, allocations: 40.08 kB / 3.806 GB, free: 17.89 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.062e-06/7.814, allocations: 0 / 3.806 GB, free: 17.89 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00271/7.816, allocations: 2.796 MB / 3.809 GB, free: 16.5 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005332/7.822, allocations: 4.587 MB / 3.813 GB, free: 14.46 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.874e-06/7.822, allocations: 3.938 kB / 3.813 GB, free: 14.46 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006264/7.822, allocations: 182.7 kB / 3.813 GB, free: 14.44 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000372/7.823, allocations: 90.98 kB / 3.813 GB, free: 14.42 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.824e-05/7.823, allocations: 21.97 kB / 3.813 GB, free: 14.41 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003087/7.823, allocations: 0.6484 MB / 3.814 GB, free: 13.83 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.265e-06/7.823, allocations: 3.844 kB / 3.814 GB, free: 13.83 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003432/7.827, allocations: 2.934 MB / 3.817 GB, free: 12.46 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007093/7.827, allocations: 462 kB / 3.817 GB, free: 12.16 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001312/7.827, allocations: 22.62 kB / 3.817 GB, free: 12.14 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006787/7.828, allocations: 85.44 kB / 3.817 GB, free: 12.12 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001488/7.828, allocations: 71.12 kB / 3.818 GB, free: 12.11 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.875e-05/7.828, allocations: 26 kB / 3.818 GB, free: 12.11 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0009855/7.829, allocations: 0.7953 MB / 3.818 GB, free: 11.77 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.4e-07/7.829, allocations: 0 / 3.818 GB, free: 11.77 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.006921/7.836, allocations: 1.689 MB / 3.82 GB, free: 10.53 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (pipe.mediums[1].p,pipe.mediums[1].h) * Number of discrete variables: 21 ($cse5.phase,$cse5.region,$cse7.region3boundary,$cse8.region3boundary,$cse9.phase,$cse9.region,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse17.phase,$cse17.region,$cse19.phase,$cse19.region,$cse20.phase,$cse20.region,$cse23.phase,$cse23.region,source.medium.phase,pipe.statesFM[2].phase,sink.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.009313/7.846, allocations: 1.879 MB / 3.822 GB, free: 9.047 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.003543/7.849, allocations: 1.876 MB / 3.824 GB, free: 7.438 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.682e-06/7.849, allocations: 0 / 3.824 GB, free: 7.438 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001249/7.851, allocations: 0.8978 MB / 3.825 GB, free: 6.641 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002858/7.853, allocations: 480.7 kB / 3.825 GB, free: 6.301 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004226/7.858, allocations: 3.744 MB / 3.829 GB, free: 2.906 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006488/7.858, allocations: 1.313 MB / 3.83 GB, free: 1.762 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001458/7.86, allocations: 0.901 MB / 3.831 GB, free: 1.223 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002067/7.86, allocations: 86.86 kB / 3.831 GB, free: 1.141 MB / 0.5105 GB Notification: Performance of SimCode: time 1.162e-06/7.86, allocations: 0 / 3.831 GB, free: 1.141 MB / 0.5105 GB Notification: Performance of Templates: time 0.3754/8.235, allocations: 53.7 MB / 3.883 GB, free: 68.23 MB / 0.5261 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeClosingValve.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeClosingValve.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeClosingValve.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeClosingValve.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeClosingValve.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeClosingValve -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeClosingValve.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeClosingValve_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestPipesAndValves/DynamicPipeClosingValve/DynamicPipeClosingValve.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeClosingValve.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches