Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001057/0.001057, allocations: 91.22 kB / 20.43 MB, free: 4.145 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001291/0.001291, allocations: 165 kB / 23.8 MB, free: 0.7773 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.901/0.901, allocations: 158.6 MB / 185.7 MB, free: 2.918 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1273/0.1273, allocations: 32.38 MB / 270.4 MB, free: 14.69 MB / 266.7 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|ramp.y|boundary.ports.[0-9,]+..m_flow|boundary.ports.[0-9,]+..p|boundary.ports.[0-9,]+..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.Orifices.ThickEdgedOrifice") translateModel(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|ramp.y|boundary.ports.[0-9,]+..m_flow|boundary.ports.[0-9,]+..p|boundary.ports.[0-9,]+..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.Orifices.ThickEdgedOrifice") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 347.7 MB, free: 9.438 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.218e-05/2.375e-05, allocations: 6.25 kB / 347.7 MB, free: 9.43 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice): time 0.3286/0.3287, allocations: 147.1 MB / 494.8 MB, free: 9.195 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.004556/0.3332, allocations: 5.481 MB / 0.4886 GB, free: 6.602 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002461/0.3335, allocations: 24.25 kB / 0.4886 GB, free: 6.586 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004978/0.334, allocations: 184.3 kB / 0.4888 GB, free: 6.449 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001982/0.3359, allocations: 1.282 MB / 0.49 GB, free: 5.516 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007501/0.3367, allocations: 0.5763 MB / 0.4906 GB, free: 5.098 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009587/0.3377, allocations: 1.549 MB / 0.4921 GB, free: 4.191 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003277/0.338, allocations: 373.2 kB / 0.4925 GB, free: 3.926 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005193/0.3385, allocations: 0.7549 MB / 0.4932 GB, free: 3.477 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003321/0.3388, allocations: 419.3 kB / 0.4936 GB, free: 3.262 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 6.493e-05/0.3389, allocations: 51.38 kB / 0.4937 GB, free: 3.262 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009168/0.3398, allocations: 0.8325 MB / 0.4945 GB, free: 2.875 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001051/0.3399, allocations: 168.9 kB / 0.4946 GB, free: 2.746 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001678/0.3401, allocations: 255.3 kB / 0.4949 GB, free: 2.633 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001011/0.3411, allocations: 1.217 MB / 0.4961 GB, free: 1.922 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.3411, allocations: 3.938 kB / 0.4961 GB, free: 1.918 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3411, allocations: 0 / 0.4961 GB, free: 1.918 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.304e-06/0.3411, allocations: 0 / 0.4961 GB, free: 1.918 MB / 362.7 MB 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.001062/0.3422, allocations: 1.107 MB / 0.4971 GB, free: 1.047 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/0.3422, allocations: 14.66 kB / 0.4972 GB, free: 1.043 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005993/0.3428, allocations: 218.5 kB / 0.4974 GB, free: 0.9336 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004548/0.3433, allocations: 454.1 kB / 0.4978 GB, free: 0.5898 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.074e-05/0.3433, allocations: 30.81 kB / 0.4978 GB, free: 0.5781 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.104e-05/0.3433, allocations: 47.84 kB / 0.4979 GB, free: 0.5625 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006312/0.344, allocations: 0.8189 MB / 0.4987 GB, free: 15.8 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/0.344, allocations: 2.75 kB / 0.4987 GB, free: 15.8 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.966e-05/0.344, allocations: 26.12 kB / 0.4987 GB, free: 15.78 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.24e-05/0.344, allocations: 11.31 kB / 0.4987 GB, free: 15.78 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003859/0.3444, allocations: 274.9 kB / 0.499 GB, free: 15.68 MB / 378.7 MB 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.001778/0.3462, allocations: 2.305 MB / 0.5012 GB, free: 13.67 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003394/0.3465, allocations: 206.7 kB / 0.5014 GB, free: 13.58 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001146/0.3467, allocations: 87.23 kB / 0.5015 GB, free: 13.54 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003788/0.347, allocations: 277.9 kB / 0.5018 GB, free: 13.43 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.087e-05/0.3471, allocations: 49.61 kB / 0.5018 GB, free: 13.37 MB / 378.7 MB Notification: Performance of pre-optimization done (n=33): time 2.144e-06/0.3471, allocations: 0 / 0.5018 GB, free: 13.37 MB / 378.7 MB Notification: Performance of matching and sorting (n=33): time 0.0008547/0.3479, allocations: 474.2 kB / 0.5023 GB, free: 12.89 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.782e-05/0.348, allocations: 132.5 kB / 0.5024 GB, free: 12.73 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003176/0.3483, allocations: 450.6 kB / 0.5028 GB, free: 12.27 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3e-05/0.3483, allocations: 33.7 kB / 0.5029 GB, free: 12.23 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001604/0.3485, allocations: 347.1 kB / 0.5032 GB, free: 11.89 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.595e-05/0.3486, allocations: 122.9 kB / 0.5033 GB, free: 11.77 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001043/0.3487, allocations: 107.8 kB / 0.5034 GB, free: 11.65 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001397/0.3488, allocations: 0.5274 MB / 0.5039 GB, free: 11.11 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001135/0.3489, allocations: 68.95 kB / 0.504 GB, free: 11.04 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002237/0.3491, allocations: 332.3 kB / 0.5043 GB, free: 10.62 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003188/0.3495, allocations: 323.2 kB / 0.5046 GB, free: 10.25 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.3495, allocations: 4 kB / 0.5046 GB, free: 10.24 MB / 378.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0004792/0.3499, allocations: 404.5 kB / 0.505 GB, free: 9.836 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/0.35, allocations: 11.94 kB / 0.505 GB, free: 9.824 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.35, allocations: 4 kB / 0.505 GB, free: 9.82 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006669/0.3506, allocations: 199.8 kB / 0.5052 GB, free: 9.621 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001954/0.3508, allocations: 99.89 kB / 0.5053 GB, free: 9.523 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004034/0.3512, allocations: 0.8234 MB / 0.5061 GB, free: 8.668 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000137/0.3514, allocations: 43.67 kB / 0.5062 GB, free: 8.625 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.191e-05/0.3514, allocations: 52.02 kB / 0.5062 GB, free: 8.574 MB / 378.7 MB 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.00014/0.3516, allocations: 184.4 kB / 0.5064 GB, free: 8.383 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.901e-05/0.3516, allocations: 59.72 kB / 0.5064 GB, free: 8.324 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007887/0.3524, allocations: 0.5996 MB / 0.507 GB, free: 7.711 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-06/0.3524, allocations: 4 kB / 0.507 GB, free: 7.707 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.788e-06/0.3524, allocations: 3.312 kB / 0.507 GB, free: 7.707 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.3524, allocations: 7.984 kB / 0.507 GB, free: 7.699 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008298/0.3533, allocations: 0.8582 MB / 0.5079 GB, free: 6.773 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.3533, allocations: 0 / 0.5079 GB, free: 6.773 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001119/0.3534, allocations: 55.91 kB / 0.5079 GB, free: 6.719 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001181/0.3546, allocations: 347.4 kB / 0.5083 GB, free: 6.375 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.138e-05/0.3546, allocations: 19.92 kB / 0.5083 GB, free: 6.355 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003328/0.3549, allocations: 0.8351 MB / 0.5091 GB, free: 5.488 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.3549, allocations: 0 / 0.5091 GB, free: 5.488 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003875/0.3553, allocations: 481.1 kB / 0.5096 GB, free: 4.969 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.475e-05/0.3553, allocations: 51.67 kB / 0.5096 GB, free: 4.918 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.978e-05/0.3554, allocations: 12 kB / 0.5096 GB, free: 4.906 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001325/0.3555, allocations: 11.98 kB / 0.5096 GB, free: 4.895 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.062e-05/0.3556, allocations: 27.95 kB / 0.5097 GB, free: 4.867 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.294e-05/0.3556, allocations: 23.92 kB / 0.5097 GB, free: 4.844 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002202/0.3558, allocations: 323 kB / 0.51 GB, free: 4.531 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3558, allocations: 0 / 0.51 GB, free: 4.531 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004734/0.3563, allocations: 295.1 kB / 0.5103 GB, free: 4.242 MB / 378.7 MB 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.0006104/0.3569, allocations: 386.8 kB / 0.5106 GB, free: 3.871 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004131/0.3573, allocations: 249.3 kB / 0.5109 GB, free: 3.625 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.3573, allocations: 0 / 0.5109 GB, free: 3.625 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001427/0.3575, allocations: 116 kB / 0.511 GB, free: 3.508 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00071/0.3582, allocations: 292.3 kB / 0.5113 GB, free: 3.23 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001113/0.3593, allocations: 0.8518 MB / 0.5121 GB, free: 2.32 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.66e-05/0.3594, allocations: 126.5 kB / 0.5122 GB, free: 2.176 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003365/0.3597, allocations: 181.3 kB / 0.5124 GB, free: 2.004 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001291/0.3598, allocations: 76.47 kB / 0.5125 GB, free: 1.926 MB / 378.7 MB Notification: Performance of SimCode: time 6.11e-07/0.3598, allocations: 0 / 0.5125 GB, free: 1.926 MB / 378.7 MB Notification: Performance of Templates: time 0.01545/0.3753, allocations: 14.3 MB / 0.5264 GB, free: 3.711 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/NewFittings/Orifices/ThickEdgedOrifice/ThickEdgedOrifice.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.8630759809166193]