Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestPipesAndValves.LumpedPipeInitialization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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_4.0.0_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_4.0.0_ModelicaTest.Fluid.TestPipesAndValves.LumpedPipeInitialization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008916/0.0008917, allocations: 178.6 kB / 18.09 MB, free: 3.754 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.223/1.223, allocations: 223.3 MB / 242.1 MB, free: 11.68 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007779/0.0007779, allocations: 113.1 kB / 293.3 MB, free: 10.75 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2914/0.2914, allocations: 44.14 MB / 388.5 MB, free: 39 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003681/0.0003683, allocations: 12 kB / 461.1 MB, free: 1.559 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2754/0.2758, allocations: 61.88 MB / 0.5107 GB, free: 37.94 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.68/4.956, allocations: 2.827 GB / 3.338 GB, free: 23.05 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001894/4.956, allocations: 88.47 kB / 3.338 GB, free: 22.97 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.589/7.545, allocations: 0.703 GB / 4.041 GB, free: 44.21 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.054e-06/7.545, allocations: 0 / 4.041 GB, free: 44.21 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0002037/7.545, allocations: 37.2 kB / 4.041 GB, free: 44.21 MB / 0.5417 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.01214/7.557, allocations: 2.897 MB / 4.044 GB, free: 42.91 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.573e-05/7.557, allocations: 12.41 kB / 4.044 GB, free: 42.9 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003675/7.561, allocations: 479 kB / 4.044 GB, free: 42.83 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02984/7.591, allocations: 15.39 MB / 4.059 GB, free: 42.38 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002541/7.591, allocations: 148.2 kB / 4.059 GB, free: 42.32 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000568/7.592, allocations: 99.67 kB / 4.06 GB, free: 42.31 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005254/7.597, allocations: 1.901 MB / 4.061 GB, free: 41.96 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.599e-05/7.597, allocations: 5.469 kB / 4.061 GB, free: 41.96 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003213/7.597, allocations: 45 kB / 4.061 GB, free: 41.96 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001179/7.597, allocations: 79.94 kB / 4.062 GB, free: 41.96 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004314/7.602, allocations: 1.776 MB / 4.063 GB, free: 41.96 MB / 0.5417 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.01251/7.614, allocations: 8.533 MB / 4.072 GB, free: 37.04 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003047/7.617, allocations: 1.404 MB / 4.073 GB, free: 36.73 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008868/7.618, allocations: 0.5194 MB / 4.073 GB, free: 36.69 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1131/7.731, allocations: 63.28 MB / 4.135 GB, free: 29.07 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002558/7.734, allocations: 0.8927 MB / 4.136 GB, free: 28.93 MB / 0.573 GB Notification: Performance of pre-optimization done (n=82): time 5.952e-06/7.734, allocations: 6.422 kB / 4.136 GB, free: 28.93 MB / 0.573 GB Notification: Performance of matching and sorting (n=86): time 0.0125/7.747, allocations: 4.651 MB / 4.141 GB, free: 27.68 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002085/7.747, allocations: 398.6 kB / 4.141 GB, free: 27.21 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001623/7.748, allocations: 1.045 MB / 4.142 GB, free: 27.05 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0001127/7.749, allocations: 44.17 kB / 4.142 GB, free: 27.02 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004482/7.749, allocations: 0.5655 MB / 4.143 GB, free: 26.76 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002601/7.749, allocations: 304.4 kB / 4.143 GB, free: 26.57 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.108e-05/7.749, allocations: 24.91 kB / 4.143 GB, free: 26.57 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001681/7.75, allocations: 363.5 kB / 4.143 GB, free: 26.26 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001025/7.751, allocations: 0.5323 MB / 4.144 GB, free: 26.26 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001188/7.752, allocations: 1.021 MB / 4.145 GB, free: 25.67 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00215/7.754, allocations: 1.542 MB / 4.146 GB, free: 25.13 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.09e-05/7.754, allocations: 3.781 kB / 4.146 GB, free: 25.13 MB / 0.573 GB Notification: Performance of matching and sorting (n=160) (initialization): time 0.003484/7.758, allocations: 1.941 MB / 4.148 GB, free: 24.98 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003072/7.758, allocations: 496.8 kB / 4.149 GB, free: 24.39 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.73e-05/7.758, allocations: 12.91 kB / 4.149 GB, free: 24.39 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00528/7.763, allocations: 1.142 MB / 4.15 GB, free: 24.35 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008886/7.764, allocations: 246.4 kB / 4.15 GB, free: 24.34 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002012/7.766, allocations: 1.498 MB / 4.152 GB, free: 23.8 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00145/7.768, allocations: 130.6 kB / 4.152 GB, free: 23.79 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001709/7.768, allocations: 69.62 kB / 4.152 GB, free: 23.79 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 9.929e-06/7.768, allocations: 3.844 kB / 4.152 GB, free: 23.79 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0032/7.771, allocations: 1.676 MB / 4.153 GB, free: 23.73 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.253e-05/7.771, allocations: 19.12 kB / 4.153 GB, free: 23.73 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001367/7.772, allocations: 378.1 kB / 4.154 GB, free: 23.71 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009371/7.773, allocations: 288.3 kB / 4.154 GB, free: 23.7 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00122/7.775, allocations: 1.066 MB / 4.155 GB, free: 23.16 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001306/7.776, allocations: 120.9 kB / 4.155 GB, free: 23.16 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001397/7.776, allocations: 70.67 kB / 4.155 GB, free: 23.15 MB / 0.573 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.001004/7.777, allocations: 475.7 kB / 4.156 GB, free: 22.94 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003007/7.777, allocations: 119.1 kB / 4.156 GB, free: 22.88 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005303/7.783, allocations: 4.069 MB / 4.16 GB, free: 21.94 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.561e-05/7.783, allocations: 48.86 kB / 4.16 GB, free: 21.92 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.16e-05/7.783, allocations: 3.469 kB / 4.16 GB, free: 21.92 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.346e-05/7.783, allocations: 7.266 kB / 4.16 GB, free: 21.92 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007093/7.79, allocations: 5.549 MB / 4.165 GB, free: 19.25 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.056e-05/7.79, allocations: 0 / 4.165 GB, free: 19.25 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006529/7.791, allocations: 177.2 kB / 4.165 GB, free: 19.24 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005609/7.796, allocations: 1.554 MB / 4.167 GB, free: 18.68 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001437/7.796, allocations: 35.5 kB / 4.167 GB, free: 18.64 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001796/7.798, allocations: 2.085 MB / 4.169 GB, free: 16.62 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.121e-06/7.798, allocations: 11.91 kB / 4.169 GB, free: 16.61 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005136/7.803, allocations: 3.888 MB / 4.173 GB, free: 12.98 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001191/7.805, allocations: 0.5247 MB / 4.173 GB, free: 12.52 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004672/7.805, allocations: 24 kB / 4.173 GB, free: 12.5 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00121/7.806, allocations: 101.8 kB / 4.174 GB, free: 12.41 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001895/7.806, allocations: 78.3 kB / 4.174 GB, free: 12.36 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.109e-05/7.807, allocations: 35.7 kB / 4.174 GB, free: 12.33 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.001929/7.808, allocations: 1.049 MB / 4.175 GB, free: 11.44 MB / 0.573 GB Notification: Performance of sort global known variables: time 2.9e-07/7.808, allocations: 0 / 4.175 GB, free: 11.44 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.01039/7.819, allocations: 2.002 MB / 4.177 GB, free: 9.48 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.01278/7.832, allocations: 2.29 MB / 4.179 GB, free: 7.727 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.005842/7.838, allocations: 2.472 MB / 4.181 GB, free: 5.539 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 9.167e-06/7.838, allocations: 0 / 4.181 GB, free: 5.539 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.00197/7.84, allocations: 1.056 MB / 4.182 GB, free: 4.574 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004441/7.844, allocations: 0.6461 MB / 4.183 GB, free: 4.109 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007646/7.852, allocations: 4.412 MB / 4.187 GB, free: 44 kB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.31/8.162, allocations: 1.448 MB / 4.189 GB, free: 70.86 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.002314/8.164, allocations: 0.982 MB / 4.19 GB, free: 70.85 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002798/8.164, allocations: 106.3 kB / 4.19 GB, free: 70.84 MB / 0.573 GB Notification: Performance of SimCode: time 1.072e-06/8.164, allocations: 0 / 4.19 GB, free: 70.84 MB / 0.573 GB Notification: Performance of Templates: time 0.1024/8.267, allocations: 66.8 MB / 4.255 GB, free: 69.65 MB / 0.573 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestPipesAndValves.LumpedPipeInitialization.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestPipesAndValves.LumpedPipeInitialization.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestPipesAndValves.LumpedPipeInitialization.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestPipesAndValves.LumpedPipeInitialization.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestPipesAndValves.LumpedPipeInitialization.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestPipesAndValves.LumpedPipeInitialization -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestPipesAndValves.LumpedPipeInitialization.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestPipesAndValves.LumpedPipeInitialization_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestPipesAndValves/LumpedPipeInitialization/LumpedPipeInitialization.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestPipesAndValves.LumpedPipeInitialization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches