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.001587/0.001587, allocations: 182.8 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 2.01/2.01, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.001225/0.001226, 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.2843/0.2843, allocations: 43.56 MB / 362 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003869/0.0003869, allocations: 8 kB / 431.4 MB, free: 19.59 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1663/0.1667, allocations: 58.85 MB / 490.2 MB, free: 8.668 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.344/7.511, allocations: 2.824 GB / 3.303 GB, free: 12.13 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002229/7.511, allocations: 78.78 kB / 3.303 GB, free: 12.09 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.117/9.628, allocations: 467.3 MB / 3.76 GB, free: 56.8 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.763e-06/9.628, allocations: 0 / 3.76 GB, free: 56.8 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001444/9.629, allocations: 27.06 kB / 3.76 GB, free: 56.8 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.01174/9.64, allocations: 2.253 MB / 3.762 GB, free: 55.89 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 7.094e-05/9.64, allocations: 13.44 kB / 3.762 GB, free: 55.89 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003591/9.644, allocations: 377 kB / 3.762 GB, free: 55.83 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003486/9.648, allocations: 0.8887 MB / 3.763 GB, free: 55.58 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000146/9.648, allocations: 80.81 kB / 3.763 GB, free: 55.58 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003827/9.648, allocations: 71.69 kB / 3.763 GB, free: 55.58 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004107/9.652, allocations: 1.481 MB / 3.765 GB, free: 55.3 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.046e-05/9.652, allocations: 6.312 kB / 3.765 GB, free: 55.3 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001535/9.652, allocations: 38.19 kB / 3.765 GB, free: 55.29 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.156e-05/9.653, allocations: 66.22 kB / 3.765 GB, free: 55.29 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003214/9.656, allocations: 1.342 MB / 3.766 GB, free: 55.28 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.009186/9.665, allocations: 6.559 MB / 3.772 GB, free: 51.15 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002786/9.668, allocations: 1.03 MB / 3.773 GB, free: 51.07 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05711/9.725, allocations: 32 MB / 3.805 GB, free: 31.57 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.266e-05/9.725, allocations: 44.81 kB / 3.805 GB, free: 31.53 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=57): time 5.46e-06/9.725, allocations: 0 / 3.805 GB, free: 31.53 MB / 0.5105 GB Notification: Performance of matching and sorting (n=61): time 0.01013/9.735, allocations: 3.35 MB / 3.808 GB, free: 30.88 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.365e-05/9.735, allocations: 192.4 kB / 3.808 GB, free: 30.66 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001275/9.737, allocations: 0.6449 MB / 3.809 GB, free: 30.53 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001112/9.737, allocations: 35.42 kB / 3.809 GB, free: 30.5 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003642/9.737, allocations: 414.6 kB / 3.809 GB, free: 30.31 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.000244/9.737, allocations: 212.4 kB / 3.809 GB, free: 30.18 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.738e-05/9.737, allocations: 15.12 kB / 3.809 GB, free: 30.18 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0002025/9.738, allocations: 394.8 kB / 3.81 GB, free: 29.87 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008879/9.739, allocations: 416.5 kB / 3.81 GB, free: 29.86 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0011/9.74, allocations: 0.6242 MB / 3.811 GB, free: 29.61 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001058/9.741, allocations: 489.5 kB / 3.811 GB, free: 29.59 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.352e-06/9.741, allocations: 0 / 3.811 GB, free: 29.59 MB / 0.5105 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003104/9.744, allocations: 1.365 MB / 3.813 GB, free: 29.49 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006091/9.745, allocations: 2.278 MB / 3.815 GB, free: 27.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.062e-05/9.745, allocations: 9.188 kB / 3.815 GB, free: 27.1 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003326/9.748, allocations: 0.6982 MB / 3.816 GB, free: 27.08 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000602/9.749, allocations: 163.1 kB / 3.816 GB, free: 27.07 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001537/9.75, allocations: 1.304 MB / 3.817 GB, free: 26.54 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001139/9.751, allocations: 104.7 kB / 3.817 GB, free: 26.53 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.941e-05/9.751, allocations: 38 kB / 3.817 GB, free: 26.53 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/9.751, allocations: 3.75 kB / 3.817 GB, free: 26.53 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002531/9.754, allocations: 1.233 MB / 3.818 GB, free: 26.49 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.634e-05/9.754, allocations: 6.812 kB / 3.818 GB, free: 26.49 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001736/9.756, allocations: 430 kB / 3.819 GB, free: 26.47 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006289/9.756, allocations: 174.2 kB / 3.819 GB, free: 26.47 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001202/9.758, allocations: 1.106 MB / 3.82 GB, free: 25.94 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001119/9.759, allocations: 106.1 kB / 3.82 GB, free: 25.93 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.392e-05/9.759, allocations: 45.34 kB / 3.82 GB, free: 25.92 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.0007224/9.759, allocations: 360.5 kB / 3.82 GB, free: 25.73 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003001/9.76, allocations: 85.34 kB / 3.821 GB, free: 25.69 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004446/9.764, allocations: 3.342 MB / 3.824 GB, free: 25.3 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-05/9.764, allocations: 37.8 kB / 3.824 GB, free: 25.3 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.2e-05/9.764, allocations: 7.516 kB / 3.824 GB, free: 25.3 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003254/9.768, allocations: 2.802 MB / 3.827 GB, free: 24.78 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006927/9.775, allocations: 4.594 MB / 3.831 GB, free: 24.32 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.705e-06/9.775, allocations: 0 / 3.831 GB, free: 24.32 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006781/9.775, allocations: 182.2 kB / 3.831 GB, free: 24.31 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004147/9.776, allocations: 96.48 kB / 3.831 GB, free: 24.3 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.939e-05/9.776, allocations: 21.58 kB / 3.831 GB, free: 24.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003582/9.776, allocations: 0.6456 MB / 3.832 GB, free: 23.78 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/9.776, allocations: 3.875 kB / 3.832 GB, free: 23.78 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004085/9.78, allocations: 2.955 MB / 3.835 GB, free: 23.29 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009533/9.781, allocations: 457 kB / 3.835 GB, free: 23.07 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003151/9.782, allocations: 25.23 kB / 3.835 GB, free: 23.07 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001047/9.783, allocations: 89.39 kB / 3.835 GB, free: 23.06 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001657/9.783, allocations: 63.28 kB / 3.835 GB, free: 23.06 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.105e-05/9.783, allocations: 26.45 kB / 3.835 GB, free: 23.06 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001325/9.784, allocations: 0.8043 MB / 3.836 GB, free: 22.95 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.7e-07/9.784, allocations: 0 / 3.836 GB, free: 22.95 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.00961/9.794, allocations: 1.741 MB / 3.838 GB, free: 22.68 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.01423/9.808, allocations: 1.962 MB / 3.84 GB, free: 22.22 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.004835/9.813, allocations: 1.878 MB / 3.842 GB, free: 22.16 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 8.887e-06/9.813, allocations: 0 / 3.842 GB, free: 22.16 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001525/9.815, allocations: 0.905 MB / 3.843 GB, free: 22.16 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002882/9.817, allocations: 480.9 kB / 3.843 GB, free: 22.12 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005906/9.823, allocations: 3.722 MB / 3.847 GB, free: 20.46 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001129/9.825, allocations: 1.35 MB / 3.848 GB, free: 19.73 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001788/9.826, allocations: 0.9049 MB / 3.849 GB, free: 19.69 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002998/9.827, allocations: 83.88 kB / 3.849 GB, free: 19.68 MB / 0.5105 GB Notification: Performance of SimCode: time 1.233e-06/9.827, allocations: 0 / 3.849 GB, free: 19.68 MB / 0.5105 GB Notification: Performance of Templates: time 0.07465/9.901, allocations: 51.88 MB / 3.9 GB, free: 7.191 MB / 0.5105 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