Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001834/0.001834, allocations: 84.95 kB / 20.68 MB, free: 1.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002114/0.002114, allocations: 158.2 kB / 23.95 MB, free: 4.168 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.506/1.506, allocations: 177 MB / 204.1 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2213/0.2213, allocations: 34.26 MB / 294.8 MB, free: 14.54 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5050,variableFilter="time|input_mflow.y|input_p.y|IN_p.ports.1..m_flow|IN_p.ports.1..p|IN_p.ports.1..h_outflow|OUT_dp.ports.1..m_flow|OUT_dp.ports.1..p|OUT_dp.ports.1..h_outflow|OUT_mflow.ports.1..m_flow|OUT_mflow.ports.1..p|OUT_mflow.ports.1..h_outflow|IN_mflow.ports.1..m_flow|IN_mflow.ports.1..p|IN_mflow.ports.1..h_outflow|from_dp.port_b.m_flow|from_dp.port_b.p|from_dp.port_b.h_outflow|from_mflow.port_b.m_flow|from_mflow.port_b.p|from_mflow.port_b.h_outflow",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend") translateModel(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5050,variableFilter="time|input_mflow.y|input_p.y|IN_p.ports.1..m_flow|IN_p.ports.1..p|IN_p.ports.1..h_outflow|OUT_dp.ports.1..m_flow|OUT_dp.ports.1..p|OUT_dp.ports.1..h_outflow|OUT_mflow.ports.1..m_flow|OUT_mflow.ports.1..p|OUT_mflow.ports.1..h_outflow|IN_mflow.ports.1..m_flow|IN_mflow.ports.1..p|IN_mflow.ports.1..h_outflow|from_dp.port_b.m_flow|from_dp.port_b.p|from_dp.port_b.h_outflow|from_mflow.port_b.m_flow|from_mflow.port_b.p|from_mflow.port_b.h_outflow",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 442.7 MB, free: 5.324 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.273e-05/3.427e-05, allocations: 6.219 kB / 442.7 MB, free: 5.316 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend): time 0.4258/0.4258, allocations: 159.9 MB / 0.5885 GB, free: 5.695 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.008261/0.4341, allocations: 4.627 MB / 0.593 GB, free: 1.055 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006917/0.4348, allocations: 19.81 kB / 0.593 GB, free: 1.035 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001226/0.436, allocations: 337.6 kB / 0.5933 GB, free: 0.7031 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005933/0.442, allocations: 2.201 MB / 0.5955 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002536/0.4445, allocations: 0.9664 MB / 0.5964 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002439/0.4469, allocations: 1.694 MB / 0.5981 GB, free: 11.83 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008344/0.4478, allocations: 370.4 kB / 0.5984 GB, free: 11.47 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002663/0.4504, allocations: 1.106 MB / 0.5995 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009373/0.4514, allocations: 462.7 kB / 0.5999 GB, free: 9.906 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001797/0.4515, allocations: 52 kB / 0.6 GB, free: 9.855 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002627/0.4542, allocations: 1.279 MB / 0.6012 GB, free: 8.574 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002614/0.4544, allocations: 183.3 kB / 0.6014 GB, free: 8.395 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005119/0.4549, allocations: 275.4 kB / 0.6017 GB, free: 8.125 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003134/0.4581, allocations: 1.925 MB / 0.6036 GB, free: 6.195 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.4581, allocations: 1.312 kB / 0.6036 GB, free: 6.195 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.102e-06/0.4581, allocations: 0 / 0.6036 GB, free: 6.195 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.291e-05/0.4581, allocations: 0 / 0.6036 GB, free: 6.195 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.00225/0.4604, allocations: 1.084 MB / 0.6046 GB, free: 5.074 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.464e-05/0.4604, allocations: 11.97 kB / 0.6046 GB, free: 5.062 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001262/0.4616, allocations: 163.5 kB / 0.6048 GB, free: 4.902 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009024/0.4626, allocations: 446.6 kB / 0.6052 GB, free: 4.441 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.45e-05/0.4626, allocations: 29 kB / 0.6052 GB, free: 4.41 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.874e-05/0.4627, allocations: 44 kB / 0.6053 GB, free: 4.367 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001535/0.4642, allocations: 1.042 MB / 0.6063 GB, free: 3.184 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.542e-05/0.4642, allocations: 0 / 0.6063 GB, free: 3.184 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.314e-05/0.4643, allocations: 24 kB / 0.6063 GB, free: 3.16 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.606e-05/0.4643, allocations: 15.94 kB / 0.6063 GB, free: 3.145 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009358/0.4652, allocations: 495.5 kB / 0.6068 GB, free: 2.656 MB / 0.4981 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.00285/0.4681, allocations: 1.999 MB / 0.6088 GB, free: 0.5977 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006865/0.4688, allocations: 300.2 kB / 0.609 GB, free: 308 kB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002709/0.469, allocations: 148.7 kB / 0.6092 GB, free: 156 kB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002132/0.4693, allocations: 51.95 kB / 0.6092 GB, free: 104 kB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.979e-05/0.4693, allocations: 42.5 kB / 0.6093 GB, free: 52 kB / 0.4981 GB Notification: Performance of pre-optimization done (n=35): time 1.703e-06/0.4693, allocations: 0 / 0.6093 GB, free: 52 kB / 0.4981 GB Notification: Performance of matching and sorting (n=35): time 0.001636/0.4709, allocations: 0.6119 MB / 0.6099 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.63e-05/0.471, allocations: 166 kB / 0.61 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005146/0.4715, allocations: 441.7 kB / 0.6104 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 5.317e-05/0.4716, allocations: 29.7 kB / 0.6105 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002218/0.4718, allocations: 312.1 kB / 0.6108 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.000113/0.4719, allocations: 130.9 kB / 0.6109 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001862/0.4721, allocations: 114.2 kB / 0.611 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001754/0.4723, allocations: 358.8 kB / 0.6113 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002839/0.4726, allocations: 140.9 kB / 0.6115 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005152/0.4731, allocations: 425.1 kB / 0.6119 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007479/0.4738, allocations: 462.9 kB / 0.6123 GB, free: 12.67 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.4738, allocations: 7.938 kB / 0.6123 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.00103/0.4749, allocations: 0.5641 MB / 0.6129 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.753e-05/0.4749, allocations: 8.125 kB / 0.6129 GB, free: 12.08 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.076e-05/0.4749, allocations: 8 kB / 0.6129 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001627/0.4765, allocations: 240.5 kB / 0.6131 GB, free: 11.83 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004063/0.4769, allocations: 123.8 kB / 0.6133 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004936/0.4774, allocations: 0.5835 MB / 0.6138 GB, free: 11.1 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003309/0.4778, allocations: 51.66 kB / 0.6139 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.071e-05/0.4779, allocations: 50.12 kB / 0.6139 GB, free: 11 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0002814/0.4781, allocations: 193.7 kB / 0.6141 GB, free: 10.8 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001302/0.4783, allocations: 67.61 kB / 0.6142 GB, free: 10.74 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001912/0.4802, allocations: 1.082 MB / 0.6152 GB, free: 9.637 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.222e-06/0.4802, allocations: 7.938 kB / 0.6152 GB, free: 9.629 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.4802, allocations: 0 / 0.6152 GB, free: 9.629 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.212e-06/0.4802, allocations: 3.984 kB / 0.6152 GB, free: 9.625 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001315/0.4815, allocations: 0.8448 MB / 0.6161 GB, free: 8.723 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/0.4815, allocations: 4.188 kB / 0.6161 GB, free: 8.719 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002043/0.4817, allocations: 51.97 kB / 0.6161 GB, free: 8.668 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003282/0.485, allocations: 440.1 kB / 0.6165 GB, free: 8.234 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.073e-05/0.485, allocations: 18.19 kB / 0.6166 GB, free: 8.219 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004618/0.4855, allocations: 0.5914 MB / 0.6171 GB, free: 7.602 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.4855, allocations: 0 / 0.6171 GB, free: 7.602 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007349/0.4862, allocations: 497.5 kB / 0.6176 GB, free: 7.078 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 7.847e-05/0.4863, allocations: 51.66 kB / 0.6177 GB, free: 7.027 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.073e-05/0.4864, allocations: 15.94 kB / 0.6177 GB, free: 7.012 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003146/0.4867, allocations: 12 kB / 0.6177 GB, free: 7 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.019e-05/0.4868, allocations: 31.89 kB / 0.6177 GB, free: 6.969 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.893e-05/0.4868, allocations: 19.98 kB / 0.6177 GB, free: 6.949 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0004424/0.4873, allocations: 342.9 kB / 0.6181 GB, free: 6.613 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4873, allocations: 4 kB / 0.6181 GB, free: 6.609 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0009994/0.4883, allocations: 370.9 kB / 0.6184 GB, free: 6.246 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001023/0.4893, allocations: 465.9 kB / 0.6189 GB, free: 5.781 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.000795/0.4901, allocations: 356.5 kB / 0.6192 GB, free: 5.434 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.02e-06/0.4901, allocations: 4 kB / 0.6192 GB, free: 5.43 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0003057/0.4904, allocations: 144 kB / 0.6193 GB, free: 5.289 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001563/0.492, allocations: 314.8 kB / 0.6196 GB, free: 4.98 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001439/0.4934, allocations: 0.8875 MB / 0.6205 GB, free: 4.051 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002736/0.4937, allocations: 267.5 kB / 0.6208 GB, free: 3.762 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001001/0.4947, allocations: 0.5719 MB / 0.6213 GB, free: 3.184 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002551/0.4949, allocations: 88.47 kB / 0.6214 GB, free: 3.098 MB / 0.5137 GB Notification: Performance of SimCode: time 5.01e-07/0.4949, allocations: 0 / 0.6214 GB, free: 3.098 MB / 0.5137 GB Notification: Performance of Templates: time 0.02869/0.5236, allocations: 17.33 MB / 0.6383 GB, free: 1.984 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/Dissipation/TestCases/PressureLoss/Bend/Bend.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.290866881608963]