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.001852/0.001852, allocations: 100.9 kB / 16.4 MB, free: 6 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.001929/0.001929, allocations: 192.3 kB / 17.34 MB, free: 5.582 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.517/1.517, allocations: 205.1 MB / 223.2 MB, free: 12.21 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.2122/0.2122, allocations: 43.52 MB / 314.1 MB, free: 444 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.001496/0.001496, allocations: 67.89 kB / 441.8 MB, free: 5.613 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1019/0.1034, allocations: 57.77 MB / 499.6 MB, free: 11.76 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend): time 0.4498/0.5533, allocations: 190 MB / 0.6734 GB, free: 12.58 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.008178/0.5615, allocations: 6.06 MB / 0.6794 GB, free: 6.504 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006833/0.5623, allocations: 19.88 kB / 0.6794 GB, free: 6.484 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0009995/0.5633, allocations: 321.9 kB / 0.6797 GB, free: 6.168 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.00477/0.5681, allocations: 1.941 MB / 0.6816 GB, free: 4.227 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.00195/0.57, allocations: 0.7246 MB / 0.6823 GB, free: 3.5 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.002127/0.5722, allocations: 1.516 MB / 0.6838 GB, free: 1.977 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006312/0.5728, allocations: 432.3 kB / 0.6842 GB, free: 1.547 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008668/0.5737, allocations: 0.5799 MB / 0.6847 GB, free: 0.9648 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005068/0.5742, allocations: 450.2 kB / 0.6852 GB, free: 0.5234 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 8.639e-05/0.5743, allocations: 52 kB / 0.6852 GB, free: 484 kB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003817/0.5781, allocations: 2.102 MB / 0.6873 GB, free: 14.37 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001758/0.5783, allocations: 163.4 kB / 0.6874 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0003531/0.5787, allocations: 338.5 kB / 0.6878 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.00298/0.5817, allocations: 1.924 MB / 0.6896 GB, free: 11.95 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.132e-06/0.5817, allocations: 0 / 0.6896 GB, free: 11.95 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.743e-06/0.5817, allocations: 0 / 0.6896 GB, free: 11.95 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 9.709e-06/0.5817, allocations: 0 / 0.6896 GB, free: 11.95 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.001938/0.5837, allocations: 1.143 MB / 0.6907 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.754e-05/0.5837, allocations: 12.02 kB / 0.6908 GB, free: 10.74 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00098/0.5847, allocations: 135.5 kB / 0.6909 GB, free: 10.61 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007964/0.5855, allocations: 492.8 kB / 0.6914 GB, free: 10.08 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.645e-05/0.5856, allocations: 29 kB / 0.6914 GB, free: 10.05 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.783e-05/0.5856, allocations: 47.5 kB / 0.6914 GB, free: 10.01 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001027/0.5867, allocations: 0.5867 MB / 0.692 GB, free: 9.391 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.509e-05/0.5867, allocations: 0 / 0.692 GB, free: 9.391 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.068e-05/0.5868, allocations: 23.94 kB / 0.692 GB, free: 9.367 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.15e-05/0.5868, allocations: 12 kB / 0.692 GB, free: 9.355 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009041/0.5877, allocations: 475.6 kB / 0.6925 GB, free: 8.891 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.002994/0.5907, allocations: 2.671 MB / 0.6951 GB, free: 6 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006969/0.5914, allocations: 343.4 kB / 0.6954 GB, free: 5.656 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003033/0.5917, allocations: 169.4 kB / 0.6956 GB, free: 5.488 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001269/0.593, allocations: 1.293 MB / 0.6969 GB, free: 3.973 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.941e-05/0.593, allocations: 38.84 kB / 0.6969 GB, free: 3.926 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=33): time 2.044e-06/0.5931, allocations: 7.875 kB / 0.6969 GB, free: 3.918 MB / 0.5294 GB Notification: Performance of matching and sorting (n=33): time 0.001681/0.5947, allocations: 0.7106 MB / 0.6976 GB, free: 3.18 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.807e-05/0.5948, allocations: 140.5 kB / 0.6977 GB, free: 3.012 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005342/0.5954, allocations: 469.9 kB / 0.6982 GB, free: 2.543 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.969e-05/0.5954, allocations: 33.7 kB / 0.6982 GB, free: 2.504 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001886/0.5956, allocations: 276.2 kB / 0.6985 GB, free: 2.23 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001007/0.5957, allocations: 126.9 kB / 0.6986 GB, free: 2.105 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001482/0.5959, allocations: 102.1 kB / 0.6987 GB, free: 2 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001532/0.5961, allocations: 358.8 kB / 0.699 GB, free: 1.641 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002926/0.5964, allocations: 144.8 kB / 0.6992 GB, free: 1.5 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003989/0.5968, allocations: 279.7 kB / 0.6994 GB, free: 1.172 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007037/0.5975, allocations: 441.6 kB / 0.6999 GB, free: 0.6953 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.5975, allocations: 0 / 0.6999 GB, free: 0.6953 MB / 0.5294 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009509/0.5984, allocations: 0.5255 MB / 0.7004 GB, free: 164 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.402e-05/0.5985, allocations: 14.59 kB / 0.7004 GB, free: 152 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/0.5985, allocations: 4 kB / 0.7004 GB, free: 148 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001506/0.6, allocations: 240.5 kB / 0.7006 GB, free: 15.91 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003485/0.6004, allocations: 99.88 kB / 0.7007 GB, free: 15.81 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004524/0.6008, allocations: 0.5914 MB / 0.7013 GB, free: 15.19 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000329/0.6012, allocations: 51.72 kB / 0.7013 GB, free: 15.14 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.437e-05/0.6013, allocations: 51.92 kB / 0.7014 GB, free: 15.09 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.0002479/0.6015, allocations: 181.6 kB / 0.7016 GB, free: 14.9 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001064/0.6016, allocations: 55.67 kB / 0.7016 GB, free: 14.85 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001436/0.6031, allocations: 0.7181 MB / 0.7023 GB, free: 14.1 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.141e-06/0.6031, allocations: 4 kB / 0.7023 GB, free: 14.1 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.6031, allocations: 0 / 0.7023 GB, free: 14.1 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.6031, allocations: 0 / 0.7023 GB, free: 14.1 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001463/0.6046, allocations: 1.014 MB / 0.7033 GB, free: 13.01 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/0.6046, allocations: 0 / 0.7033 GB, free: 13.01 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002075/0.6048, allocations: 55.91 kB / 0.7034 GB, free: 12.95 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003009/0.6078, allocations: 448.2 kB / 0.7038 GB, free: 12.51 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.134e-05/0.6079, allocations: 8 kB / 0.7038 GB, free: 12.5 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004394/0.6083, allocations: 0.5992 MB / 0.7044 GB, free: 11.88 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.6083, allocations: 0 / 0.7044 GB, free: 11.88 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000817/0.6092, allocations: 0.516 MB / 0.7049 GB, free: 11.33 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001391/0.6093, allocations: 140.6 kB / 0.705 GB, free: 11.17 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.866e-05/0.6094, allocations: 8 kB / 0.705 GB, free: 11.16 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003147/0.6097, allocations: 19.98 kB / 0.705 GB, free: 11.14 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.669e-05/0.6098, allocations: 27.91 kB / 0.7051 GB, free: 11.12 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.44e-05/0.6098, allocations: 19.98 kB / 0.7051 GB, free: 11.1 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0004697/0.6103, allocations: 402.8 kB / 0.7055 GB, free: 10.71 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6103, allocations: 0 / 0.7055 GB, free: 10.71 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001013/0.6113, allocations: 366.9 kB / 0.7058 GB, free: 10.35 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.001119/0.6125, allocations: 0.507 MB / 0.7063 GB, free: 9.828 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0008315/0.6133, allocations: 371.5 kB / 0.7067 GB, free: 9.465 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.6133, allocations: 0.875 kB / 0.7067 GB, free: 9.465 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003533/0.6137, allocations: 176 kB / 0.7068 GB, free: 9.293 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001682/0.6154, allocations: 377.4 kB / 0.7072 GB, free: 8.934 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001456/0.6168, allocations: 0.8953 MB / 0.7081 GB, free: 7.996 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004347/0.6173, allocations: 0.8556 MB / 0.7089 GB, free: 7.109 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0006628/0.618, allocations: 197 kB / 0.7091 GB, free: 6.914 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002028/0.6182, allocations: 79.36 kB / 0.7092 GB, free: 6.836 MB / 0.545 GB Notification: Performance of SimCode: time 4.11e-07/0.6182, allocations: 0 / 0.7092 GB, free: 6.836 MB / 0.545 GB Notification: Performance of Templates: time 0.02979/0.648, allocations: 18.38 MB / 0.7271 GB, free: 4.465 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/NewFittings/Bends/EdgedBend/EdgedBend.csv","/var/lib/jenkins/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