Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_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_cpp_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.002312/0.002311, allocations: 180.2 kB / 8.366 MB, free: 0.7109 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.013/2.013, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00112/0.00112, allocations: 93.92 kB / 262.1 MB, free: 13.86 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3068/0.3068, allocations: 43.48 MB / 353.6 MB, free: 2.266 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.676e-05/1.686e-05, allocations: 4.219 kB / 418.2 MB, free: 41.04 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4023/0.4024, allocations: 58.85 MB / 477.1 MB, free: 5.277 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.775/9.177, allocations: 2.824 GB / 3.29 GB, free: 102 MB / 0.4952 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002837/9.177, allocations: 75.84 kB / 3.29 GB, free: 102 MB / 0.4952 GB Notification: Performance of FrontEnd - DAE generated: time 2.419/11.6, allocations: 461.6 MB / 3.74 GB, free: 46.61 MB / 0.4952 GB Notification: Performance of FrontEnd: time 1.623e-06/11.6, allocations: 0 / 3.74 GB, free: 46.61 MB / 0.4952 GB Notification: Performance of Transformations before backend: time 0.0001007/11.6, allocations: 22.41 kB / 3.74 GB, free: 46.61 MB / 0.4952 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.01018/11.61, allocations: 2.149 MB / 3.742 GB, free: 45.39 MB / 0.4952 GB Notification: Performance of prepare preOptimizeDAE: time 4.669e-05/11.61, allocations: 7.094 kB / 3.742 GB, free: 45.39 MB / 0.4952 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003899/11.61, allocations: 376.5 kB / 3.743 GB, free: 45.3 MB / 0.4952 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003468/11.61, allocations: 0.8764 MB / 3.744 GB, free: 44.82 MB / 0.4952 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001158/11.61, allocations: 30.62 kB / 3.744 GB, free: 44.82 MB / 0.4952 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003031/11.61, allocations: 47.12 kB / 3.744 GB, free: 44.82 MB / 0.4952 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002437/11.62, allocations: 0.9304 MB / 3.745 GB, free: 44.49 MB / 0.4952 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002323/11.62, allocations: 1.085 MB / 3.746 GB, free: 43.94 MB / 0.4952 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.282e-05/11.62, allocations: 3.938 kB / 3.746 GB, free: 43.93 MB / 0.4952 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001533/11.62, allocations: 3.625 kB / 3.746 GB, free: 43.93 MB / 0.4952 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000123/11.62, allocations: 54.22 kB / 3.746 GB, free: 43.93 MB / 0.4952 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.7284/12.35, allocations: 101.3 MB / 3.845 GB, free: 76.14 MB / 0.5265 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001551/12.35, allocations: 476.1 kB / 3.845 GB, free: 76.11 MB / 0.5265 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007518/12.35, allocations: 274.9 kB / 3.845 GB, free: 76.11 MB / 0.5265 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0566/12.41, allocations: 16.77 MB / 3.862 GB, free: 65.79 MB / 0.5265 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.088e-05/12.41, allocations: 44.73 kB / 3.862 GB, free: 65.75 MB / 0.5265 GB Notification: Performance of pre-optimization done (n=42): time 3.877e-06/12.41, allocations: 1.094 kB / 3.862 GB, free: 65.75 MB / 0.5265 GB Notification: Performance of matching and sorting (n=46): time 0.01306/12.42, allocations: 2.281 MB / 3.864 GB, free: 65.39 MB / 0.5265 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.653e-05/12.42, allocations: 136.6 kB / 3.864 GB, free: 65.23 MB / 0.5265 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00172/12.42, allocations: 0.5601 MB / 3.865 GB, free: 65.11 MB / 0.5265 GB Notification: Performance of collectPreVariables (initialization): time 0.0002469/12.42, allocations: 30.8 kB / 3.865 GB, free: 65.08 MB / 0.5265 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005555/12.42, allocations: 499.5 kB / 3.865 GB, free: 64.81 MB / 0.5265 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003698/12.42, allocations: 156.4 kB / 3.865 GB, free: 64.73 MB / 0.5265 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001017/12.42, allocations: 3.844 kB / 3.865 GB, free: 64.73 MB / 0.5265 GB Notification: Performance of setup shared object (initialization): time 0.0001263/12.42, allocations: 340.3 kB / 3.866 GB, free: 64.42 MB / 0.5265 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000985/12.42, allocations: 325.1 kB / 3.866 GB, free: 64.42 MB / 0.5265 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00115/12.43, allocations: 0.5246 MB / 3.867 GB, free: 64.19 MB / 0.5265 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007182/12.43, allocations: 0.9478 MB / 3.867 GB, free: 64.18 MB / 0.5265 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.354e-05/12.43, allocations: 0 / 3.867 GB, free: 64.18 MB / 0.5265 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.009056/12.44, allocations: 1.634 MB / 3.869 GB, free: 64.12 MB / 0.5265 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006073/12.44, allocations: 2.269 MB / 3.871 GB, free: 61.76 MB / 0.5265 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.01e-05/12.44, allocations: 7.562 kB / 3.871 GB, free: 61.76 MB / 0.5265 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002877/12.45, allocations: 474.3 kB / 3.872 GB, free: 61.75 MB / 0.5265 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001232/12.45, allocations: 163.2 kB / 3.872 GB, free: 61.75 MB / 0.5265 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00281/12.45, allocations: 1.359 MB / 3.873 GB, free: 61.23 MB / 0.5265 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002064/12.45, allocations: 119.4 kB / 3.873 GB, free: 61.22 MB / 0.5265 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001879/12.45, allocations: 39.39 kB / 3.873 GB, free: 61.22 MB / 0.5265 GB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/12.45, allocations: 3.875 kB / 3.873 GB, free: 61.22 MB / 0.5265 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008965/12.46, allocations: 1.481 MB / 3.875 GB, free: 61.2 MB / 0.5265 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.675e-05/12.46, allocations: 7.594 kB / 3.875 GB, free: 61.2 MB / 0.5265 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002321/12.46, allocations: 369.8 kB / 3.875 GB, free: 61.19 MB / 0.5265 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001293/12.47, allocations: 169 kB / 3.875 GB, free: 61.19 MB / 0.5265 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001674/12.47, allocations: 1.069 MB / 3.876 GB, free: 60.66 MB / 0.5265 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001556/12.47, allocations: 104.3 kB / 3.877 GB, free: 60.66 MB / 0.5265 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000149/12.47, allocations: 42.42 kB / 3.877 GB, free: 60.66 MB / 0.5265 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.0003427/12.47, allocations: 124.2 kB / 3.877 GB, free: 60.55 MB / 0.5265 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003296/12.47, allocations: 72.81 kB / 3.877 GB, free: 60.52 MB / 0.5265 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004414/12.47, allocations: 1.861 MB / 3.879 GB, free: 60.37 MB / 0.5265 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-05/12.47, allocations: 28.67 kB / 3.879 GB, free: 60.37 MB / 0.5265 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.915e-06/12.47, allocations: 3.344 kB / 3.879 GB, free: 60.37 MB / 0.5265 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003451/12.48, allocations: 1.78 MB / 3.88 GB, free: 59.94 MB / 0.5265 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007064/12.48, allocations: 2.852 MB / 3.883 GB, free: 59.57 MB / 0.5265 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.054e-05/12.48, allocations: 0 / 3.883 GB, free: 59.57 MB / 0.5265 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000981/12.49, allocations: 115.8 kB / 3.883 GB, free: 59.57 MB / 0.5265 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004107/12.49, allocations: 85.44 kB / 3.883 GB, free: 59.57 MB / 0.5265 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.22e-05/12.49, allocations: 15.81 kB / 3.883 GB, free: 59.56 MB / 0.5265 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005539/12.49, allocations: 0.6773 MB / 3.884 GB, free: 59.04 MB / 0.5265 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.202e-06/12.49, allocations: 3 kB / 3.884 GB, free: 59.04 MB / 0.5265 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004657/12.49, allocations: 1.966 MB / 3.886 GB, free: 58.71 MB / 0.5265 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008914/12.49, allocations: 255.2 kB / 3.886 GB, free: 58.56 MB / 0.5265 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002977/12.49, allocations: 13.2 kB / 3.886 GB, free: 58.56 MB / 0.5265 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001324/12.49, allocations: 64.67 kB / 3.886 GB, free: 58.55 MB / 0.5265 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002039/12.49, allocations: 44.7 kB / 3.886 GB, free: 58.55 MB / 0.5265 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.338e-05/12.49, allocations: 24.47 kB / 3.886 GB, free: 58.55 MB / 0.5265 GB Notification: Performance of sorting global known variables: time 0.0008501/12.5, allocations: 423.5 kB / 3.887 GB, free: 58.46 MB / 0.5265 GB Notification: Performance of sort global known variables: time 3.8e-07/12.5, allocations: 0 / 3.887 GB, free: 58.46 MB / 0.5265 GB Notification: Performance of remove unused functions: time 0.008782/12.5, allocations: 1.645 MB / 3.888 GB, free: 58.46 MB / 0.5265 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.01332/12.52, allocations: 2.042 MB / 3.89 GB, free: 58.31 MB / 0.5265 GB Notification: Performance of simCode: created initialization part: time 0.003585/12.52, allocations: 1.386 MB / 3.892 GB, free: 58.29 MB / 0.5265 GB Notification: Performance of simCode: created event and clocks part: time 1.009e-05/12.52, allocations: 6.906 kB / 3.892 GB, free: 58.29 MB / 0.5265 GB Notification: Performance of simCode: created simulation system equations: time 0.001346/12.52, allocations: 0.5776 MB / 3.892 GB, free: 58.29 MB / 0.5265 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003239/12.53, allocations: 336 kB / 3.893 GB, free: 58.27 MB / 0.5265 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004741/12.53, allocations: 1.763 MB / 3.894 GB, free: 57.84 MB / 0.5265 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007922/12.53, allocations: 1.159 MB / 3.895 GB, free: 57.14 MB / 0.5265 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005197/12.53, allocations: 84.94 kB / 3.895 GB, free: 57.13 MB / 0.5265 GB Notification: Performance of SimCode: time 1.904e-06/12.53, allocations: 0 / 3.895 GB, free: 57.13 MB / 0.5265 GB Notification: Performance of Templates: time 0.09192/12.62, allocations: 42.14 MB / 3.937 GB, free: 53.55 MB / 0.5265 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeClosingValve.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeClosingValve.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeClosingValve.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeClosingValve.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeClosingValve.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeClosingValve --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeClosingValve.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeClosingValve.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches