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.001464/0.001464, allocations: 112.7 kB / 17.05 MB, free: 6.074 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.001153/0.001153, allocations: 196 kB / 17.97 MB, free: 5.156 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.578/1.578, allocations: 205.1 MB / 223.8 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2299/0.2299, allocations: 43.52 MB / 314.7 MB, free: 488 kB / 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.001783/0.001783, allocations: 71.11 kB / 384.2 MB, free: 56.34 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1445/0.1464, allocations: 57.79 MB / 442 MB, free: 6.141 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice): time 0.6793/0.8257, allocations: 190 MB / 0.6172 GB, free: 1.812 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01007/0.8359, allocations: 5.704 MB / 0.6227 GB, free: 13.23 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001006/0.8369, allocations: 17.97 kB / 0.6228 GB, free: 13.22 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001297/0.8383, allocations: 323.1 kB / 0.6231 GB, free: 12.95 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004991/0.8433, allocations: 1.627 MB / 0.6247 GB, free: 11.79 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002237/0.8455, allocations: 0.7308 MB / 0.6254 GB, free: 11.25 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002703/0.8482, allocations: 1.55 MB / 0.6269 GB, free: 10.36 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007024/0.849, allocations: 431.4 kB / 0.6273 GB, free: 10.09 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001093/0.8501, allocations: 0.5744 MB / 0.6279 GB, free: 9.773 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006392/0.8507, allocations: 463.9 kB / 0.6283 GB, free: 9.449 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.235e-05/0.8508, allocations: 52 kB / 0.6284 GB, free: 9.398 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003436/0.8543, allocations: 1.408 MB / 0.6297 GB, free: 7.988 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000232/0.8545, allocations: 159.4 kB / 0.6299 GB, free: 7.832 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000564/0.8551, allocations: 346.4 kB / 0.6302 GB, free: 7.492 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005138/0.8602, allocations: 1.621 MB / 0.6318 GB, free: 5.867 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.227e-06/0.8603, allocations: 0 / 0.6318 GB, free: 5.867 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.546e-06/0.8603, allocations: 0 / 0.6318 GB, free: 5.867 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.382e-05/0.8603, allocations: 0 / 0.6318 GB, free: 5.867 MB / 446.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.002533/0.8629, allocations: 1.095 MB / 0.6329 GB, free: 4.719 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.756e-05/0.8629, allocations: 8.031 kB / 0.6329 GB, free: 4.711 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001028/0.864, allocations: 139.2 kB / 0.633 GB, free: 4.574 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001027/0.865, allocations: 0.4926 MB / 0.6335 GB, free: 4.043 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.955e-05/0.8651, allocations: 29 kB / 0.6335 GB, free: 4.012 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.661e-05/0.8651, allocations: 40 kB / 0.6336 GB, free: 3.973 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001087/0.8662, allocations: 0.5944 MB / 0.6341 GB, free: 3.344 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.745e-05/0.8663, allocations: 0 / 0.6341 GB, free: 3.344 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.088e-05/0.8663, allocations: 27.98 kB / 0.6342 GB, free: 3.316 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.581e-05/0.8664, allocations: 8 kB / 0.6342 GB, free: 3.309 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009249/0.8673, allocations: 483.6 kB / 0.6346 GB, free: 2.836 MB / 446.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.003389/0.8707, allocations: 2.69 MB / 0.6373 GB, free: 15.92 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007186/0.8714, allocations: 351.3 kB / 0.6376 GB, free: 15.57 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003287/0.8718, allocations: 169.3 kB / 0.6378 GB, free: 15.4 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001522/0.8733, allocations: 1.301 MB / 0.639 GB, free: 13.88 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.457e-05/0.8733, allocations: 38.84 kB / 0.6391 GB, free: 13.84 MB / 462.1 MB Notification: Performance of pre-optimization done (n=33): time 3.256e-06/0.8734, allocations: 3.984 kB / 0.6391 GB, free: 13.83 MB / 462.1 MB Notification: Performance of matching and sorting (n=33): time 0.001714/0.8751, allocations: 0.7259 MB / 0.6398 GB, free: 13.08 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.111e-05/0.8752, allocations: 132.5 kB / 0.6399 GB, free: 12.92 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006248/0.8758, allocations: 0.4902 MB / 0.6404 GB, free: 12.42 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 5.156e-05/0.8759, allocations: 37.7 kB / 0.6404 GB, free: 12.38 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002351/0.8761, allocations: 275.9 kB / 0.6407 GB, free: 12.1 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001053/0.8762, allocations: 122.2 kB / 0.6408 GB, free: 11.98 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001676/0.8764, allocations: 98.11 kB / 0.6409 GB, free: 11.88 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001783/0.8766, allocations: 358.8 kB / 0.6412 GB, free: 11.52 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003063/0.8769, allocations: 152.8 kB / 0.6414 GB, free: 11.37 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004061/0.8773, allocations: 287.5 kB / 0.6416 GB, free: 11.04 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007277/0.8781, allocations: 442.3 kB / 0.6421 GB, free: 10.56 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.458e-06/0.8781, allocations: 4 kB / 0.6421 GB, free: 10.56 MB / 462.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009814/0.8791, allocations: 0.5365 MB / 0.6426 GB, free: 10.01 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.794e-05/0.8791, allocations: 12.72 kB / 0.6426 GB, free: 10 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.14e-05/0.8791, allocations: 4.438 kB / 0.6426 GB, free: 9.996 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001472/0.8806, allocations: 236.5 kB / 0.6428 GB, free: 9.762 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003372/0.881, allocations: 103.8 kB / 0.6429 GB, free: 9.66 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004851/0.8815, allocations: 0.595 MB / 0.6435 GB, free: 9.043 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003214/0.8818, allocations: 47.52 kB / 0.6436 GB, free: 8.996 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.955e-05/0.8819, allocations: 47.98 kB / 0.6436 GB, free: 8.949 MB / 462.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.0002727/0.8822, allocations: 193.6 kB / 0.6438 GB, free: 8.75 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001159/0.8823, allocations: 55.34 kB / 0.6438 GB, free: 8.695 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001485/0.8838, allocations: 0.7191 MB / 0.6445 GB, free: 7.953 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.903e-06/0.8838, allocations: 4 kB / 0.6446 GB, free: 7.949 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/0.8838, allocations: 0.625 kB / 0.6446 GB, free: 7.949 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.564e-06/0.8838, allocations: 3.984 kB / 0.6446 GB, free: 7.945 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001591/0.8854, allocations: 1.035 MB / 0.6456 GB, free: 6.836 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.447e-06/0.8854, allocations: 0 / 0.6456 GB, free: 6.836 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002066/0.8856, allocations: 59.91 kB / 0.6456 GB, free: 6.777 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002949/0.8886, allocations: 444.3 kB / 0.646 GB, free: 6.34 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.721e-05/0.8886, allocations: 11.94 kB / 0.6461 GB, free: 6.328 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004407/0.8891, allocations: 0.6109 MB / 0.6467 GB, free: 5.691 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.8891, allocations: 3.938 kB / 0.6467 GB, free: 5.688 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007899/0.8899, allocations: 0.5121 MB / 0.6472 GB, free: 5.141 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001661/0.8901, allocations: 144.3 kB / 0.6473 GB, free: 4.98 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.911e-05/0.8902, allocations: 11.91 kB / 0.6473 GB, free: 4.969 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003232/0.8905, allocations: 15.98 kB / 0.6473 GB, free: 4.953 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.366e-05/0.8906, allocations: 31.84 kB / 0.6474 GB, free: 4.922 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.924e-05/0.8906, allocations: 19.98 kB / 0.6474 GB, free: 4.902 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.000576/0.8912, allocations: 426.8 kB / 0.6478 GB, free: 4.488 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.8912, allocations: 0 / 0.6478 GB, free: 4.488 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001067/0.8923, allocations: 319.8 kB / 0.6481 GB, free: 4.176 MB / 462.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.001063/0.8934, allocations: 450.2 kB / 0.6485 GB, free: 3.738 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0008919/0.8943, allocations: 375.6 kB / 0.6489 GB, free: 3.371 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.8943, allocations: 4 kB / 0.6489 GB, free: 3.367 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003535/0.8947, allocations: 172.9 kB / 0.649 GB, free: 3.199 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00147/0.8961, allocations: 360.8 kB / 0.6494 GB, free: 2.852 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001419/0.8976, allocations: 0.8899 MB / 0.6503 GB, free: 1.922 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004241/0.898, allocations: 0.8635 MB / 0.6511 GB, free: 1.027 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.000621/0.8986, allocations: 201 kB / 0.6513 GB, free: 0.8281 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001856/0.8988, allocations: 75.42 kB / 0.6514 GB, free: 0.7539 MB / 462.1 MB Notification: Performance of SimCode: time 5.91e-07/0.8988, allocations: 0 / 0.6514 GB, free: 0.7539 MB / 462.1 MB Notification: Performance of Templates: time 0.02952/0.9284, allocations: 16.8 MB / 0.6678 GB, free: 15.98 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/NewFittings/Orifices/ThickEdgedOrifice/ThickEdgedOrifice.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches