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.001195/0.001195, allocations: 180.9 kB / 17.41 MB, free: 4.289 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.353/1.353, allocations: 205.4 MB / 223.6 MB, free: 9.023 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.0007775/0.0007775, allocations: 86.38 kB / 271.9 MB, free: 8.254 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.3168/0.3168, allocations: 43.56 MB / 363.7 MB, free: 52.13 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003551/0.0003553, allocations: 12 kB / 432.6 MB, free: 5.875 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1228/0.1231, allocations: 58.85 MB / 491.4 MB, free: 10.95 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.395/5.518, allocations: 2.825 GB / 3.305 GB, free: 151 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002575/5.519, allocations: 82.8 kB / 3.305 GB, free: 150.9 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.271/6.789, allocations: 440.4 MB / 3.735 GB, free: 57.24 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.423e-06/6.789, allocations: 0 / 3.735 GB, free: 57.24 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 7.075e-05/6.789, allocations: 31.62 kB / 3.735 GB, free: 57.23 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.007555/6.797, allocations: 2.24 MB / 3.737 GB, free: 56.12 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.787e-05/6.797, allocations: 7.781 kB / 3.737 GB, free: 56.12 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002626/6.8, allocations: 378.5 kB / 3.738 GB, free: 56.07 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01453/6.814, allocations: 8.593 MB / 3.746 GB, free: 55.38 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.681e-05/6.814, allocations: 67.98 kB / 3.746 GB, free: 55.36 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001665/6.814, allocations: 78.81 kB / 3.746 GB, free: 55.33 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003027/6.818, allocations: 1.49 MB / 3.748 GB, free: 54.71 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.084e-05/6.818, allocations: 7.5 kB / 3.748 GB, free: 54.7 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.988e-05/6.818, allocations: 39.69 kB / 3.748 GB, free: 54.68 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.86e-05/6.818, allocations: 57.33 kB / 3.748 GB, free: 54.67 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002958/6.821, allocations: 1.341 MB / 3.749 GB, free: 54.33 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.006709/6.827, allocations: 6.545 MB / 3.755 GB, free: 49.29 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002463/6.83, allocations: 1.027 MB / 3.756 GB, free: 48.96 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007507/6.831, allocations: 459.8 kB / 3.757 GB, free: 48.8 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05039/6.881, allocations: 32 MB / 3.788 GB, free: 28.05 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.187e-05/6.881, allocations: 46.28 kB / 3.788 GB, free: 28.01 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=57): time 2.976e-06/6.881, allocations: 3.938 kB / 3.788 GB, free: 28 MB / 0.5105 GB Notification: Performance of matching and sorting (n=61): time 0.008588/6.89, allocations: 3.357 MB / 3.791 GB, free: 26.62 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.316e-05/6.89, allocations: 191.8 kB / 3.792 GB, free: 26.4 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008584/6.891, allocations: 0.7186 MB / 3.792 GB, free: 26.09 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 6.985e-05/6.891, allocations: 37.3 kB / 3.792 GB, free: 26.05 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002099/6.891, allocations: 414.9 kB / 3.793 GB, free: 25.73 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001472/6.891, allocations: 217.7 kB / 3.793 GB, free: 25.56 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.977e-05/6.891, allocations: 15.91 kB / 3.793 GB, free: 25.55 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001013/6.891, allocations: 387.8 kB / 3.793 GB, free: 25.21 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007832/6.892, allocations: 421.5 kB / 3.794 GB, free: 25.07 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008549/6.893, allocations: 0.6315 MB / 3.794 GB, free: 24.68 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001574/6.895, allocations: 1.032 MB / 3.795 GB, free: 24.12 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/6.895, allocations: 0 / 3.795 GB, free: 24.12 MB / 0.5105 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002429/6.897, allocations: 1.361 MB / 3.797 GB, free: 23.61 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001042/6.897, allocations: 262.2 kB / 3.797 GB, free: 23.29 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.073e-05/6.897, allocations: 7.25 kB / 3.797 GB, free: 23.29 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002987/6.9, allocations: 0.6933 MB / 3.798 GB, free: 23.18 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005724/6.901, allocations: 157.3 kB / 3.798 GB, free: 23.16 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001395/6.902, allocations: 1.313 MB / 3.799 GB, free: 22.36 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009195/6.903, allocations: 107.8 kB / 3.799 GB, free: 22.34 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.328e-05/6.903, allocations: 41.86 kB / 3.799 GB, free: 22.33 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 8.185e-06/6.903, allocations: 3.812 kB / 3.799 GB, free: 22.33 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002367/6.906, allocations: 1.231 MB / 3.8 GB, free: 21.91 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.196e-05/6.906, allocations: 14.38 kB / 3.8 GB, free: 21.9 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001628/6.907, allocations: 423.4 kB / 3.801 GB, free: 21.82 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006042/6.908, allocations: 178.1 kB / 3.801 GB, free: 21.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001107/6.909, allocations: 1.112 MB / 3.802 GB, free: 21.07 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009121/6.91, allocations: 102.1 kB / 3.802 GB, free: 21.05 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.776e-05/6.91, allocations: 40.14 kB / 3.802 GB, free: 21.04 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.0005643/6.911, allocations: 377.1 kB / 3.802 GB, free: 20.76 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000222/6.911, allocations: 82.59 kB / 3.803 GB, free: 20.72 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003846/6.915, allocations: 3.343 MB / 3.806 GB, free: 19.26 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.781e-05/6.915, allocations: 35.7 kB / 3.806 GB, free: 19.25 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.333e-06/6.915, allocations: 3.438 kB / 3.806 GB, free: 19.25 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002727/6.917, allocations: 2.803 MB / 3.809 GB, free: 17.85 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00544/6.923, allocations: 4.584 MB / 3.813 GB, free: 15.82 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.115e-06/6.923, allocations: 6.969 kB / 3.813 GB, free: 15.82 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000643/6.924, allocations: 176.8 kB / 3.813 GB, free: 15.8 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003707/6.924, allocations: 99.11 kB / 3.813 GB, free: 15.77 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.182e-05/6.924, allocations: 26.3 kB / 3.813 GB, free: 15.76 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003/6.924, allocations: 0.645 MB / 3.814 GB, free: 15.18 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/6.924, allocations: 0 / 3.814 GB, free: 15.18 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003485/6.928, allocations: 2.934 MB / 3.817 GB, free: 13.82 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00067/6.929, allocations: 459.5 kB / 3.817 GB, free: 13.51 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001479/6.929, allocations: 15.58 kB / 3.817 GB, free: 13.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000698/6.929, allocations: 96.27 kB / 3.817 GB, free: 13.47 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001392/6.93, allocations: 68.12 kB / 3.817 GB, free: 13.46 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.002e-05/6.93, allocations: 29.69 kB / 3.818 GB, free: 13.45 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0009277/6.931, allocations: 0.795 MB / 3.818 GB, free: 13.12 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.3e-07/6.931, allocations: 0 / 3.818 GB, free: 13.12 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.00592/6.937, allocations: 1.681 MB / 3.82 GB, free: 12.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 () * 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.008439/6.945, allocations: 1.884 MB / 3.822 GB, free: 11.14 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.003489/6.949, allocations: 1.872 MB / 3.824 GB, free: 9.531 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/6.949, allocations: 0 / 3.824 GB, free: 9.531 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001148/6.95, allocations: 0.8978 MB / 3.824 GB, free: 8.734 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002563/6.952, allocations: 471.6 kB / 3.825 GB, free: 8.398 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004027/6.956, allocations: 3.793 MB / 3.829 GB, free: 4.941 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005737/6.957, allocations: 1.3 MB / 3.83 GB, free: 3.805 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003093/6.957, allocations: 86.47 kB / 3.83 GB, free: 3.727 MB / 0.5105 GB Notification: Performance of SimCode: time 9.62e-07/6.957, allocations: 0 / 3.83 GB, free: 3.727 MB / 0.5105 GB Notification: Performance of Templates: time 0.2987/7.256, allocations: 42.93 MB / 3.872 GB, free: 57.7 MB / 0.5261 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