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.0009337/0.0009338, allocations: 176.7 kB / 8.008 MB, free: 1.066 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.399/1.399, allocations: 205.3 MB / 213.7 MB, free: 1.738 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009212/0.000921, allocations: 82.22 kB / 261.7 MB, free: 1.684 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.1843/0.1843, allocations: 43.5 MB / 353.2 MB, free: 276 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.572e-05/1.575e-05, allocations: 4 kB / 418.3 MB, free: 28.56 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.103/0.1031, allocations: 58.85 MB / 477.1 MB, free: 1.656 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.183/7.287, allocations: 2.824 GB / 3.29 GB, free: 135.9 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000259/7.287, allocations: 82.11 kB / 3.29 GB, free: 135.9 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.725/9.012, allocations: 461.6 MB / 3.74 GB, free: 41.26 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.573e-06/9.012, allocations: 0 / 3.74 GB, free: 41.26 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001346/9.012, allocations: 27.56 kB / 3.74 GB, free: 41.25 MB / 0.4948 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.00918/9.021, allocations: 2.146 MB / 3.743 GB, free: 40 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.64e-05/9.021, allocations: 7.281 kB / 3.743 GB, free: 40 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002948/9.024, allocations: 379.5 kB / 3.743 GB, free: 39.91 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002917/9.027, allocations: 0.872 MB / 3.744 GB, free: 39.43 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001046/9.027, allocations: 33.03 kB / 3.744 GB, free: 39.43 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003066/9.028, allocations: 45.12 kB / 3.744 GB, free: 39.43 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001877/9.03, allocations: 0.9244 MB / 3.745 GB, free: 39.11 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00186/9.031, allocations: 1.091 MB / 3.746 GB, free: 38.55 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.414e-05/9.031, allocations: 7.844 kB / 3.746 GB, free: 38.54 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001154/9.032, allocations: 3.969 kB / 3.746 GB, free: 38.54 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.463e-05/9.032, allocations: 53.8 kB / 3.746 GB, free: 38.53 MB / 0.4948 GB Warning: The model contains alias variables with conflicting start and/or 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.5952/9.627, allocations: 101.2 MB / 3.845 GB, free: 62.44 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007748/9.628, allocations: 480.2 kB / 3.845 GB, free: 62.41 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003184/9.628, allocations: 276.5 kB / 3.845 GB, free: 62.41 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02667/9.655, allocations: 16.77 MB / 3.862 GB, free: 52.09 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.816e-05/9.655, allocations: 37.41 kB / 3.862 GB, free: 52.05 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=42): time 2.575e-06/9.655, allocations: 1.75 kB / 3.862 GB, free: 52.05 MB / 0.5261 GB Notification: Performance of matching and sorting (n=46): time 0.007247/9.662, allocations: 2.304 MB / 3.864 GB, free: 51.66 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.904e-05/9.662, allocations: 132.4 kB / 3.864 GB, free: 51.5 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007045/9.663, allocations: 0.5545 MB / 3.865 GB, free: 51.39 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.438e-05/9.663, allocations: 25.7 kB / 3.865 GB, free: 51.36 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002436/9.663, allocations: 473.8 kB / 3.865 GB, free: 51.15 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001225/9.663, allocations: 163.2 kB / 3.865 GB, free: 51.07 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.973e-05/9.663, allocations: 0 / 3.865 GB, free: 51.07 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001123/9.663, allocations: 380.2 kB / 3.866 GB, free: 50.75 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003948/9.664, allocations: 325 kB / 3.866 GB, free: 50.75 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005041/9.664, allocations: 0.5235 MB / 3.867 GB, free: 50.52 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003406/9.668, allocations: 0.9509 MB / 3.867 GB, free: 50.5 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.439e-06/9.668, allocations: 0 / 3.867 GB, free: 50.5 MB / 0.5261 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.004421/9.672, allocations: 1.672 MB / 3.869 GB, free: 50.39 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004923/9.673, allocations: 2.268 MB / 3.871 GB, free: 48.02 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.173e-05/9.673, allocations: 6.438 kB / 3.871 GB, free: 48.02 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001516/9.674, allocations: 471.7 kB / 3.872 GB, free: 48 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005271/9.675, allocations: 168.1 kB / 3.872 GB, free: 48 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00156/9.676, allocations: 1.354 MB / 3.873 GB, free: 47.47 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001026/9.677, allocations: 123.1 kB / 3.873 GB, free: 47.46 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.15e-05/9.677, allocations: 37.19 kB / 3.873 GB, free: 47.46 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.151e-05/9.678, allocations: 8.031 kB / 3.873 GB, free: 47.45 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004431/9.682, allocations: 1.481 MB / 3.875 GB, free: 47.41 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.898e-06/9.682, allocations: 7.906 kB / 3.875 GB, free: 47.41 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001269/9.683, allocations: 380.8 kB / 3.875 GB, free: 47.4 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005723/9.684, allocations: 169.7 kB / 3.875 GB, free: 47.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001032/9.685, allocations: 1.077 MB / 3.876 GB, free: 46.86 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008954/9.686, allocations: 95.88 kB / 3.877 GB, free: 46.86 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.98e-05/9.686, allocations: 42.02 kB / 3.877 GB, free: 46.85 MB / 0.5261 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,pipe.statesFM[2].phase,sink.medium.phase,source.medium.phase,sink.state.phase,pipe.state_b.phase,source.state.phase) * Number of discrete 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.0002371/9.686, allocations: 131.6 kB / 3.877 GB, free: 46.75 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000133/9.686, allocations: 68.59 kB / 3.877 GB, free: 46.71 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002522/9.689, allocations: 1.854 MB / 3.879 GB, free: 46.57 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.129e-05/9.689, allocations: 24.64 kB / 3.879 GB, free: 46.57 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/9.689, allocations: 7.953 kB / 3.879 GB, free: 46.56 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001793/9.691, allocations: 1.79 MB / 3.88 GB, free: 46.12 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003525/9.694, allocations: 2.841 MB / 3.883 GB, free: 45.76 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.692e-06/9.694, allocations: 7.047 kB / 3.883 GB, free: 45.76 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004464/9.695, allocations: 115.3 kB / 3.883 GB, free: 45.76 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002352/9.695, allocations: 88.94 kB / 3.883 GB, free: 45.74 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.919e-05/9.695, allocations: 12.8 kB / 3.883 GB, free: 45.74 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003224/9.695, allocations: 0.672 MB / 3.884 GB, free: 45.22 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/9.695, allocations: 0 / 3.884 GB, free: 45.22 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002205/9.697, allocations: 1.973 MB / 3.886 GB, free: 44.88 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003635/9.698, allocations: 261.7 kB / 3.886 GB, free: 44.73 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001177/9.698, allocations: 11.59 kB / 3.886 GB, free: 44.73 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005295/9.699, allocations: 58.92 kB / 3.886 GB, free: 44.73 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.616e-05/9.699, allocations: 43.39 kB / 3.886 GB, free: 44.73 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.015e-05/9.699, allocations: 22.78 kB / 3.886 GB, free: 44.73 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0004414/9.699, allocations: 425.4 kB / 3.887 GB, free: 44.63 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.61e-07/9.699, allocations: 0 / 3.887 GB, free: 44.63 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.007044/9.706, allocations: 1.638 MB / 3.888 GB, free: 44.63 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (pipe.mediums[1].p,pipe.mediums[1].h) * Number of discrete variables: 11 ($cse1.region3boundary,$cse2.region3boundary,$cse3.phase,$cse3.region,$cse5.phase,$cse5.region,$cse10.phase,$cse10.region,$cse12.phase,$cse12.region,pipe.statesFM[2].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.01243/9.719, allocations: 2.056 MB / 3.89 GB, free: 44.39 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.002573/9.721, allocations: 1.408 MB / 3.892 GB, free: 44.37 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.442e-06/9.721, allocations: 0 / 3.892 GB, free: 44.37 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0008249/9.722, allocations: 0.5864 MB / 3.892 GB, free: 44.37 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002014/9.724, allocations: 330.5 kB / 3.893 GB, free: 44.34 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003138/9.727, allocations: 1.723 MB / 3.894 GB, free: 43.87 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005581/9.728, allocations: 1.175 MB / 3.895 GB, free: 43.15 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001601/9.729, allocations: 1.082 MB / 3.896 GB, free: 43.11 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000167/9.73, allocations: 60.75 kB / 3.897 GB, free: 43.1 MB / 0.5261 GB Notification: Performance of SimCode: time 5.21e-07/9.73, allocations: 0 / 3.897 GB, free: 43.1 MB / 0.5261 GB Notification: Performance of Templates: time 0.05664/9.786, allocations: 43.53 MB / 3.939 GB, free: 40.27 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/jenkins/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