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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ramp.y|boundary.ports.1..m_flow|boundary.ports.1..p|boundary.ports.1..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=5000,variableFilter="time|ramp.y|boundary.ports.1..m_flow|boundary.ports.1..p|boundary.ports.1..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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0016/0.0016, allocations: 99.14 kB / 15.98 MB, free: 5.879 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002053/0.002053, allocations: 193 kB / 16.9 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.756/1.756, allocations: 205.1 MB / 222.8 MB, free: 4.551 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3933/0.3933, allocations: 43.5 MB / 313.6 MB, free: 8.281 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001756/0.001756, allocations: 67.89 kB / 382.2 MB, free: 8.359 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1396/0.1414, allocations: 57.78 MB / 440 MB, free: 14.47 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice): time 0.4835/0.6249, allocations: 188 MB / 0.6133 GB, free: 15.8 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.009319/0.6343, allocations: 5.748 MB / 0.6189 GB, free: 10.05 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001039/0.6354, allocations: 23.81 kB / 0.6189 GB, free: 10.02 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001193/0.6366, allocations: 286.5 kB / 0.6192 GB, free: 9.742 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004284/0.6409, allocations: 1.483 MB / 0.6206 GB, free: 8.262 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001962/0.6429, allocations: 0.6736 MB / 0.6213 GB, free: 7.598 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.002102/0.645, allocations: 1.564 MB / 0.6228 GB, free: 6.031 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006376/0.6456, allocations: 422.8 kB / 0.6232 GB, free: 5.621 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001161/0.6468, allocations: 0.5916 MB / 0.6238 GB, free: 5.027 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007033/0.6475, allocations: 478.1 kB / 0.6243 GB, free: 4.559 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.293e-05/0.6476, allocations: 52 kB / 0.6243 GB, free: 4.508 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004158/0.6518, allocations: 1.322 MB / 0.6256 GB, free: 3.184 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003284/0.6522, allocations: 171.4 kB / 0.6258 GB, free: 3.016 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007047/0.6529, allocations: 350.3 kB / 0.6261 GB, free: 2.672 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005113/0.658, allocations: 1.621 MB / 0.6277 GB, free: 1.047 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.384e-06/0.6581, allocations: 0 / 0.6277 GB, free: 1.047 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.835e-06/0.6581, allocations: 0 / 0.6277 GB, free: 1.047 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.514e-05/0.6581, allocations: 0 / 0.6277 GB, free: 1.047 MB / 494.1 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.245/0.9032, allocations: 1.089 MB / 0.6288 GB, free: 160.2 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.771e-05/0.9033, allocations: 12.31 kB / 0.6288 GB, free: 160.2 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001726/0.905, allocations: 145.9 kB / 0.6289 GB, free: 160.1 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009212/0.9059, allocations: 485 kB / 0.6294 GB, free: 159.9 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.686e-05/0.906, allocations: 31.03 kB / 0.6294 GB, free: 159.9 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.846e-05/0.9061, allocations: 37.47 kB / 0.6294 GB, free: 159.9 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001246/0.9073, allocations: 0.5932 MB / 0.63 GB, free: 159.8 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.098e-05/0.9074, allocations: 4.656 kB / 0.63 GB, free: 159.8 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.026e-05/0.9075, allocations: 27.09 kB / 0.63 GB, free: 159.8 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.207e-05/0.9075, allocations: 10.88 kB / 0.6301 GB, free: 159.8 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009441/0.9084, allocations: 478.9 kB / 0.6305 GB, free: 159.8 MB / 494.1 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.002807/0.9113, allocations: 2.697 MB / 0.6331 GB, free: 158 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006558/0.9119, allocations: 346.4 kB / 0.6335 GB, free: 158 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002561/0.9122, allocations: 171.7 kB / 0.6336 GB, free: 158 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001008/0.9132, allocations: 1.305 MB / 0.6349 GB, free: 156.8 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.709e-05/0.9133, allocations: 37.22 kB / 0.6349 GB, free: 156.8 MB / 494.1 MB Notification: Performance of pre-optimization done (n=33): time 2.364e-06/0.9133, allocations: 0 / 0.6349 GB, free: 156.8 MB / 494.1 MB Notification: Performance of matching and sorting (n=33): time 0.001588/0.9149, allocations: 0.7301 MB / 0.6357 GB, free: 156.6 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.115e-05/0.9149, allocations: 131.3 kB / 0.6358 GB, free: 156.4 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005095/0.9154, allocations: 498.3 kB / 0.6363 GB, free: 156.2 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.981e-05/0.9155, allocations: 36.33 kB / 0.6363 GB, free: 156.2 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001701/0.9157, allocations: 285.1 kB / 0.6366 GB, free: 155.9 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.341e-05/0.9158, allocations: 118.1 kB / 0.6367 GB, free: 155.8 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001335/0.9159, allocations: 100.5 kB / 0.6368 GB, free: 155.8 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.322e-05/0.916, allocations: 362.6 kB / 0.6371 GB, free: 155.5 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002746/0.9163, allocations: 144.7 kB / 0.6373 GB, free: 155.4 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003345/0.9166, allocations: 282.6 kB / 0.6375 GB, free: 155.2 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006189/0.9173, allocations: 439.9 kB / 0.6379 GB, free: 155 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.509e-06/0.9173, allocations: 2.781 kB / 0.6379 GB, free: 155 MB / 494.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008956/0.9182, allocations: 0.5447 MB / 0.6385 GB, free: 154.8 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.824e-05/0.9182, allocations: 5.875 kB / 0.6385 GB, free: 154.8 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.041e-05/0.9182, allocations: 5.438 kB / 0.6385 GB, free: 154.8 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00147/0.9197, allocations: 240.2 kB / 0.6387 GB, free: 154.7 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003211/0.92, allocations: 110.4 kB / 0.6388 GB, free: 154.7 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003552/0.9204, allocations: 0.5935 MB / 0.6394 GB, free: 154.2 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003733/0.9208, allocations: 67.59 kB / 0.6395 GB, free: 154.1 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.291e-05/0.9209, allocations: 45.45 kB / 0.6395 GB, free: 154.1 MB / 494.1 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.0001995/0.9211, allocations: 185.8 kB / 0.6397 GB, free: 154 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001132/0.9212, allocations: 50.22 kB / 0.6397 GB, free: 154 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001378/0.9226, allocations: 0.7334 MB / 0.6405 GB, free: 153.7 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.721e-06/0.9226, allocations: 3.375 kB / 0.6405 GB, free: 153.7 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/0.9226, allocations: 3.062 kB / 0.6405 GB, free: 153.7 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.9226, allocations: 7.328 kB / 0.6405 GB, free: 153.7 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001337/0.924, allocations: 1.036 MB / 0.6415 GB, free: 153.1 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/0.924, allocations: 3.188 kB / 0.6415 GB, free: 153.1 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001906/0.9242, allocations: 52.53 kB / 0.6415 GB, free: 153 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002969/0.9271, allocations: 444.7 kB / 0.642 GB, free: 153 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.191e-05/0.9272, allocations: 17.02 kB / 0.642 GB, free: 153 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003162/0.9275, allocations: 0.604 MB / 0.6426 GB, free: 152.4 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.9275, allocations: 7.438 kB / 0.6426 GB, free: 152.4 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007236/0.9283, allocations: 0.5148 MB / 0.6431 GB, free: 152.1 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001477/0.9284, allocations: 143 kB / 0.6432 GB, free: 152 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001226/0.9285, allocations: 7.094 kB / 0.6432 GB, free: 152 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003853/0.9289, allocations: 35.08 kB / 0.6432 GB, free: 152 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.322e-05/0.929, allocations: 26.58 kB / 0.6433 GB, free: 152 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.463e-05/0.929, allocations: 21.89 kB / 0.6433 GB, free: 152 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0004183/0.9295, allocations: 420.5 kB / 0.6437 GB, free: 151.8 MB / 494.1 MB Notification: Performance of sort global known variables: time 2e-07/0.9295, allocations: 0 / 0.6437 GB, free: 151.8 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0009016/0.9304, allocations: 326.6 kB / 0.644 GB, free: 151.7 MB / 494.1 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.00104/0.9314, allocations: 453.1 kB / 0.6444 GB, free: 151.6 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0008269/0.9323, allocations: 389 kB / 0.6448 GB, free: 151.5 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.9323, allocations: 3.75 kB / 0.6448 GB, free: 151.5 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00031/0.9326, allocations: 166.5 kB / 0.645 GB, free: 151.5 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001535/0.9341, allocations: 357.2 kB / 0.6453 GB, free: 151.4 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001244/0.9354, allocations: 1.085 MB / 0.6464 GB, free: 150.7 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002526/0.9357, allocations: 0.8596 MB / 0.6472 GB, free: 150 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.000813/0.9365, allocations: 212.1 kB / 0.6474 GB, free: 149.9 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002032/0.9367, allocations: 72.86 kB / 0.6475 GB, free: 149.9 MB / 494.1 MB Notification: Performance of SimCode: time 2.51e-07/0.9367, allocations: 0 / 0.6475 GB, free: 149.9 MB / 494.1 MB Notification: Performance of Templates: time 0.0315/0.9682, allocations: 16.7 MB / 0.6638 GB, free: 147.7 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.makefile (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=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe 2>&1) 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","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches