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.0008986/0.0008987, allocations: 172.2 kB / 16.76 MB, free: 5.059 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.352/1.352, allocations: 205.4 MB / 222.9 MB, free: 8.953 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.0008015/0.0008015, allocations: 94.34 kB / 271.3 MB, free: 8.242 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.3344/0.3344, allocations: 43.56 MB / 363.1 MB, free: 51.81 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003772/0.0003772, allocations: 20 kB / 432.6 MB, free: 4.984 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1171/0.1175, allocations: 58.84 MB / 491.5 MB, free: 10.05 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.015/5.133, allocations: 2.822 GB / 3.302 GB, free: 47.15 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002423/5.133, allocations: 83.95 kB / 3.302 GB, free: 47.07 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.247/7.38, allocations: 0.6956 GB / 3.998 GB, free: 38.1 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.442e-06/7.38, allocations: 0 / 3.998 GB, free: 38.1 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0001657/7.38, allocations: 33.69 kB / 3.998 GB, free: 38.1 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.01075/7.391, allocations: 2.902 MB / 4.001 GB, free: 36.93 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.717e-05/7.391, allocations: 10.06 kB / 4.001 GB, free: 36.93 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003313/7.394, allocations: 478.6 kB / 4.001 GB, free: 36.86 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02399/7.418, allocations: 15.34 MB / 4.016 GB, free: 36.42 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002083/7.419, allocations: 150.6 kB / 4.016 GB, free: 36.36 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004382/7.419, allocations: 98.83 kB / 4.016 GB, free: 36.36 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004783/7.424, allocations: 1.898 MB / 4.018 GB, free: 36.01 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.384e-05/7.424, allocations: 5.719 kB / 4.018 GB, free: 36.01 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001974/7.424, allocations: 43.12 kB / 4.018 GB, free: 36.01 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001348/7.424, allocations: 76.92 kB / 4.018 GB, free: 36.01 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003998/7.428, allocations: 1.779 MB / 4.02 GB, free: 36 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.01097/7.439, allocations: 8.523 MB / 4.029 GB, free: 31.12 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002998/7.442, allocations: 1.41 MB / 4.03 GB, free: 30.8 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008714/7.443, allocations: 0.5301 MB / 4.03 GB, free: 30.76 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1072/7.55, allocations: 63.27 MB / 4.092 GB, free: 23.16 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002628/7.553, allocations: 0.8923 MB / 4.093 GB, free: 23.02 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=82): time 4.799e-06/7.553, allocations: 0 / 4.093 GB, free: 23.02 MB / 0.5573 GB Notification: Performance of matching and sorting (n=86): time 0.01333/7.566, allocations: 4.642 MB / 4.098 GB, free: 21.78 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001845/7.567, allocations: 413.8 kB / 4.098 GB, free: 21.31 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001733/7.568, allocations: 1.042 MB / 4.099 GB, free: 21.14 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0001602/7.569, allocations: 42.3 kB / 4.099 GB, free: 21.11 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004683/7.569, allocations: 0.5705 MB / 4.1 GB, free: 20.85 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003126/7.569, allocations: 297.8 kB / 4.1 GB, free: 20.67 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.929e-05/7.569, allocations: 22.66 kB / 4.1 GB, free: 20.67 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001585/7.57, allocations: 358.3 kB / 4.1 GB, free: 20.36 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001043/7.571, allocations: 0.5359 MB / 4.101 GB, free: 20.36 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001244/7.572, allocations: 1.016 MB / 4.102 GB, free: 19.78 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002192/7.574, allocations: 1.547 MB / 4.103 GB, free: 19.23 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.318e-05/7.574, allocations: 2.875 kB / 4.103 GB, free: 19.23 MB / 0.5573 GB Notification: Performance of matching and sorting (n=160) (initialization): time 0.003661/7.578, allocations: 1.941 MB / 4.105 GB, free: 19.08 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002952/7.578, allocations: 0.4891 MB / 4.106 GB, free: 18.49 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.61e-05/7.578, allocations: 13.78 kB / 4.106 GB, free: 18.49 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005426/7.584, allocations: 1.127 MB / 4.107 GB, free: 18.45 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008991/7.585, allocations: 247.5 kB / 4.107 GB, free: 18.45 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002187/7.587, allocations: 1.516 MB / 4.108 GB, free: 17.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001586/7.588, allocations: 125.1 kB / 4.109 GB, free: 17.88 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001721/7.589, allocations: 70.77 kB / 4.109 GB, free: 17.88 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.039e-05/7.589, allocations: 8.906 kB / 4.109 GB, free: 17.88 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00325/7.592, allocations: 1.673 MB / 4.11 GB, free: 17.82 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.223e-05/7.592, allocations: 22.47 kB / 4.11 GB, free: 17.82 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001361/7.593, allocations: 378.9 kB / 4.111 GB, free: 17.8 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009203/7.594, allocations: 280 kB / 4.111 GB, free: 17.8 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001255/7.595, allocations: 1.06 MB / 4.112 GB, free: 17.27 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001331/7.597, allocations: 130.3 kB / 4.112 GB, free: 17.25 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001217/7.597, allocations: 68.91 kB / 4.112 GB, free: 17.25 MB / 0.5573 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.0008723/7.598, allocations: 468.6 kB / 4.113 GB, free: 17.05 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002785/7.598, allocations: 121.7 kB / 4.113 GB, free: 16.99 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004781/7.603, allocations: 4.061 MB / 4.117 GB, free: 16.54 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.45e-05/7.603, allocations: 47.97 kB / 4.117 GB, free: 16.54 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.238e-06/7.603, allocations: 3.625 kB / 4.117 GB, free: 16.54 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.238e-05/7.603, allocations: 11.06 kB / 4.117 GB, free: 16.53 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006271/7.609, allocations: 5.533 MB / 4.122 GB, free: 15.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.247e-06/7.609, allocations: 3.312 kB / 4.122 GB, free: 15.9 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006132/7.61, allocations: 169.9 kB / 4.122 GB, free: 15.9 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005351/7.615, allocations: 1.56 MB / 4.124 GB, free: 15.81 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.755e-05/7.615, allocations: 24.94 kB / 4.124 GB, free: 15.81 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002088/7.617, allocations: 2.096 MB / 4.126 GB, free: 30.75 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/7.617, allocations: 3.938 kB / 4.126 GB, free: 30.75 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00436/7.622, allocations: 3.886 MB / 4.13 GB, free: 30.29 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008778/7.623, allocations: 0.5317 MB / 4.13 GB, free: 30.04 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000193/7.623, allocations: 26.19 kB / 4.13 GB, free: 30.04 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008517/7.624, allocations: 97.2 kB / 4.13 GB, free: 30.03 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001521/7.624, allocations: 78.61 kB / 4.13 GB, free: 30.03 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.163e-05/7.624, allocations: 33.55 kB / 4.13 GB, free: 30.03 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.001323/7.625, allocations: 1.048 MB / 4.132 GB, free: 29.92 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.172e-06/7.625, allocations: 7.656 kB / 4.132 GB, free: 29.91 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.007624/7.633, allocations: 1.999 MB / 4.133 GB, free: 29.62 MB / 0.573 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.008792/7.642, allocations: 2.282 MB / 4.136 GB, free: 29.07 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.004546/7.646, allocations: 2.47 MB / 4.138 GB, free: 29 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 6.963e-06/7.646, allocations: 7.812 kB / 4.138 GB, free: 29 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.001323/7.648, allocations: 1.044 MB / 4.139 GB, free: 28.98 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003445/7.651, allocations: 0.6405 MB / 4.14 GB, free: 28.95 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005129/7.656, allocations: 4.425 MB / 4.144 GB, free: 26.95 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000977/7.657, allocations: 1.444 MB / 4.146 GB, free: 26.17 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.002096/7.659, allocations: 0.9834 MB / 4.146 GB, free: 26.12 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002588/7.66, allocations: 112 kB / 4.147 GB, free: 26.11 MB / 0.573 GB Notification: Performance of SimCode: time 9.12e-07/7.66, allocations: 0 / 4.147 GB, free: 26.11 MB / 0.573 GB Notification: Performance of Templates: time 0.7724/8.432, allocations: 66.74 MB / 4.212 GB, free: 81.97 MB / 0.573 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/jenkins1/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