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.001178/0.001178, allocations: 80.98 kB / 20.65 MB, free: 3.844 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.001354/0.001354, allocations: 173 kB / 24.06 MB, free: 452 kB / 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.8884/0.8884, allocations: 158.6 MB / 185.9 MB, free: 2.801 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.1479/0.1479, allocations: 32.38 MB / 270.7 MB, free: 14.52 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 2.044e-06/2.044e-06, allocations: 0 / 348.1 MB, free: 9.156 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.477e-05/2.681e-05, allocations: 2.312 kB / 348.2 MB, free: 9.152 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice): time 0.3178/0.3178, allocations: 144.3 MB / 492.5 MB, free: 9.758 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.006955/0.3248, allocations: 5.412 MB / 497.9 MB, free: 8.52 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008869/0.3257, allocations: 24.31 kB / 497.9 MB, free: 8.504 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005465/0.3262, allocations: 193.8 kB / 498.1 MB, free: 8.359 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003316/0.3295, allocations: 1.274 MB / 499.4 MB, free: 7.602 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001244/0.3308, allocations: 0.5979 MB / 500 MB, free: 7.25 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001862/0.3326, allocations: 1.549 MB / 0.4898 GB, free: 6.344 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005586/0.3332, allocations: 362.3 kB / 0.4901 GB, free: 6.09 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001075/0.3343, allocations: 0.7734 MB / 0.4909 GB, free: 5.633 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001013/0.3353, allocations: 485.3 kB / 0.4913 GB, free: 5.395 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001318/0.3354, allocations: 49.75 kB / 0.4914 GB, free: 5.395 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002063/0.3375, allocations: 0.8339 MB / 0.4922 GB, free: 5.008 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001806/0.3376, allocations: 167.8 kB / 0.4924 GB, free: 4.879 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003312/0.338, allocations: 252.6 kB / 0.4926 GB, free: 4.766 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001814/0.3398, allocations: 1.213 MB / 0.4938 GB, free: 4.059 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.121e-06/0.3398, allocations: 0 / 0.4938 GB, free: 4.059 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3398, allocations: 0 / 0.4938 GB, free: 4.059 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.426e-06/0.3398, allocations: 0 / 0.4938 GB, free: 4.059 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.001599/0.3414, allocations: 1.095 MB / 0.4949 GB, free: 3.199 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.677e-05/0.3415, allocations: 15.3 kB / 0.4949 GB, free: 3.195 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007149/0.3422, allocations: 218 kB / 0.4951 GB, free: 3.082 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004823/0.3427, allocations: 439.1 kB / 0.4955 GB, free: 2.746 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.133e-05/0.3427, allocations: 31.19 kB / 0.4955 GB, free: 2.734 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.453e-05/0.3427, allocations: 50.31 kB / 0.4956 GB, free: 2.715 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00056/0.3433, allocations: 0.7647 MB / 0.4963 GB, free: 1.996 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.492e-05/0.3433, allocations: 6.75 kB / 0.4963 GB, free: 1.992 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.472e-05/0.3433, allocations: 21.19 kB / 0.4964 GB, free: 1.977 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.248e-05/0.3433, allocations: 11.31 kB / 0.4964 GB, free: 1.977 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000289/0.3436, allocations: 226 kB / 0.4966 GB, free: 1.895 MB / 362.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.001655/0.3453, allocations: 2.232 MB / 0.4988 GB, free: 15.93 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003499/0.3456, allocations: 199.8 kB / 0.4989 GB, free: 15.72 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.565e-05/0.3457, allocations: 72.2 kB / 0.499 GB, free: 15.65 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005062/0.3462, allocations: 292.9 kB / 0.4993 GB, free: 15.38 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.56e-05/0.3463, allocations: 41.67 kB / 0.4993 GB, free: 15.33 MB / 378.7 MB Notification: Performance of pre-optimization done (n=33): time 1.493e-06/0.3463, allocations: 0 / 0.4993 GB, free: 15.33 MB / 378.7 MB Notification: Performance of matching and sorting (n=33): time 0.0008801/0.3472, allocations: 442.1 kB / 0.4998 GB, free: 14.89 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.255e-05/0.3472, allocations: 132.5 kB / 0.4999 GB, free: 14.73 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003315/0.3476, allocations: 434.3 kB / 0.5003 GB, free: 14.29 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.381e-05/0.3476, allocations: 37.7 kB / 0.5003 GB, free: 14.24 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002245/0.3478, allocations: 347 kB / 0.5007 GB, free: 13.89 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.355e-05/0.3479, allocations: 122.9 kB / 0.5008 GB, free: 13.77 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001334/0.348, allocations: 111.8 kB / 0.5009 GB, free: 13.66 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001895/0.3482, allocations: 0.5312 MB / 0.5014 GB, free: 13.11 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001025/0.3483, allocations: 56.95 kB / 0.5015 GB, free: 13.05 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002201/0.3486, allocations: 316.4 kB / 0.5018 GB, free: 12.65 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002801/0.3488, allocations: 307.1 kB / 0.5021 GB, free: 12.29 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.3488, allocations: 0 / 0.5021 GB, free: 12.29 MB / 378.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0005837/0.3494, allocations: 372.9 kB / 0.5024 GB, free: 11.91 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.3494, allocations: 8.062 kB / 0.5024 GB, free: 11.91 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/0.3494, allocations: 7.938 kB / 0.5024 GB, free: 11.9 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006388/0.3501, allocations: 203.4 kB / 0.5026 GB, free: 11.7 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001811/0.3503, allocations: 103.8 kB / 0.5027 GB, free: 11.59 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003718/0.3506, allocations: 0.8195 MB / 0.5035 GB, free: 10.74 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001665/0.3508, allocations: 39.72 kB / 0.5036 GB, free: 10.7 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.189e-05/0.3509, allocations: 43.98 kB / 0.5036 GB, free: 10.66 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.0001533/0.351, allocations: 188.4 kB / 0.5038 GB, free: 10.46 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.249e-05/0.3511, allocations: 59.72 kB / 0.5038 GB, free: 10.41 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007097/0.3518, allocations: 0.5902 MB / 0.5044 GB, free: 9.801 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.549e-06/0.3518, allocations: 8.812 kB / 0.5044 GB, free: 9.793 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.785e-06/0.3518, allocations: 3.984 kB / 0.5044 GB, free: 9.789 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.3518, allocations: 0 / 0.5044 GB, free: 9.789 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007306/0.3525, allocations: 0.769 MB / 0.5052 GB, free: 8.961 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/0.3525, allocations: 4.188 kB / 0.5052 GB, free: 8.957 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.645e-05/0.3526, allocations: 43.98 kB / 0.5052 GB, free: 8.914 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001044/0.3537, allocations: 327.1 kB / 0.5055 GB, free: 8.59 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.048e-05/0.3537, allocations: 8 kB / 0.5055 GB, free: 8.582 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006364/0.3543, allocations: 0.8429 MB / 0.5064 GB, free: 7.707 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.3543, allocations: 0 / 0.5064 GB, free: 7.707 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003998/0.3547, allocations: 461.1 kB / 0.5068 GB, free: 7.207 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.274e-05/0.3548, allocations: 51.59 kB / 0.5069 GB, free: 7.156 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.717e-05/0.3548, allocations: 15.94 kB / 0.5069 GB, free: 7.141 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001313/0.355, allocations: 11.98 kB / 0.5069 GB, free: 7.129 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.685e-05/0.355, allocations: 35.88 kB / 0.5069 GB, free: 7.094 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.926e-05/0.355, allocations: 16 kB / 0.5069 GB, free: 7.078 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000167/0.3552, allocations: 299 kB / 0.5072 GB, free: 6.789 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3552, allocations: 0 / 0.5072 GB, free: 6.789 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006629/0.3559, allocations: 291.2 kB / 0.5075 GB, free: 6.504 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.0006452/0.3565, allocations: 393 kB / 0.5079 GB, free: 6.125 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003471/0.3568, allocations: 225.5 kB / 0.5081 GB, free: 5.902 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.3568, allocations: 192 / 0.5081 GB, free: 5.902 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001228/0.357, allocations: 107.9 kB / 0.5082 GB, free: 5.793 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000725/0.3577, allocations: 295.9 kB / 0.5085 GB, free: 5.512 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001325/0.359, allocations: 0.8363 MB / 0.5093 GB, free: 4.617 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.286e-05/0.3591, allocations: 126.5 kB / 0.5094 GB, free: 4.473 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004126/0.3595, allocations: 167.9 kB / 0.5096 GB, free: 4.312 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000504/0.36, allocations: 345.9 kB / 0.5099 GB, free: 3.973 MB / 378.7 MB Notification: Performance of SimCode: time 1.422e-06/0.36, allocations: 0 / 0.5099 GB, free: 3.973 MB / 378.7 MB Notification: Performance of Templates: time 0.01914/0.3792, allocations: 16.1 MB / 0.5256 GB, free: 3.961 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.8892744071781635]