Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeClosingValve.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeClosingValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001983/0.001983, allocations: 200.4 kB / 18.11 MB, free: 3.73 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.469/1.469, allocations: 226.5 MB / 245.4 MB, free: 6.508 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001518/0.001518, allocations: 103.4 kB / 297.5 MB, free: 6.68 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4769/0.4769, allocations: 44.82 MB / 394.3 MB, free: 35.69 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003416/0.0003416, allocations: 11.98 kB / 467.9 MB, free: 12.05 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4166/0.417, allocations: 62.96 MB / 0.5184 GB, free: 37.59 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.911/8.328, allocations: 2.831 GB / 3.349 GB, free: 156.8 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002935/8.328, allocations: 88.5 kB / 3.349 GB, free: 156.8 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 1.822/10.15, allocations: 445.2 MB / 3.784 GB, free: 63.03 MB / 0.5417 GB Notification: Performance of FrontEnd: time 3.106e-06/10.15, allocations: 0 / 3.784 GB, free: 63.03 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0001538/10.15, allocations: 20.41 kB / 3.784 GB, free: 63.02 MB / 0.5417 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.01099/10.16, allocations: 2.267 MB / 3.786 GB, free: 61.93 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.775e-05/10.16, allocations: 11.28 kB / 3.786 GB, free: 61.93 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003104/10.17, allocations: 372.1 kB / 3.786 GB, free: 61.87 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01876/10.18, allocations: 8.659 MB / 3.795 GB, free: 61.48 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001742/10.18, allocations: 68.88 kB / 3.795 GB, free: 61.48 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004385/10.18, allocations: 79.16 kB / 3.795 GB, free: 61.48 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004345/10.19, allocations: 1.492 MB / 3.797 GB, free: 61.2 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.946e-05/10.19, allocations: 6.375 kB / 3.797 GB, free: 61.19 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002069/10.19, allocations: 38.81 kB / 3.797 GB, free: 61.19 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001131/10.19, allocations: 51.05 kB / 3.797 GB, free: 61.19 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003853/10.19, allocations: 1.352 MB / 3.798 GB, free: 61.18 MB / 0.5417 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.009944/10.2, allocations: 6.539 MB / 3.804 GB, free: 57.01 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002791/10.21, allocations: 1.021 MB / 3.805 GB, free: 56.94 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008193/10.21, allocations: 461.2 kB / 3.806 GB, free: 56.91 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06248/10.27, allocations: 35.29 MB / 3.84 GB, free: 33.47 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001027/10.27, allocations: 46.38 kB / 3.84 GB, free: 33.43 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=57): time 5.801e-06/10.27, allocations: 0 / 3.84 GB, free: 33.43 MB / 0.5417 GB Notification: Performance of matching and sorting (n=61): time 0.01179/10.28, allocations: 3.347 MB / 3.844 GB, free: 32.18 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001072/10.28, allocations: 194.1 kB / 3.844 GB, free: 31.95 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001518/10.28, allocations: 0.7202 MB / 3.844 GB, free: 31.65 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0001314/10.28, allocations: 45.2 kB / 3.844 GB, free: 31.61 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.000402/10.28, allocations: 411.4 kB / 3.845 GB, free: 31.28 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002848/10.28, allocations: 212.1 kB / 3.845 GB, free: 31.12 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.928e-05/10.28, allocations: 15.03 kB / 3.845 GB, free: 31.11 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0002297/10.28, allocations: 397.2 kB / 3.845 GB, free: 30.76 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009495/10.29, allocations: 422.4 kB / 3.846 GB, free: 30.63 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001061/10.29, allocations: 0.6263 MB / 3.846 GB, free: 30.24 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002026/10.29, allocations: 1.033 MB / 3.847 GB, free: 29.71 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.897e-06/10.29, allocations: 0 / 3.847 GB, free: 29.71 MB / 0.5417 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003175/10.29, allocations: 1.361 MB / 3.849 GB, free: 29.23 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002369/10.29, allocations: 262.1 kB / 3.849 GB, free: 28.92 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.809e-05/10.29, allocations: 3.969 kB / 3.849 GB, free: 28.92 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003347/10.3, allocations: 0.6927 MB / 3.85 GB, free: 28.8 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006571/10.3, allocations: 161.9 kB / 3.85 GB, free: 28.8 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001942/10.3, allocations: 1.304 MB / 3.851 GB, free: 28 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001493/10.3, allocations: 111.4 kB / 3.851 GB, free: 27.98 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001841/10.3, allocations: 37.61 kB / 3.851 GB, free: 27.97 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.116e-05/10.3, allocations: 3.719 kB / 3.851 GB, free: 27.97 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003048/10.3, allocations: 1.228 MB / 3.852 GB, free: 27.57 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.918e-05/10.3, allocations: 10.28 kB / 3.853 GB, free: 27.57 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001919/10.3, allocations: 434.7 kB / 3.853 GB, free: 27.48 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007487/10.31, allocations: 172.8 kB / 3.853 GB, free: 27.46 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001568/10.31, allocations: 1.105 MB / 3.854 GB, free: 26.74 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001416/10.31, allocations: 112.2 kB / 3.854 GB, free: 26.71 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001484/10.31, allocations: 39.16 kB / 3.854 GB, free: 26.71 MB / 0.5417 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.001197/10.31, allocations: 371.4 kB / 3.855 GB, free: 26.43 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004995/10.31, allocations: 86.59 kB / 3.855 GB, free: 26.38 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006212/10.32, allocations: 3.346 MB / 3.858 GB, free: 24.92 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-05/10.32, allocations: 33.45 kB / 3.858 GB, free: 24.91 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.829e-05/10.32, allocations: 3.703 kB / 3.858 GB, free: 24.91 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003761/10.32, allocations: 2.812 MB / 3.861 GB, free: 23.5 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008276/10.33, allocations: 4.591 MB / 3.865 GB, free: 21.48 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.235e-05/10.33, allocations: 0 / 3.865 GB, free: 21.48 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007177/10.33, allocations: 178.1 kB / 3.865 GB, free: 21.47 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000444/10.33, allocations: 102.3 kB / 3.866 GB, free: 21.43 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.183e-05/10.33, allocations: 19.25 kB / 3.866 GB, free: 21.42 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000445/10.33, allocations: 0.6451 MB / 3.866 GB, free: 20.85 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/10.33, allocations: 0 / 3.866 GB, free: 20.85 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004547/10.34, allocations: 2.937 MB / 3.869 GB, free: 19.48 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00126/10.34, allocations: 456.9 kB / 3.869 GB, free: 19.18 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004302/10.34, allocations: 19.34 kB / 3.87 GB, free: 19.17 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001149/10.34, allocations: 89.94 kB / 3.87 GB, free: 19.14 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002066/10.34, allocations: 67.09 kB / 3.87 GB, free: 19.13 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.651e-05/10.34, allocations: 29.08 kB / 3.87 GB, free: 19.12 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001662/10.34, allocations: 0.7931 MB / 3.87 GB, free: 18.8 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.8e-07/10.34, allocations: 0 / 3.87 GB, free: 18.8 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.01039/10.35, allocations: 1.706 MB / 3.872 GB, free: 18.44 MB / 0.5417 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.01433/10.36, allocations: 1.903 MB / 3.874 GB, free: 17.93 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.00519/10.37, allocations: 1.873 MB / 3.876 GB, free: 17.32 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 9.918e-06/10.37, allocations: 0 / 3.876 GB, free: 17.32 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.001669/10.37, allocations: 0.9063 MB / 3.877 GB, free: 16.95 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003682/10.38, allocations: 477.7 kB / 3.877 GB, free: 16.82 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006451/10.38, allocations: 3.734 MB / 3.881 GB, free: 14.73 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001277/10.38, allocations: 1.316 MB / 3.882 GB, free: 13.96 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.002028/10.39, allocations: 0.9078 MB / 3.883 GB, free: 13.9 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003151/10.39, allocations: 81.73 kB / 3.883 GB, free: 13.89 MB / 0.5417 GB Notification: Performance of SimCode: time 1.322e-06/10.39, allocations: 0 / 3.883 GB, free: 13.89 MB / 0.5417 GB Notification: Performance of Templates: time 0.4995/10.89, allocations: 53.79 MB / 3.936 GB, free: 76.68 MB / 0.5573 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeClosingValve.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeClosingValve.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeClosingValve.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeClosingValve.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeClosingValve.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeClosingValve -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeClosingValve.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeClosingValve_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestPipesAndValves/DynamicPipeClosingValve/DynamicPipeClosingValve.csv","../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeClosingValve.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches