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.001031/0.001031, allocations: 95.31 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.001333/0.001333, 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.8881/0.8881, allocations: 158.6 MB / 185.7 MB, free: 2.91 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.1259/0.1259, allocations: 32.38 MB / 270.4 MB, free: 14.7 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.505e-06/2.505e-06, allocations: 3.938 kB / 347.7 MB, free: 9.418 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.975e-05/2.225e-05, allocations: 6.312 kB / 347.7 MB, free: 9.41 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice): time 0.2954/0.2954, allocations: 147.1 MB / 494.8 MB, free: 9.145 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.005249/0.3007, allocations: 5.483 MB / 0.4886 GB, free: 6.586 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003389/0.301, allocations: 23.81 kB / 0.4886 GB, free: 6.57 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005174/0.3015, allocations: 188.5 kB / 0.4888 GB, free: 6.43 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002501/0.304, allocations: 1.278 MB / 0.49 GB, free: 5.504 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000928/0.3049, allocations: 0.5879 MB / 0.4906 GB, free: 5.074 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001364/0.3063, allocations: 1.55 MB / 0.4921 GB, free: 4.168 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004883/0.3068, allocations: 364.4 kB / 0.4925 GB, free: 3.91 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006984/0.3075, allocations: 0.7666 MB / 0.4932 GB, free: 3.461 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005116/0.308, allocations: 496.5 kB / 0.4937 GB, free: 3.211 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 7.476e-05/0.3081, allocations: 51.12 kB / 0.4937 GB, free: 3.211 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001058/0.3091, allocations: 0.841 MB / 0.4946 GB, free: 2.816 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001165/0.3093, allocations: 160.8 kB / 0.4947 GB, free: 2.695 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001724/0.3094, allocations: 252.6 kB / 0.495 GB, free: 2.582 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001272/0.3107, allocations: 1.214 MB / 0.4961 GB, free: 1.875 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/0.3107, allocations: 3.938 kB / 0.4961 GB, free: 1.871 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.356e-06/0.3107, allocations: 4 kB / 0.4962 GB, free: 1.867 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.031e-05/0.3107, allocations: 0 / 0.4962 GB, free: 1.867 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.001225/0.3119, allocations: 1.091 MB / 0.4972 GB, free: 1.012 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.017e-05/0.312, allocations: 8.719 kB / 0.4972 GB, free: 1.012 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005646/0.3125, allocations: 211.3 kB / 0.4974 GB, free: 0.9062 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004358/0.313, allocations: 448 kB / 0.4979 GB, free: 0.5664 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.47e-05/0.313, allocations: 30.47 kB / 0.4979 GB, free: 0.5547 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.662e-05/0.3131, allocations: 55.31 kB / 0.4979 GB, free: 0.5312 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006773/0.3137, allocations: 0.7942 MB / 0.4987 GB, free: 15.8 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.538e-05/0.3137, allocations: 3.984 kB / 0.4987 GB, free: 15.8 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.243e-05/0.3138, allocations: 17.75 kB / 0.4987 GB, free: 15.79 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.463e-05/0.3138, allocations: 10.97 kB / 0.4987 GB, free: 15.79 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000369/0.3142, allocations: 271.4 kB / 0.499 GB, free: 15.69 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.001699/0.3159, allocations: 2.311 MB / 0.5013 GB, free: 13.68 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000341/0.3162, allocations: 209 kB / 0.5015 GB, free: 13.58 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001134/0.3163, allocations: 83.5 kB / 0.5015 GB, free: 13.55 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003803/0.3167, allocations: 281.5 kB / 0.5018 GB, free: 13.37 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.82e-05/0.3167, allocations: 45.61 kB / 0.5018 GB, free: 13.32 MB / 378.7 MB Notification: Performance of pre-optimization done (n=33): time 1.603e-06/0.3167, allocations: 0 / 0.5018 GB, free: 13.32 MB / 378.7 MB Notification: Performance of matching and sorting (n=33): time 0.0008882/0.3176, allocations: 462.2 kB / 0.5023 GB, free: 12.86 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.428e-05/0.3177, allocations: 132.5 kB / 0.5024 GB, free: 12.7 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003255/0.318, allocations: 454.5 kB / 0.5028 GB, free: 12.23 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.502e-05/0.3181, allocations: 33.7 kB / 0.5029 GB, free: 12.19 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002093/0.3183, allocations: 347.1 kB / 0.5032 GB, free: 11.84 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.988e-05/0.3183, allocations: 122.9 kB / 0.5033 GB, free: 11.72 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000109/0.3184, allocations: 103.8 kB / 0.5034 GB, free: 11.61 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001554/0.3186, allocations: 0.5274 MB / 0.5039 GB, free: 11.07 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001166/0.3187, allocations: 72.89 kB / 0.504 GB, free: 11 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002322/0.319, allocations: 328.4 kB / 0.5043 GB, free: 10.59 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003269/0.3193, allocations: 323.2 kB / 0.5046 GB, free: 10.21 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.3193, allocations: 8 kB / 0.5046 GB, free: 10.2 MB / 378.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0004875/0.3198, allocations: 408.5 kB / 0.505 GB, free: 9.789 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.3198, allocations: 7.938 kB / 0.505 GB, free: 9.781 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.3198, allocations: 4 kB / 0.505 GB, free: 9.777 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006911/0.3205, allocations: 199.9 kB / 0.5052 GB, free: 9.578 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001957/0.3207, allocations: 103.9 kB / 0.5053 GB, free: 9.477 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000387/0.3211, allocations: 0.8234 MB / 0.5061 GB, free: 8.621 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001387/0.3212, allocations: 43.72 kB / 0.5062 GB, free: 8.578 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.811e-05/0.3213, allocations: 44 kB / 0.5062 GB, free: 8.535 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.0001406/0.3214, allocations: 192.3 kB / 0.5064 GB, free: 8.336 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.468e-05/0.3215, allocations: 59.72 kB / 0.5065 GB, free: 8.277 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008072/0.3223, allocations: 0.5999 MB / 0.507 GB, free: 7.664 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.3223, allocations: 4 kB / 0.5071 GB, free: 7.66 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.409e-06/0.3223, allocations: 0 / 0.5071 GB, free: 7.66 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.3223, allocations: 0 / 0.5071 GB, free: 7.66 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008385/0.3231, allocations: 0.8544 MB / 0.5079 GB, free: 6.738 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/0.3231, allocations: 7.984 kB / 0.5079 GB, free: 6.73 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001167/0.3232, allocations: 55.91 kB / 0.5079 GB, free: 6.676 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001168/0.3244, allocations: 315.4 kB / 0.5082 GB, free: 6.363 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.526e-05/0.3244, allocations: 19.92 kB / 0.5083 GB, free: 6.344 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003183/0.3248, allocations: 0.839 MB / 0.5091 GB, free: 5.473 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.3248, allocations: 0 / 0.5091 GB, free: 5.473 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004082/0.3252, allocations: 477.1 kB / 0.5095 GB, free: 4.957 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.565e-05/0.3252, allocations: 55.67 kB / 0.5096 GB, free: 4.902 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.668e-05/0.3253, allocations: 13.19 kB / 0.5096 GB, free: 4.891 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001355/0.3254, allocations: 15.98 kB / 0.5096 GB, free: 4.875 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.317e-05/0.3255, allocations: 23.95 kB / 0.5096 GB, free: 4.852 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.302e-05/0.3255, allocations: 23.92 kB / 0.5097 GB, free: 4.828 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002191/0.3257, allocations: 315 kB / 0.51 GB, free: 4.523 MB / 378.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3257, allocations: 0 / 0.51 GB, free: 4.523 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005095/0.3262, allocations: 291.2 kB / 0.5102 GB, free: 4.238 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.0006321/0.3268, allocations: 389 kB / 0.5106 GB, free: 3.859 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004323/0.3273, allocations: 257.2 kB / 0.5109 GB, free: 3.605 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.3273, allocations: 0 / 0.5109 GB, free: 3.605 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001471/0.3274, allocations: 112 kB / 0.511 GB, free: 3.492 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007385/0.3282, allocations: 302.7 kB / 0.5113 GB, free: 3.207 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001101/0.3293, allocations: 0.8402 MB / 0.5121 GB, free: 2.309 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.502e-05/0.3293, allocations: 126.5 kB / 0.5122 GB, free: 2.164 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003574/0.3297, allocations: 179.6 kB / 0.5124 GB, free: 1.992 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001288/0.3298, allocations: 76.47 kB / 0.5124 GB, free: 1.914 MB / 378.7 MB Notification: Performance of SimCode: time 5.51e-07/0.3298, allocations: 0 / 0.5124 GB, free: 1.914 MB / 378.7 MB Notification: Performance of Templates: time 0.01814/0.348, allocations: 16.18 MB / 0.5282 GB, free: 1.816 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.7210595277138054]