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.001006/0.001006, allocations: 88.2 kB / 20.94 MB, free: 3.605 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.0009673/0.0009673, allocations: 169 kB / 24.24 MB, free: 312 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.8446/0.8446, allocations: 158.6 MB / 186 MB, free: 2.914 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.1304/0.1304, allocations: 32.37 MB / 270.7 MB, free: 14.77 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.713e-06/1.713e-06, allocations: 7.875 kB / 347.7 MB, free: 9.754 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.936e-05/2.107e-05, allocations: 4.281 kB / 347.7 MB, free: 9.75 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice): time 0.3816/0.3816, allocations: 183.9 MB / 0.5191 GB, free: 11.99 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.007213/0.3888, allocations: 5.68 MB / 0.5247 GB, free: 6.293 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000582/0.3894, allocations: 27.81 kB / 0.5247 GB, free: 6.266 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009374/0.3903, allocations: 321.6 kB / 0.525 GB, free: 5.949 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003938/0.3943, allocations: 1.691 MB / 0.5267 GB, free: 4.25 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00163/0.3959, allocations: 0.7439 MB / 0.5274 GB, free: 3.504 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.001834/0.3977, allocations: 1.574 MB / 0.5289 GB, free: 1.926 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005496/0.3983, allocations: 375.9 kB / 0.5293 GB, free: 1.555 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008842/0.3992, allocations: 0.8104 MB / 0.5301 GB, free: 0.7422 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004446/0.3996, allocations: 410.7 kB / 0.5305 GB, free: 348 kB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 7.136e-05/0.3997, allocations: 52 kB / 0.5305 GB, free: 296 kB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001846/0.4015, allocations: 1.099 MB / 0.5316 GB, free: 15.19 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001429/0.4017, allocations: 171.4 kB / 0.5318 GB, free: 15.02 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002152/0.4019, allocations: 255.4 kB / 0.532 GB, free: 14.77 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00152/0.4034, allocations: 1.437 MB / 0.5334 GB, free: 13.33 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.105e-06/0.4034, allocations: 0 / 0.5334 GB, free: 13.33 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.015e-06/0.4034, allocations: 0 / 0.5334 GB, free: 13.33 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.014e-05/0.4034, allocations: 0 / 0.5334 GB, free: 13.33 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.001632/0.4051, allocations: 1.137 MB / 0.5345 GB, free: 12.15 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.983e-05/0.4051, allocations: 12.02 kB / 0.5345 GB, free: 12.14 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007565/0.4059, allocations: 219 kB / 0.5347 GB, free: 11.93 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005866/0.4065, allocations: 457 kB / 0.5352 GB, free: 11.45 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.819e-05/0.4065, allocations: 36.94 kB / 0.5352 GB, free: 11.41 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.859e-05/0.4066, allocations: 44 kB / 0.5353 GB, free: 11.37 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008489/0.4074, allocations: 0.832 MB / 0.5361 GB, free: 10.41 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.46e-05/0.4074, allocations: 0 / 0.5361 GB, free: 10.41 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.822e-05/0.4075, allocations: 23.94 kB / 0.5361 GB, free: 10.38 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.577e-05/0.4075, allocations: 8 kB / 0.5361 GB, free: 10.38 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004271/0.4079, allocations: 269.7 kB / 0.5364 GB, free: 10.11 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.001925/0.4098, allocations: 2.314 MB / 0.5386 GB, free: 7.719 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000388/0.4102, allocations: 212 kB / 0.5388 GB, free: 7.5 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001311/0.4104, allocations: 88.2 kB / 0.5389 GB, free: 7.41 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005527/0.4109, allocations: 398.6 kB / 0.5393 GB, free: 7.02 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.448e-05/0.4109, allocations: 41.67 kB / 0.5393 GB, free: 6.969 MB / 410.7 MB Notification: Performance of pre-optimization done (n=33): time 2.104e-06/0.4109, allocations: 0 / 0.5393 GB, free: 6.969 MB / 410.7 MB Notification: Performance of matching and sorting (n=33): time 0.0009784/0.4119, allocations: 482.1 kB / 0.5398 GB, free: 6.488 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.193e-05/0.412, allocations: 140.5 kB / 0.5399 GB, free: 6.32 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003689/0.4124, allocations: 446.6 kB / 0.5403 GB, free: 5.863 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.244e-05/0.4124, allocations: 33.7 kB / 0.5404 GB, free: 5.824 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000187/0.4126, allocations: 339 kB / 0.5407 GB, free: 5.488 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.131e-05/0.4127, allocations: 119 kB / 0.5408 GB, free: 5.371 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001118/0.4128, allocations: 111.8 kB / 0.5409 GB, free: 5.254 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001613/0.4129, allocations: 0.5313 MB / 0.5414 GB, free: 4.711 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001262/0.413, allocations: 68.95 kB / 0.5415 GB, free: 4.641 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002652/0.4133, allocations: 328.3 kB / 0.5418 GB, free: 4.227 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003509/0.4137, allocations: 327.2 kB / 0.5421 GB, free: 3.844 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.4137, allocations: 0 / 0.5421 GB, free: 3.844 MB / 410.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0005275/0.4142, allocations: 400.5 kB / 0.5425 GB, free: 3.441 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.192e-05/0.4142, allocations: 10.78 kB / 0.5425 GB, free: 3.434 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.4142, allocations: 8 kB / 0.5425 GB, free: 3.426 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007232/0.4149, allocations: 195.4 kB / 0.5427 GB, free: 3.23 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002008/0.4151, allocations: 103.9 kB / 0.5428 GB, free: 3.129 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004268/0.4156, allocations: 0.8341 MB / 0.5436 GB, free: 2.266 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001378/0.4157, allocations: 39.73 kB / 0.5437 GB, free: 2.227 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.434e-05/0.4158, allocations: 47.98 kB / 0.5437 GB, free: 2.18 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.0001541/0.4159, allocations: 180.5 kB / 0.5439 GB, free: 1.992 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.17e-05/0.416, allocations: 67.59 kB / 0.5439 GB, free: 1.926 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000889/0.4169, allocations: 0.6121 MB / 0.5445 GB, free: 1.293 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.4169, allocations: 4 kB / 0.5445 GB, free: 1.289 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.4169, allocations: 0 / 0.5445 GB, free: 1.289 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.4169, allocations: 0 / 0.5445 GB, free: 1.289 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008308/0.4177, allocations: 0.7986 MB / 0.5453 GB, free: 436 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.4177, allocations: 0 / 0.5453 GB, free: 436 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001068/0.4178, allocations: 55.91 kB / 0.5454 GB, free: 380 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001321/0.4192, allocations: 343.3 kB / 0.5457 GB, free: 32 kB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.002e-05/0.4192, allocations: 15.98 kB / 0.5457 GB, free: 16 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003533/0.4195, allocations: 0.8442 MB / 0.5465 GB, free: 15.14 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.4195, allocations: 0 / 0.5465 GB, free: 15.14 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004012/0.4199, allocations: 461.8 kB / 0.547 GB, free: 14.64 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.791e-05/0.42, allocations: 47.64 kB / 0.547 GB, free: 14.6 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.144e-05/0.42, allocations: 11.94 kB / 0.547 GB, free: 14.59 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001338/0.4202, allocations: 16 kB / 0.5471 GB, free: 14.57 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.113e-05/0.4202, allocations: 19.95 kB / 0.5471 GB, free: 14.55 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.331e-05/0.4203, allocations: 24.61 kB / 0.5471 GB, free: 14.53 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0004179/0.4207, allocations: 327 kB / 0.5474 GB, free: 14.21 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.4207, allocations: 32 / 0.5474 GB, free: 14.21 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005761/0.4213, allocations: 339 kB / 0.5477 GB, free: 13.88 MB / 426.7 MB 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.0008205/0.4221, allocations: 494.4 kB / 0.5482 GB, free: 13.39 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0004608/0.4225, allocations: 245.2 kB / 0.5484 GB, free: 13.15 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.4225, allocations: 8.125 kB / 0.5484 GB, free: 13.14 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001599/0.4227, allocations: 119.4 kB / 0.5486 GB, free: 13.02 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007923/0.4235, allocations: 290.3 kB / 0.5488 GB, free: 12.75 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001196/0.4247, allocations: 0.8326 MB / 0.5497 GB, free: 11.86 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.331e-05/0.4248, allocations: 122.4 kB / 0.5498 GB, free: 11.72 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0003732/0.4251, allocations: 185.4 kB / 0.5499 GB, free: 11.54 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000132/0.4253, allocations: 80.41 kB / 0.55 GB, free: 11.46 MB / 426.7 MB Notification: Performance of SimCode: time 1.012e-06/0.4253, allocations: 0 / 0.55 GB, free: 11.46 MB / 426.7 MB Notification: Performance of Templates: time 0.01908/0.4444, allocations: 15.44 MB / 0.5651 GB, free: 12.11 MB / 442.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: 4.084777934011072]