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.0008972/0.0008972, allocations: 182.8 kB / 13.19 MB, free: 2.129 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.163/1.163, allocations: 205.2 MB / 218.9 MB, free: 9.207 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.0008057/0.0008058, allocations: 91.83 kB / 267.1 MB, free: 9.277 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.2927/0.2927, allocations: 43.47 MB / 358.6 MB, free: 52.36 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.673e-05/2.675e-05, allocations: 0 / 425.3 MB, free: 8.891 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09665/0.09669, allocations: 58.85 MB / 484.1 MB, free: 13.94 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.175/6.272, allocations: 2.822 GB / 3.295 GB, free: 6.078 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002625/6.272, allocations: 77.12 kB / 3.295 GB, free: 6.043 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.707/8.979, allocations: 0.7446 GB / 4.039 GB, free: 27.67 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.563e-06/8.979, allocations: 0 / 4.039 GB, free: 27.67 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001027/8.979, allocations: 35.06 kB / 4.039 GB, free: 27.66 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: 247 * Number of variables: 247 Notification: Performance of Generate backend data structure: time 0.009683/8.989, allocations: 2.764 MB / 4.042 GB, free: 26.1 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.255e-05/8.989, allocations: 7.219 kB / 4.042 GB, free: 26.1 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003036/8.992, allocations: 475.8 kB / 4.042 GB, free: 25.98 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002298/8.994, allocations: 1.137 MB / 4.043 GB, free: 25.34 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001286/8.995, allocations: 142.1 kB / 4.044 GB, free: 25.25 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001672/8.995, allocations: 97.64 kB / 4.044 GB, free: 25.21 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003199/8.998, allocations: 1.886 MB / 4.046 GB, free: 24.32 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.697e-05/8.998, allocations: 3.938 kB / 4.046 GB, free: 24.32 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001231/8.998, allocations: 47.22 kB / 4.046 GB, free: 24.29 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.706e-05/8.998, allocations: 79.17 kB / 4.046 GB, free: 24.28 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002854/9.001, allocations: 1.714 MB / 4.047 GB, free: 23.68 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.009577/9.011, allocations: 8.553 MB / 4.056 GB, free: 17.21 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002495/9.013, allocations: 1.373 MB / 4.057 GB, free: 16.52 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005443/9.014, allocations: 468.2 kB / 4.057 GB, free: 16.29 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4628/9.477, allocations: 63.63 MB / 4.12 GB, free: 58.06 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002222/9.479, allocations: 0.8928 MB / 4.12 GB, free: 57.94 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=82): time 2.475e-06/9.479, allocations: 0 / 4.12 GB, free: 57.94 MB / 0.5417 GB Notification: Performance of matching and sorting (n=86): time 0.006863/9.486, allocations: 3.739 MB / 4.124 GB, free: 56.95 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.764e-05/9.486, allocations: 405 kB / 4.125 GB, free: 56.48 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001124/9.487, allocations: 0.926 MB / 4.125 GB, free: 56.32 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 7.118e-05/9.487, allocations: 45.36 kB / 4.125 GB, free: 56.29 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003419/9.487, allocations: 0.5662 MB / 4.126 GB, free: 56.07 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001951/9.488, allocations: 299.8 kB / 4.126 GB, free: 55.93 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.348e-05/9.488, allocations: 24 kB / 4.126 GB, free: 55.93 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 6.931e-05/9.488, allocations: 357.5 kB / 4.127 GB, free: 55.62 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006596/9.488, allocations: 476.1 kB / 4.127 GB, free: 55.62 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000816/9.489, allocations: 0.9411 MB / 4.128 GB, free: 55.07 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008125/9.49, allocations: 0.633 MB / 4.129 GB, free: 55.06 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.793e-06/9.49, allocations: 4.938 kB / 4.129 GB, free: 55.06 MB / 0.5417 GB Notification: Performance of matching and sorting (n=160) (initialization): time 0.002425/9.493, allocations: 1.771 MB / 4.13 GB, free: 54.95 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009044/9.493, allocations: 5.405 MB / 4.136 GB, free: 49.33 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.831e-05/9.493, allocations: 17.41 kB / 4.136 GB, free: 49.33 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005048/9.499, allocations: 1.074 MB / 4.137 GB, free: 49.32 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008128/9.499, allocations: 254.3 kB / 4.137 GB, free: 49.32 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001556/9.501, allocations: 1.449 MB / 4.138 GB, free: 48.77 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001459/9.502, allocations: 131.1 kB / 4.139 GB, free: 48.77 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001165/9.503, allocations: 69 kB / 4.139 GB, free: 48.77 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/9.503, allocations: 4.688 kB / 4.139 GB, free: 48.77 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002564/9.505, allocations: 1.525 MB / 4.14 GB, free: 48.74 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.158e-05/9.505, allocations: 15.84 kB / 4.14 GB, free: 48.74 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001198/9.506, allocations: 341.2 kB / 4.14 GB, free: 48.73 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009364/9.507, allocations: 280.4 kB / 4.141 GB, free: 48.73 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000999/9.508, allocations: 1.011 MB / 4.142 GB, free: 48.21 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00144/9.51, allocations: 127.5 kB / 4.142 GB, free: 48.2 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001078/9.51, allocations: 68.31 kB / 4.142 GB, free: 48.2 MB / 0.5417 GB Warning: Assuming fixed start value for the following 1 variables: m_flow_initial:DISCRETE(unit = "kg/s" fixed = false ) 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 () * 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.0004698/9.51, allocations: 214.6 kB / 4.142 GB, free: 48.09 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000203/9.511, allocations: 128.6 kB / 4.142 GB, free: 48.02 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004274/9.515, allocations: 3.96 MB / 4.146 GB, free: 47.68 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-05/9.515, allocations: 45.14 kB / 4.146 GB, free: 47.68 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/9.515, allocations: 0 / 4.146 GB, free: 47.68 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.259e-05/9.515, allocations: 9.938 kB / 4.146 GB, free: 47.68 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005697/9.521, allocations: 5.481 MB / 4.151 GB, free: 47.1 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.583e-06/9.521, allocations: 0 / 4.151 GB, free: 47.1 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000627/9.521, allocations: 175.8 kB / 4.152 GB, free: 47.1 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005626/9.527, allocations: 1.802 MB / 4.153 GB, free: 47.05 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.24e-05/9.527, allocations: 28.14 kB / 4.153 GB, free: 47.05 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001365/9.528, allocations: 2.09 MB / 4.155 GB, free: 45.98 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/9.528, allocations: 2.094 kB / 4.155 GB, free: 45.98 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005199/9.534, allocations: 3.814 MB / 4.159 GB, free: 45.4 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001139/9.535, allocations: 0.5308 MB / 4.16 GB, free: 45.19 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001973/9.535, allocations: 23.12 kB / 4.16 GB, free: 45.19 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008943/9.536, allocations: 96.23 kB / 4.16 GB, free: 45.18 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002109/9.536, allocations: 83.78 kB / 4.16 GB, free: 45.18 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.468e-05/9.536, allocations: 34.55 kB / 4.16 GB, free: 45.18 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001496/9.538, allocations: 1.037 MB / 4.161 GB, free: 45.06 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.6e-07/9.538, allocations: 0 / 4.161 GB, free: 45.06 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.009056/9.547, allocations: 2.054 MB / 4.163 GB, free: 44.96 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 () * 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.01091/9.558, allocations: 2.358 MB / 4.165 GB, free: 44.72 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.004602/9.562, allocations: 2.304 MB / 4.167 GB, free: 44.68 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 8.155e-06/9.562, allocations: 1.062 kB / 4.167 GB, free: 44.68 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.001369/9.564, allocations: 0.9873 MB / 4.168 GB, free: 44.66 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003258/9.567, allocations: 0.6449 MB / 4.169 GB, free: 44.66 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003932/9.571, allocations: 2.852 MB / 4.172 GB, free: 44.02 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007446/9.572, allocations: 1.486 MB / 4.173 GB, free: 43.3 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.002237/9.574, allocations: 1.037 MB / 4.174 GB, free: 43.28 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002357/9.574, allocations: 92.62 kB / 4.174 GB, free: 43.27 MB / 0.5417 GB Notification: Performance of SimCode: time 1.603e-06/9.574, allocations: 1.031 kB / 4.174 GB, free: 43.27 MB / 0.5417 GB Notification: Performance of Templates: time 0.08689/9.661, allocations: 68.8 MB / 4.242 GB, free: 39.76 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