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.002455/0.002455, allocations: 181.4 kB / 13.66 MB, free: 1.664 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.047/2.047, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001077/0.001076, allocations: 78.7 kB / 267.5 MB, free: 14.04 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.2786/0.2786, allocations: 43.5 MB / 359.1 MB, free: 12.23 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 4.177e-05/4.189e-05, allocations: 7.984 kB / 425.3 MB, free: 23.36 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1486/0.1487, allocations: 58.85 MB / 484.1 MB, free: 12.46 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.202/8.351, allocations: 2.824 GB / 3.297 GB, free: 19.85 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003046/8.351, allocations: 81.86 kB / 3.297 GB, free: 19.81 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.6/10.95, allocations: 466.1 MB / 3.752 GB, free: 55.29 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.883e-06/10.95, allocations: 0 / 3.752 GB, free: 55.29 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 9.804e-05/10.95, allocations: 24.84 kB / 3.752 GB, free: 55.29 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.00999/10.96, allocations: 2.144 MB / 3.754 GB, free: 54.51 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.175e-05/10.96, allocations: 14.59 kB / 3.754 GB, free: 54.51 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003923/10.97, allocations: 369.6 kB / 3.755 GB, free: 54.45 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003174/10.97, allocations: 0.8766 MB / 3.756 GB, free: 54.2 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000107/10.97, allocations: 71.06 kB / 3.756 GB, free: 54.2 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002109/10.97, allocations: 80.09 kB / 3.756 GB, free: 54.2 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00412/10.97, allocations: 1.458 MB / 3.757 GB, free: 53.92 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.128e-05/10.97, allocations: 5.719 kB / 3.757 GB, free: 53.92 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001504/10.97, allocations: 37.23 kB / 3.757 GB, free: 53.91 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001106/10.97, allocations: 56.69 kB / 3.757 GB, free: 53.91 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003838/10.98, allocations: 1.255 MB / 3.759 GB, free: 53.9 MB / 0.5105 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.0113/10.99, allocations: 6.557 MB / 3.765 GB, free: 49.77 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003124/10.99, allocations: 0.9325 MB / 3.766 GB, free: 49.7 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000825/10.99, allocations: 396.5 kB / 3.766 GB, free: 49.67 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09879/11.09, allocations: 32.11 MB / 3.798 GB, free: 30.23 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.791e-05/11.09, allocations: 39.97 kB / 3.798 GB, free: 30.19 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=57): time 3.496e-06/11.09, allocations: 3.656 kB / 3.798 GB, free: 30.19 MB / 0.5105 GB Notification: Performance of matching and sorting (n=61): time 0.009537/11.1, allocations: 2.806 MB / 3.8 GB, free: 29.58 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.198e-05/11.1, allocations: 193.7 kB / 3.801 GB, free: 29.36 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001174/11.1, allocations: 0.637 MB / 3.801 GB, free: 29.23 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001266/11.1, allocations: 40.05 kB / 3.801 GB, free: 29.2 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002672/11.1, allocations: 429.1 kB / 3.802 GB, free: 28.95 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002232/11.1, allocations: 210.4 kB / 3.802 GB, free: 28.82 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.238e-05/11.1, allocations: 17.34 kB / 3.802 GB, free: 28.82 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.277e-05/11.1, allocations: 340.9 kB / 3.802 GB, free: 28.5 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008198/11.1, allocations: 351.5 kB / 3.803 GB, free: 28.5 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009407/11.11, allocations: 0.5495 MB / 3.803 GB, free: 28.27 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009425/11.11, allocations: 410.8 kB / 3.803 GB, free: 28.27 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.741e-06/11.11, allocations: 3.938 kB / 3.803 GB, free: 28.27 MB / 0.5105 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002769/11.11, allocations: 1.15 MB / 3.805 GB, free: 28.2 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004995/11.11, allocations: 2.27 MB / 3.807 GB, free: 25.84 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.399e-05/11.11, allocations: 11.22 kB / 3.807 GB, free: 25.84 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005034/11.11, allocations: 0.6521 MB / 3.807 GB, free: 25.84 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001172/11.12, allocations: 160.3 kB / 3.808 GB, free: 25.84 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002009/11.12, allocations: 1.26 MB / 3.809 GB, free: 25.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001628/11.12, allocations: 104.5 kB / 3.809 GB, free: 25.3 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001133/11.12, allocations: 48.3 kB / 3.809 GB, free: 25.3 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.178e-05/11.12, allocations: 3.094 kB / 3.809 GB, free: 25.3 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002989/11.12, allocations: 1.064 MB / 3.81 GB, free: 25.27 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.336e-05/11.12, allocations: 11.61 kB / 3.81 GB, free: 25.27 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00243/11.13, allocations: 380.7 kB / 3.81 GB, free: 25.26 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001216/11.13, allocations: 173.6 kB / 3.811 GB, free: 25.26 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001444/11.13, allocations: 1.054 MB / 3.812 GB, free: 24.74 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001206/11.13, allocations: 104.2 kB / 3.812 GB, free: 24.73 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001052/11.13, allocations: 44.94 kB / 3.812 GB, free: 24.73 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 () * 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.0003382/11.13, allocations: 156 kB / 3.812 GB, free: 24.62 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003611/11.13, allocations: 85.97 kB / 3.812 GB, free: 24.57 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005111/11.14, allocations: 3.237 MB / 3.815 GB, free: 24.2 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.493e-05/11.14, allocations: 36.52 kB / 3.815 GB, free: 24.2 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.09e-05/11.14, allocations: 7.672 kB / 3.815 GB, free: 24.2 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003498/11.14, allocations: 2.685 MB / 3.818 GB, free: 23.68 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007238/11.15, allocations: 4.486 MB / 3.822 GB, free: 23.24 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.036e-05/11.15, allocations: 0 / 3.822 GB, free: 23.24 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001294/11.15, allocations: 185.2 kB / 3.822 GB, free: 23.23 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005064/11.15, allocations: 85.77 kB / 3.822 GB, free: 23.23 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.74e-05/11.15, allocations: 22.22 kB / 3.822 GB, free: 23.23 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004457/11.15, allocations: 0.6452 MB / 3.823 GB, free: 22.71 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/11.15, allocations: 2.156 kB / 3.823 GB, free: 22.71 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004464/11.15, allocations: 2.746 MB / 3.826 GB, free: 22.23 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001085/11.15, allocations: 458.2 kB / 3.826 GB, free: 22.01 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000255/11.15, allocations: 18.34 kB / 3.826 GB, free: 22.01 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00135/11.16, allocations: 88.09 kB / 3.826 GB, free: 22.01 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002011/11.16, allocations: 64.38 kB / 3.826 GB, free: 22 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.2e-05/11.16, allocations: 29.56 kB / 3.826 GB, free: 22 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001542/11.16, allocations: 0.7899 MB / 3.827 GB, free: 21.89 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5.61e-07/11.16, allocations: 0 / 3.827 GB, free: 21.89 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.008322/11.17, allocations: 1.734 MB / 3.829 GB, free: 21.62 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 () * 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.01219/11.18, allocations: 1.975 MB / 3.831 GB, free: 21.15 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.004023/11.18, allocations: 1.652 MB / 3.832 GB, free: 21.12 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.815e-06/11.18, allocations: 0 / 3.832 GB, free: 21.12 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001721/11.18, allocations: 0.8362 MB / 3.833 GB, free: 21.11 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004159/11.19, allocations: 471.4 kB / 3.834 GB, free: 21.09 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005118/11.19, allocations: 2.421 MB / 3.836 GB, free: 20.46 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008762/11.19, allocations: 1.328 MB / 3.837 GB, free: 19.73 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005108/11.19, allocations: 94.95 kB / 3.837 GB, free: 19.71 MB / 0.5105 GB Notification: Performance of SimCode: time 1.292e-06/11.19, allocations: 0 / 3.837 GB, free: 19.71 MB / 0.5105 GB Notification: Performance of Templates: time 0.0895/11.28, allocations: 45.92 MB / 3.882 GB, free: 15.77 MB / 0.5105 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