Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.LumpedPipeInitialization.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.LumpedPipeInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pipe.volume.medium.h|pipe.volume.medium.p|m_flow_initial",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.LumpedPipeInitialization") translateModel(ModelicaTest.Fluid.TestPipesAndValves.LumpedPipeInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pipe.volume.medium.h|pipe.volume.medium.p|m_flow_initial",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.LumpedPipeInitialization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001715/0.001715, allocations: 184.7 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 1.594/1.594, allocations: 205.4 MB / 221.9 MB, free: 13.85 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.001175/0.001175, allocations: 94.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.199/0.199, allocations: 43.56 MB / 362.1 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003387/0.0003387, allocations: 15.98 kB / 431.4 MB, free: 19.61 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1186/0.119, allocations: 58.85 MB / 490.2 MB, free: 8.688 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.627/5.746, allocations: 2.822 GB / 3.301 GB, free: 15.18 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002844/5.746, allocations: 79.53 kB / 3.301 GB, free: 15.14 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.675/8.421, allocations: 0.7464 GB / 4.047 GB, free: 48.69 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.885e-06/8.421, allocations: 0 / 4.047 GB, free: 48.69 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0001084/8.421, allocations: 35.86 kB / 4.047 GB, free: 48.69 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 247 * Number of variables: 247 Notification: Performance of Generate backend data structure: time 0.0109/8.432, allocations: 2.908 MB / 4.05 GB, free: 47.19 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.283e-05/8.432, allocations: 10.34 kB / 4.05 GB, free: 47.19 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003206/8.435, allocations: 483.1 kB / 4.05 GB, free: 47.12 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002655/8.438, allocations: 1.143 MB / 4.052 GB, free: 46.77 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001373/8.438, allocations: 143.3 kB / 4.052 GB, free: 46.7 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001657/8.438, allocations: 93.25 kB / 4.052 GB, free: 46.7 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003382/8.442, allocations: 1.893 MB / 4.054 GB, free: 46.34 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.671e-05/8.442, allocations: 7.844 kB / 4.054 GB, free: 46.34 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001235/8.442, allocations: 42.44 kB / 4.054 GB, free: 46.34 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.36e-05/8.442, allocations: 77.2 kB / 4.054 GB, free: 46.34 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00338/8.445, allocations: 1.777 MB / 4.055 GB, free: 46.15 MB / 0.5261 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.009727/8.455, allocations: 8.552 MB / 4.064 GB, free: 39.72 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002847/8.458, allocations: 1.4 MB / 4.065 GB, free: 39.07 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1104/8.568, allocations: 63.26 MB / 4.127 GB, free: 10.28 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00259/8.571, allocations: 0.8935 MB / 4.128 GB, free: 9.543 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=82): time 4.188e-06/8.571, allocations: 4 kB / 4.128 GB, free: 9.539 MB / 0.5417 GB Notification: Performance of matching and sorting (n=86): time 0.01369/8.585, allocations: 4.622 MB / 4.132 GB, free: 5.363 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003211/8.585, allocations: 406.3 kB / 4.133 GB, free: 4.875 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002011/8.587, allocations: 0.9333 MB / 4.134 GB, free: 4.055 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0001578/8.587, allocations: 45.7 kB / 4.134 GB, free: 4.004 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005904/8.588, allocations: 0.5597 MB / 4.134 GB, free: 3.488 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004124/8.588, allocations: 309 kB / 4.135 GB, free: 3.219 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.786e-05/8.588, allocations: 24 kB / 4.135 GB, free: 3.195 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0002128/8.589, allocations: 357.4 kB / 4.135 GB, free: 2.855 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00127/8.59, allocations: 0.5355 MB / 4.135 GB, free: 2.391 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001556/8.592, allocations: 1.01 MB / 4.136 GB, free: 1.262 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001475/8.593, allocations: 0.7014 MB / 4.137 GB, free: 0.6133 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.219e-05/8.593, allocations: 4 kB / 4.137 GB, free: 0.6094 MB / 0.5417 GB Notification: Performance of matching and sorting (n=160) (initialization): time 0.3406/8.934, allocations: 1.929 MB / 4.139 GB, free: 64.53 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009461/8.935, allocations: 5.402 MB / 4.144 GB, free: 58.93 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.099e-05/8.935, allocations: 13.56 kB / 4.144 GB, free: 58.93 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006032/8.941, allocations: 1.134 MB / 4.145 GB, free: 58.91 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009493/8.942, allocations: 249.2 kB / 4.146 GB, free: 58.91 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001914/8.944, allocations: 1.497 MB / 4.147 GB, free: 58.39 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001568/8.945, allocations: 133 kB / 4.147 GB, free: 58.39 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001132/8.945, allocations: 71.52 kB / 4.147 GB, free: 58.39 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.052e-05/8.945, allocations: 3.875 kB / 4.147 GB, free: 58.39 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003093/8.948, allocations: 1.675 MB / 4.149 GB, free: 58.36 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.6e-05/8.948, allocations: 15.72 kB / 4.149 GB, free: 58.36 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001485/8.95, allocations: 379.3 kB / 4.149 GB, free: 58.35 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009511/8.951, allocations: 281.9 kB / 4.15 GB, free: 58.35 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001054/8.952, allocations: 1.059 MB / 4.151 GB, free: 57.83 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001275/8.953, allocations: 123.4 kB / 4.151 GB, free: 57.83 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001324/8.953, allocations: 68.56 kB / 4.151 GB, free: 57.83 MB / 0.5417 GB Warning: Assuming fixed start value for the following 1 variables: m_flow_initial:DISCRETE(unit = "kg/s" fixed = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 62 * Number of states: 0 () * Number of discrete variables: 19 (source.medium.phase,$PRE.m_flow_initial,m_flow_initial,$whenCondition2,$whenCondition1,valve.state_b.phase,valve.state_a.phase,pipe.staticPipe2.flowModel.states[2].phase,pipe.staticPipe2.flowModel.states[1].phase,pipe.staticPipe1.flowModel.states[2].phase,pipe.staticPipe1.flowModel.states[1].phase,pipe.volume.regularFlow[1],pipe.volume.regularFlow[2],pipe.volume.inFlow[2],pipe.volume.inFlow[1],pipe.volume.heatTransfer.states[1].phase,sink.state.phase,sink.medium.phase,source.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (123): * Single equations (assignments): 122 * 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 {3 35} Notification: Performance of prepare postOptimizeDAE: time 0.0009405/8.954, allocations: 471.3 kB / 4.151 GB, free: 57.64 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002451/8.955, allocations: 130 kB / 4.151 GB, free: 57.64 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005979/8.961, allocations: 4.066 MB / 4.155 GB, free: 57.37 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.181e-05/8.961, allocations: 46.05 kB / 4.155 GB, free: 57.37 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.865e-06/8.961, allocations: 2.25 kB / 4.155 GB, free: 57.37 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.293e-05/8.961, allocations: 4.969 kB / 4.155 GB, free: 57.37 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007764/8.968, allocations: 5.546 MB / 4.161 GB, free: 56.79 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.739e-06/8.969, allocations: 2.844 kB / 4.161 GB, free: 56.79 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007161/8.969, allocations: 173.2 kB / 4.161 GB, free: 56.79 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007007/8.976, allocations: 1.557 MB / 4.162 GB, free: 56.74 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001406/8.976, allocations: 31.72 kB / 4.162 GB, free: 56.74 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001751/8.978, allocations: 2.093 MB / 4.165 GB, free: 55.68 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/8.978, allocations: 4.031 kB / 4.165 GB, free: 55.68 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00518/8.983, allocations: 3.989 MB / 4.168 GB, free: 55.09 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001305/8.985, allocations: 0.5318 MB / 4.169 GB, free: 54.89 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000233/8.985, allocations: 20.72 kB / 4.169 GB, free: 54.89 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009433/8.986, allocations: 100.7 kB / 4.169 GB, free: 54.89 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001659/8.986, allocations: 82.92 kB / 4.169 GB, free: 54.89 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.371e-05/8.986, allocations: 37.3 kB / 4.169 GB, free: 54.89 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001687/8.988, allocations: 1.052 MB / 4.17 GB, free: 54.78 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.3e-07/8.988, allocations: 0 / 4.17 GB, free: 54.78 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.00905/8.997, allocations: 2.065 MB / 4.172 GB, free: 54.78 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (pipe.volume.medium.p,pipe.volume.medium.h) * Number of discrete variables: 25 ($cse6.region3boundary,$cse7.region3boundary,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse19.phase,$cse19.region,$cse23.phase,$cse23.region,$cse24.phase,$cse24.region,$whenCondition2,$whenCondition1,pipe.volume.heatTransfer.states[1].phase,m_flow_initial,$cse3.phase,$cse3.region,source.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 20} Notification: Performance of Backend phase and start with SimCode phase: time 0.009769/9.007, allocations: 2.354 MB / 4.175 GB, free: 54.57 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.004778/9.011, allocations: 2.469 MB / 4.177 GB, free: 54.52 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 7.404e-06/9.012, allocations: 0.5625 kB / 4.177 GB, free: 54.52 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.001418/9.013, allocations: 1.049 MB / 4.178 GB, free: 54.51 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003352/9.016, allocations: 0.6255 MB / 4.179 GB, free: 54.5 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005354/9.022, allocations: 4.421 MB / 4.183 GB, free: 52.66 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007431/9.022, allocations: 1.486 MB / 4.184 GB, free: 51.94 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.001901/9.024, allocations: 0.9855 MB / 4.185 GB, free: 51.93 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002676/9.025, allocations: 105.7 kB / 4.185 GB, free: 51.92 MB / 0.5417 GB Notification: Performance of SimCode: time 1.011e-06/9.025, allocations: 0 / 4.185 GB, free: 51.92 MB / 0.5417 GB Notification: Performance of Templates: time 0.09795/9.123, allocations: 64.77 MB / 4.249 GB, free: 49.19 MB / 0.5417 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.LumpedPipeInitialization.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.LumpedPipeInitialization.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.LumpedPipeInitialization.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.LumpedPipeInitialization.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.LumpedPipeInitialization.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.LumpedPipeInitialization -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.LumpedPipeInitialization.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.LumpedPipeInitialization_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestPipesAndValves/LumpedPipeInitialization/LumpedPipeInitialization.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.LumpedPipeInitialization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches