Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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.0008668/0.0008668, allocations: 83.58 kB / 21.19 MB, free: 3.383 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.0009048/0.0009048, allocations: 165 kB / 24.56 MB, free: 12 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9119/0.9119, allocations: 177.1 MB / 205 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2489/0.2489, allocations: 32.81 MB / 294.3 MB, free: 1.215 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.0.0_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_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.724e-06/1.724e-06, allocations: 3.938 kB / 376 MB, free: 4.641 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.882e-05/2.054e-05, allocations: 2.312 kB / 376 MB, free: 4.637 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice): time 0.2989/0.2989, allocations: 148.8 MB / 0.5126 GB, free: 17.35 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003895/0.3028, allocations: 3.046 MB / 0.5155 GB, free: 15.36 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004596/0.3032, allocations: 31 kB / 0.5156 GB, free: 15.34 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005178/0.3038, allocations: 188.8 kB / 0.5157 GB, free: 15.25 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002291/0.3061, allocations: 1.235 MB / 0.5169 GB, free: 14.59 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001/0.3071, allocations: 0.5871 MB / 0.5175 GB, free: 14.29 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001329/0.3084, allocations: 1.55 MB / 0.519 GB, free: 13.55 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004449/0.3088, allocations: 373.8 kB / 0.5194 GB, free: 13.34 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007596/0.3096, allocations: 0.7738 MB / 0.5201 GB, free: 13.03 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005288/0.3101, allocations: 492.7 kB / 0.5206 GB, free: 12.88 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 8.101e-05/0.3102, allocations: 51.47 kB / 0.5207 GB, free: 12.88 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001091/0.3113, allocations: 0.8113 MB / 0.5215 GB, free: 12.66 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001116/0.3114, allocations: 169.3 kB / 0.5216 GB, free: 12.56 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001921/0.3116, allocations: 250.8 kB / 0.5219 GB, free: 12.47 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001287/0.3129, allocations: 1.195 MB / 0.523 GB, free: 12.03 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.3129, allocations: 0 / 0.523 GB, free: 12.03 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.3129, allocations: 10.75 kB / 0.523 GB, free: 12.02 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.439e-05/0.3129, allocations: 0 / 0.523 GB, free: 12.02 MB / 410.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.001205/0.3141, allocations: 1.078 MB / 0.5241 GB, free: 11.27 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.65e-05/0.3141, allocations: 8.281 kB / 0.5241 GB, free: 11.27 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006027/0.3147, allocations: 217 kB / 0.5243 GB, free: 11.18 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000453/0.3152, allocations: 437.2 kB / 0.5247 GB, free: 10.89 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.31e-05/0.3152, allocations: 40.83 kB / 0.5248 GB, free: 10.88 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.135e-05/0.3153, allocations: 43.78 kB / 0.5248 GB, free: 10.86 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006419/0.3159, allocations: 0.8098 MB / 0.5256 GB, free: 10.22 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.182e-05/0.3159, allocations: 0 / 0.5256 GB, free: 10.22 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.002e-05/0.316, allocations: 21.56 kB / 0.5256 GB, free: 10.2 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.259e-05/0.316, allocations: 11.38 kB / 0.5256 GB, free: 10.2 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003688/0.3163, allocations: 271 kB / 0.5259 GB, free: 10.16 MB / 410.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.001503/0.3179, allocations: 2.27 MB / 0.5281 GB, free: 8.359 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003449/0.3182, allocations: 216.4 kB / 0.5283 GB, free: 8.289 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001075/0.3183, allocations: 84.06 kB / 0.5284 GB, free: 8.266 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001422/0.3184, allocations: 57.14 kB / 0.5284 GB, free: 8.25 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.877e-05/0.3185, allocations: 44.33 kB / 0.5285 GB, free: 8.199 MB / 410.7 MB Notification: Performance of pre-optimization done (n=33): time 1.723e-06/0.3185, allocations: 0 / 0.5285 GB, free: 8.199 MB / 410.7 MB Notification: Performance of matching and sorting (n=33): time 0.0008202/0.3193, allocations: 490.1 kB / 0.5289 GB, free: 8.039 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.845e-05/0.3193, allocations: 130.9 kB / 0.5291 GB, free: 7.883 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002403/0.3196, allocations: 442.5 kB / 0.5295 GB, free: 7.629 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.499e-05/0.3196, allocations: 32.05 kB / 0.5295 GB, free: 7.594 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001013/0.3197, allocations: 342.8 kB / 0.5298 GB, free: 7.309 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.384e-05/0.3197, allocations: 125.3 kB / 0.53 GB, free: 7.211 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.69e-05/0.3198, allocations: 112.8 kB / 0.5301 GB, free: 7.152 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.285e-05/0.3199, allocations: 0.5284 MB / 0.5306 GB, free: 6.641 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001074/0.32, allocations: 69.66 kB / 0.5307 GB, free: 6.633 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001593/0.3202, allocations: 332.5 kB / 0.531 GB, free: 6.297 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002694/0.3204, allocations: 323.7 kB / 0.5313 GB, free: 6.055 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.3204, allocations: 0 / 0.5313 GB, free: 6.055 MB / 410.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0004469/0.3209, allocations: 408 kB / 0.5317 GB, free: 5.902 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/0.3209, allocations: 9.688 kB / 0.5317 GB, free: 5.898 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.3209, allocations: 2.875 kB / 0.5317 GB, free: 5.898 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000652/0.3216, allocations: 203 kB / 0.5319 GB, free: 5.875 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001861/0.3218, allocations: 103.8 kB / 0.532 GB, free: 5.863 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002275/0.322, allocations: 0.8284 MB / 0.5328 GB, free: 5.051 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001324/0.3221, allocations: 41.83 kB / 0.5328 GB, free: 5.023 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.754e-05/0.3222, allocations: 43.88 kB / 0.5329 GB, free: 5.02 MB / 410.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.0001125/0.3223, allocations: 187.6 kB / 0.533 GB, free: 4.836 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.147e-05/0.3223, allocations: 60.17 kB / 0.5331 GB, free: 4.805 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000929/0.3233, allocations: 0.9704 MB / 0.5341 GB, free: 4.496 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.3233, allocations: 2.688 kB / 0.5341 GB, free: 4.496 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.828e-06/0.3233, allocations: 0 / 0.5341 GB, free: 4.496 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/0.3233, allocations: 1.922 kB / 0.5341 GB, free: 4.496 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007091/0.324, allocations: 0.8506 MB / 0.5349 GB, free: 3.93 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.324, allocations: 2.969 kB / 0.5349 GB, free: 3.93 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001018/0.3241, allocations: 51.14 kB / 0.5349 GB, free: 3.926 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001102/0.3252, allocations: 319.7 kB / 0.5352 GB, free: 3.898 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.136e-05/0.3252, allocations: 17.69 kB / 0.5353 GB, free: 3.887 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002083/0.3254, allocations: 0.8358 MB / 0.5361 GB, free: 3.07 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.3254, allocations: 6.219 kB / 0.5361 GB, free: 3.07 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003529/0.3258, allocations: 478.3 kB / 0.5365 GB, free: 2.719 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.084e-05/0.3258, allocations: 56.61 kB / 0.5366 GB, free: 2.68 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.761e-05/0.3259, allocations: 13.17 kB / 0.5366 GB, free: 2.672 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001343/0.326, allocations: 12.02 kB / 0.5366 GB, free: 2.668 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.708e-05/0.3261, allocations: 31.3 kB / 0.5366 GB, free: 2.66 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.153e-05/0.3261, allocations: 22.42 kB / 0.5367 GB, free: 2.652 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001967/0.3263, allocations: 315.8 kB / 0.537 GB, free: 2.492 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3263, allocations: 3.531 kB / 0.537 GB, free: 2.492 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000599/0.3269, allocations: 281.1 kB / 0.5372 GB, free: 2.426 MB / 410.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.000627/0.3275, allocations: 347 kB / 0.5376 GB, free: 2.262 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004404/0.328, allocations: 259.1 kB / 0.5378 GB, free: 2.195 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.328, allocations: 0 / 0.5378 GB, free: 2.195 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001341/0.3281, allocations: 116.1 kB / 0.5379 GB, free: 2.156 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007311/0.3288, allocations: 303.1 kB / 0.5382 GB, free: 2.086 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009997/0.3298, allocations: 0.8389 MB / 0.539 GB, free: 1.539 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.862e-05/0.3299, allocations: 131.6 kB / 0.5392 GB, free: 1.457 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005134/0.3304, allocations: 493.2 kB / 0.5396 GB, free: 1.371 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001447/0.3305, allocations: 85.52 kB / 0.5397 GB, free: 1.352 MB / 410.7 MB Notification: Performance of SimCode: time 1.002e-06/0.3305, allocations: 0 / 0.5397 GB, free: 1.352 MB / 410.7 MB Notification: Performance of Templates: time 0.01692/0.3475, allocations: 16 MB / 0.5553 GB, free: 5.008 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/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.6369929150678217]