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.00145/0.00145, allocations: 179 kB / 14.15 MB, free: 1.176 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.356/1.356, allocations: 221.3 MB / 236 MB, free: 2.961 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008992/0.0008992, allocations: 99.59 kB / 287 MB, free: 248 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1845/0.1845, allocations: 44.16 MB / 382 MB, free: 14.69 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.546e-05/2.572e-05, allocations: 0 / 451.8 MB, free: 9.445 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1185/0.1186, allocations: 61.92 MB / 0.5017 GB, free: 11.47 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.851/5.969, allocations: 2.827 GB / 3.328 GB, free: 44.52 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002407/5.97, allocations: 77.83 kB / 3.328 GB, free: 44.48 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.048/9.018, allocations: 0.752 GB / 4.08 GB, free: 47.71 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.923e-06/9.018, allocations: 0 / 4.08 GB, free: 47.71 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0001193/9.018, allocations: 31.89 kB / 4.08 GB, free: 47.71 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.01132/9.029, allocations: 2.753 MB / 4.083 GB, free: 46.39 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.311e-05/9.029, allocations: 14.34 kB / 4.083 GB, free: 46.39 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003306/9.033, allocations: 486.7 kB / 4.084 GB, free: 46.31 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002814/9.036, allocations: 1.131 MB / 4.085 GB, free: 45.99 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001387/9.036, allocations: 141.8 kB / 4.085 GB, free: 45.93 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001868/9.036, allocations: 103 kB / 4.085 GB, free: 45.92 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003476/9.039, allocations: 1.883 MB / 4.087 GB, free: 45.58 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.293e-05/9.04, allocations: 6.406 kB / 4.087 GB, free: 45.58 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001297/9.04, allocations: 39.97 kB / 4.087 GB, free: 45.58 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.802e-05/9.04, allocations: 88.91 kB / 4.087 GB, free: 45.58 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003189/9.043, allocations: 1.714 MB / 4.089 GB, free: 45.57 MB / 0.5417 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.01159/9.055, allocations: 8.543 MB / 4.097 GB, free: 40.65 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002794/9.057, allocations: 1.378 MB / 4.098 GB, free: 40.34 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006969/9.058, allocations: 477 kB / 4.099 GB, free: 40.3 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.122/9.18, allocations: 63.5 MB / 4.161 GB, free: 16.82 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002699/9.183, allocations: 0.9059 MB / 4.162 GB, free: 16.67 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=82): time 6.252e-06/9.183, allocations: 3.938 kB / 4.162 GB, free: 16.67 MB / 0.5573 GB Notification: Performance of matching and sorting (n=86): time 0.009617/9.192, allocations: 3.738 MB / 4.165 GB, free: 15.55 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002071/9.193, allocations: 406.8 kB / 4.166 GB, free: 15.08 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0014/9.194, allocations: 0.9196 MB / 4.167 GB, free: 14.91 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0001264/9.194, allocations: 47.36 kB / 4.167 GB, free: 14.88 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004322/9.195, allocations: 0.5599 MB / 4.167 GB, free: 14.62 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002527/9.195, allocations: 309.8 kB / 4.167 GB, free: 14.44 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.943e-05/9.195, allocations: 21.59 kB / 4.167 GB, free: 14.44 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001467/9.195, allocations: 357.1 kB / 4.168 GB, free: 14.13 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007571/9.196, allocations: 477.4 kB / 4.168 GB, free: 14.13 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001039/9.197, allocations: 0.9435 MB / 4.169 GB, free: 13.55 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009203/9.198, allocations: 0.6321 MB / 4.17 GB, free: 13.52 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.706e-06/9.198, allocations: 3.25 kB / 4.17 GB, free: 13.52 MB / 0.5573 GB Notification: Performance of matching and sorting (n=160) (initialization): time 0.002928/9.201, allocations: 1.769 MB / 4.172 GB, free: 13.39 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.002903/9.204, allocations: 5.407 MB / 4.177 GB, free: 23.72 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.174e-05/9.204, allocations: 15.84 kB / 4.177 GB, free: 23.72 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005481/9.209, allocations: 1.077 MB / 4.178 GB, free: 23.68 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001156/9.211, allocations: 244.7 kB / 4.178 GB, free: 23.68 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002006/9.213, allocations: 1.447 MB / 4.18 GB, free: 23.14 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001937/9.215, allocations: 132.2 kB / 4.18 GB, free: 23.12 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001621/9.215, allocations: 73.61 kB / 4.18 GB, free: 23.12 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 2.173e-05/9.215, allocations: 3.531 kB / 4.18 GB, free: 23.12 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002746/9.218, allocations: 1.523 MB / 4.181 GB, free: 23.08 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.575e-05/9.218, allocations: 11.81 kB / 4.181 GB, free: 23.08 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001233/9.219, allocations: 349.7 kB / 4.182 GB, free: 23.06 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009354/9.22, allocations: 280.8 kB / 4.182 GB, free: 23.06 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001074/9.221, allocations: 1.015 MB / 4.183 GB, free: 22.53 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001507/9.222, allocations: 125.3 kB / 4.183 GB, free: 22.5 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001228/9.222, allocations: 69.78 kB / 4.183 GB, free: 22.49 MB / 0.573 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.0005097/9.223, allocations: 207.4 kB / 4.183 GB, free: 22.31 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000216/9.223, allocations: 124.1 kB / 4.183 GB, free: 22.25 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004516/9.228, allocations: 3.976 MB / 4.187 GB, free: 18.8 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.731e-05/9.228, allocations: 42.53 kB / 4.187 GB, free: 18.78 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.428e-06/9.228, allocations: 4 kB / 4.187 GB, free: 18.77 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.791e-05/9.228, allocations: 7.688 kB / 4.187 GB, free: 18.77 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006749/9.235, allocations: 5.482 MB / 4.193 GB, free: 14.02 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.108e-05/9.235, allocations: 4 kB / 4.193 GB, free: 14.02 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006902/9.235, allocations: 173.6 kB / 4.193 GB, free: 13.88 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006125/9.242, allocations: 1.796 MB / 4.195 GB, free: 12.49 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001822/9.242, allocations: 27.52 kB / 4.195 GB, free: 12.47 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001849/9.244, allocations: 2.082 MB / 4.197 GB, free: 10.44 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.408e-06/9.244, allocations: 1.016 kB / 4.197 GB, free: 10.44 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005241/9.249, allocations: 3.824 MB / 4.2 GB, free: 6.766 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001527/9.25, allocations: 0.5283 MB / 4.201 GB, free: 6.301 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002154/9.251, allocations: 31.86 kB / 4.201 GB, free: 6.273 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009957/9.252, allocations: 88.12 kB / 4.201 GB, free: 6.203 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000229/9.252, allocations: 83.56 kB / 4.201 GB, free: 6.152 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.179e-05/9.252, allocations: 35 kB / 4.201 GB, free: 6.121 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.001744/9.254, allocations: 1.04 MB / 4.202 GB, free: 5.156 MB / 0.573 GB Notification: Performance of sort global known variables: time 2.81e-07/9.254, allocations: 0 / 4.202 GB, free: 5.156 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.01132/9.265, allocations: 2.063 MB / 4.204 GB, free: 3.145 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 () * 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.01813/9.283, allocations: 2.362 MB / 4.206 GB, free: 1.324 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.433/9.716, allocations: 2.298 MB / 4.209 GB, free: 77.06 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.469e-05/9.716, allocations: 1.219 kB / 4.209 GB, free: 77.06 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.001942/9.718, allocations: 0.9879 MB / 4.21 GB, free: 77.06 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00398/9.722, allocations: 0.6192 MB / 4.21 GB, free: 77.05 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006261/9.729, allocations: 2.851 MB / 4.213 GB, free: 76.43 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00142/9.73, allocations: 1.486 MB / 4.214 GB, free: 75.71 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.003218/9.733, allocations: 1.047 MB / 4.215 GB, free: 75.7 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002776/9.734, allocations: 93.25 kB / 4.216 GB, free: 75.69 MB / 0.573 GB Notification: Performance of SimCode: time 1.152e-06/9.734, allocations: 1.312 kB / 4.216 GB, free: 75.69 MB / 0.573 GB Notification: Performance of Templates: time 0.1084/9.842, allocations: 68.84 MB / 4.283 GB, free: 73.94 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/jenkins/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