Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.conf.json 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/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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) Running command: translateModel(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ramp.y|boundary.ports.1..m_flow|boundary.ports.1..p|boundary.ports.1..h_outflow|sensor.port_b.m_flow|sensor.port_b.p|sensor.port_b.h_outflow|fitting1.port_b.m_flow|fitting1.port_b.p|fitting1.port_b.h_outflow|fitting2.port_b.m_flow|fitting2.port_b.p|fitting2.port_b.h_outflow",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend") translateModel(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ramp.y|boundary.ports.1..m_flow|boundary.ports.1..p|boundary.ports.1..h_outflow|sensor.port_b.m_flow|sensor.port_b.p|sensor.port_b.h_outflow|fitting1.port_b.m_flow|fitting1.port_b.p|fitting1.port_b.h_outflow|fitting2.port_b.m_flow|fitting2.port_b.p|fitting2.port_b.h_outflow",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00148/0.00148, allocations: 113.2 kB / 17.08 MB, free: 5.992 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001691/0.001691, allocations: 197.2 kB / 18.01 MB, free: 5.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.388/1.388, allocations: 205.1 MB / 223.9 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2141/0.2141, allocations: 43.52 MB / 314.8 MB, free: 448 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001604/0.001604, allocations: 63.91 kB / 442.5 MB, free: 5.641 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1113/0.1129, allocations: 57.78 MB / 0.4886 GB, free: 11.78 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend): time 0.4456/0.5586, allocations: 190 MB / 0.6741 GB, free: 12.44 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.008814/0.5674, allocations: 6.059 MB / 0.68 GB, free: 6.371 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006795/0.5682, allocations: 15.88 kB / 0.68 GB, free: 6.355 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0009808/0.5692, allocations: 325.8 kB / 0.6803 GB, free: 6.035 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.004688/0.5739, allocations: 1.933 MB / 0.6822 GB, free: 4.098 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001928/0.5758, allocations: 0.7267 MB / 0.6829 GB, free: 3.371 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.002084/0.5779, allocations: 1.52 MB / 0.6844 GB, free: 1.844 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000692/0.5786, allocations: 428.1 kB / 0.6848 GB, free: 1.418 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001064/0.5797, allocations: 0.5838 MB / 0.6854 GB, free: 0.832 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005859/0.5803, allocations: 462.1 kB / 0.6858 GB, free: 388 kB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 9.012e-05/0.5804, allocations: 52 kB / 0.6859 GB, free: 336 kB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003845/0.5843, allocations: 2.102 MB / 0.6879 GB, free: 14.22 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001945/0.5845, allocations: 151.5 kB / 0.6881 GB, free: 14.07 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0003961/0.5849, allocations: 342.5 kB / 0.6884 GB, free: 13.74 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.002874/0.5878, allocations: 1.921 MB / 0.6903 GB, free: 11.81 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.5878, allocations: 8 kB / 0.6903 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.873e-06/0.5878, allocations: 0 / 0.6903 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.054e-05/0.5878, allocations: 3.984 kB / 0.6903 GB, free: 11.8 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 105 * Number of variables: 105 Notification: Performance of Generate backend data structure: time 0.00207/0.5899, allocations: 1.106 MB / 0.6914 GB, free: 10.64 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.897e-05/0.5899, allocations: 8.031 kB / 0.6914 GB, free: 10.64 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001019/0.591, allocations: 143.2 kB / 0.6915 GB, free: 10.5 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008241/0.5918, allocations: 484.5 kB / 0.692 GB, free: 9.98 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.024e-05/0.5918, allocations: 37 kB / 0.692 GB, free: 9.945 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.414e-05/0.5919, allocations: 36 kB / 0.6921 GB, free: 9.91 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001042/0.5929, allocations: 0.5866 MB / 0.6926 GB, free: 9.285 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.419e-05/0.593, allocations: 0 / 0.6926 GB, free: 9.285 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.001e-05/0.593, allocations: 27.62 kB / 0.6927 GB, free: 9.262 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.106e-05/0.593, allocations: 8 kB / 0.6927 GB, free: 9.254 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008875/0.594, allocations: 475.5 kB / 0.6931 GB, free: 8.793 MB / 0.5294 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.003032/0.597, allocations: 2.666 MB / 0.6957 GB, free: 5.902 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007069/0.5977, allocations: 339.4 kB / 0.696 GB, free: 5.562 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003044/0.598, allocations: 173.4 kB / 0.6962 GB, free: 5.391 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001286/0.5993, allocations: 1.301 MB / 0.6975 GB, free: 3.867 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.857e-05/0.5994, allocations: 38.84 kB / 0.6975 GB, free: 3.82 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=33): time 2.064e-06/0.5994, allocations: 3.938 kB / 0.6975 GB, free: 3.816 MB / 0.5294 GB Notification: Performance of matching and sorting (n=33): time 0.001668/0.6011, allocations: 0.7026 MB / 0.6982 GB, free: 3.086 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.683e-05/0.6012, allocations: 136.5 kB / 0.6983 GB, free: 2.922 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005089/0.6017, allocations: 469.9 kB / 0.6988 GB, free: 2.453 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.117e-05/0.6017, allocations: 37.7 kB / 0.6988 GB, free: 2.41 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001837/0.6019, allocations: 263.9 kB / 0.6991 GB, free: 2.148 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 9.946e-05/0.602, allocations: 122.3 kB / 0.6992 GB, free: 2.027 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001511/0.6022, allocations: 102 kB / 0.6993 GB, free: 1.922 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001533/0.6023, allocations: 362.8 kB / 0.6996 GB, free: 1.559 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002919/0.6026, allocations: 144.8 kB / 0.6998 GB, free: 1.418 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003809/0.603, allocations: 282.5 kB / 0.7 GB, free: 1.09 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000673/0.6037, allocations: 437.5 kB / 0.7005 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.536e-06/0.6037, allocations: 0 / 0.7005 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009612/0.6047, allocations: 0.5288 MB / 0.701 GB, free: 80 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.031e-05/0.6047, allocations: 7.938 kB / 0.701 GB, free: 72 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.327e-06/0.6047, allocations: 4 kB / 0.701 GB, free: 68 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001587/0.6063, allocations: 236.9 kB / 0.7012 GB, free: 15.83 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003489/0.6067, allocations: 99.88 kB / 0.7013 GB, free: 15.73 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004742/0.6072, allocations: 0.5991 MB / 0.7019 GB, free: 15.11 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000332/0.6075, allocations: 47.52 kB / 0.7019 GB, free: 15.06 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.971e-05/0.6076, allocations: 43.98 kB / 0.702 GB, free: 15.02 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (44): * Single equations (assignments): 43 * 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.0002486/0.6079, allocations: 189.6 kB / 0.7022 GB, free: 14.82 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001099/0.608, allocations: 51.44 kB / 0.7022 GB, free: 14.77 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001426/0.6094, allocations: 0.7109 MB / 0.7029 GB, free: 14.04 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.6e-06/0.6094, allocations: 7.984 kB / 0.7029 GB, free: 14.03 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.644e-06/0.6094, allocations: 4 kB / 0.7029 GB, free: 14.02 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.774e-06/0.6094, allocations: 4 kB / 0.7029 GB, free: 14.02 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001477/0.6109, allocations: 1.014 MB / 0.7039 GB, free: 12.93 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.558e-06/0.6109, allocations: 4 kB / 0.7039 GB, free: 12.93 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002074/0.6112, allocations: 43.97 kB / 0.704 GB, free: 12.88 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003159/0.6143, allocations: 452.2 kB / 0.7044 GB, free: 12.44 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.241e-05/0.6144, allocations: 8 kB / 0.7044 GB, free: 12.43 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004469/0.6148, allocations: 0.5992 MB / 0.705 GB, free: 11.8 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.038e-06/0.6148, allocations: 4.031 kB / 0.705 GB, free: 11.8 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008324/0.6157, allocations: 0.504 MB / 0.7055 GB, free: 11.26 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000165/0.6159, allocations: 136.4 kB / 0.7056 GB, free: 11.11 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.943e-05/0.616, allocations: 15.84 kB / 0.7056 GB, free: 11.09 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003181/0.6163, allocations: 19.98 kB / 0.7056 GB, free: 11.07 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.148e-05/0.6164, allocations: 27.91 kB / 0.7057 GB, free: 11.05 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.172e-05/0.6164, allocations: 19.98 kB / 0.7057 GB, free: 11.03 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0004716/0.6169, allocations: 398.8 kB / 0.7061 GB, free: 10.64 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.01e-07/0.6169, allocations: 0 / 0.7061 GB, free: 10.64 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001027/0.6179, allocations: 363.7 kB / 0.7064 GB, free: 10.29 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (27): * Single equations (assignments): 26 * 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.001142/0.6191, allocations: 0.5105 MB / 0.7069 GB, free: 9.766 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0008512/0.6199, allocations: 376.3 kB / 0.7073 GB, free: 9.398 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.62, allocations: 4.125 kB / 0.7073 GB, free: 9.395 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003417/0.6203, allocations: 163.8 kB / 0.7074 GB, free: 9.234 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001673/0.622, allocations: 373.2 kB / 0.7078 GB, free: 8.875 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001456/0.6235, allocations: 0.8981 MB / 0.7087 GB, free: 7.93 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004176/0.6239, allocations: 0.8557 MB / 0.7095 GB, free: 7.043 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002985/0.6242, allocations: 95.41 kB / 0.7096 GB, free: 6.949 MB / 0.545 GB Notification: Performance of SimCode: time 5.61e-07/0.6242, allocations: 0 / 0.7096 GB, free: 6.949 MB / 0.545 GB Notification: Performance of Templates: time 0.02175/0.646, allocations: 15.71 MB / 0.7249 GB, free: 7.238 MB / 0.5606 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/NewFittings/Bends/EdgedBend/EdgedBend.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches