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.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.001617/0.001617, allocations: 106.8 kB / 17.2 MB, free: 6.27 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.001302/0.001302, allocations: 194 kB / 18.12 MB, free: 5.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.421/1.421, allocations: 222.9 MB / 241.8 MB, free: 15.56 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.227/0.227, allocations: 44.18 MB / 336.1 MB, free: 3.02 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001321/0.001321, allocations: 60.31 kB / 407.7 MB, free: 27.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1126/0.114, allocations: 60.83 MB / 468.5 MB, free: 14.83 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice): time 0.4456/0.5596, allocations: 181 MB / 0.6344 GB, free: 12.04 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.005628/0.5653, allocations: 3.388 MB / 0.6377 GB, free: 8.645 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007198/0.566, allocations: 23.81 kB / 0.6377 GB, free: 8.621 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009209/0.567, allocations: 278.5 kB / 0.638 GB, free: 8.348 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003786/0.5708, allocations: 1.228 MB / 0.6392 GB, free: 7.121 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001906/0.5727, allocations: 0.6586 MB / 0.6398 GB, free: 6.469 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.002358/0.5751, allocations: 2.043 MB / 0.6418 GB, free: 4.414 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005509/0.5756, allocations: 364.4 kB / 0.6421 GB, free: 4.059 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008116/0.5764, allocations: 0.533 MB / 0.6427 GB, free: 3.523 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005325/0.577, allocations: 482 kB / 0.6431 GB, free: 3.051 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 8.159e-05/0.5771, allocations: 28 kB / 0.6431 GB, free: 3.023 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002034/0.5791, allocations: 1.108 MB / 0.6442 GB, free: 1.914 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001728/0.5793, allocations: 147.4 kB / 0.6444 GB, free: 1.77 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003321/0.5796, allocations: 330.5 kB / 0.6447 GB, free: 1.445 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001794/0.5814, allocations: 1.469 MB / 0.6461 GB, free: 15.97 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.5815, allocations: 0 / 0.6461 GB, free: 15.97 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.545e-06/0.5815, allocations: 0 / 0.6461 GB, free: 15.97 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.595e-06/0.5815, allocations: 3.938 kB / 0.6461 GB, free: 15.97 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.001833/0.5833, allocations: 1.058 MB / 0.6472 GB, free: 14.86 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.8e-05/0.5834, allocations: 8.031 kB / 0.6472 GB, free: 14.86 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009881/0.5844, allocations: 147 kB / 0.6473 GB, free: 14.71 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000618/0.585, allocations: 484.4 kB / 0.6478 GB, free: 14.2 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.551e-05/0.585, allocations: 33 kB / 0.6478 GB, free: 14.16 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.076e-05/0.5851, allocations: 39.94 kB / 0.6478 GB, free: 14.12 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001079/0.5862, allocations: 0.5997 MB / 0.6484 GB, free: 13.49 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.445e-05/0.5862, allocations: 3.938 kB / 0.6484 GB, free: 13.48 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.948e-05/0.5863, allocations: 20 kB / 0.6484 GB, free: 13.46 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.229e-05/0.5863, allocations: 12 kB / 0.6485 GB, free: 13.45 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009462/0.5873, allocations: 483.6 kB / 0.6489 GB, free: 12.98 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.002928/0.5902, allocations: 2.667 MB / 0.6515 GB, free: 10.09 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007696/0.591, allocations: 343.5 kB / 0.6518 GB, free: 9.75 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003274/0.5913, allocations: 173.3 kB / 0.652 GB, free: 9.578 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004792/0.5918, allocations: 437.8 kB / 0.6524 GB, free: 9.059 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.518e-05/0.5919, allocations: 46.72 kB / 0.6525 GB, free: 9.008 MB / 494.1 MB Notification: Performance of pre-optimization done (n=33): time 1.473e-06/0.5919, allocations: 0 / 0.6525 GB, free: 9.008 MB / 494.1 MB Notification: Performance of matching and sorting (n=33): time 0.001726/0.5936, allocations: 0.7342 MB / 0.6532 GB, free: 8.246 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.655e-05/0.5937, allocations: 136.5 kB / 0.6533 GB, free: 8.082 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005478/0.5943, allocations: 494 kB / 0.6538 GB, free: 7.59 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.419e-05/0.5943, allocations: 29.7 kB / 0.6538 GB, free: 7.555 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001972/0.5945, allocations: 291.7 kB / 0.6541 GB, free: 7.266 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.639e-05/0.5946, allocations: 106.4 kB / 0.6542 GB, free: 7.16 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001624/0.5948, allocations: 110 kB / 0.6543 GB, free: 7.047 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001594/0.595, allocations: 358.8 kB / 0.6546 GB, free: 6.688 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003215/0.5953, allocations: 156.7 kB / 0.6548 GB, free: 6.535 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004086/0.5957, allocations: 283.7 kB / 0.6551 GB, free: 6.203 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007088/0.5964, allocations: 441.6 kB / 0.6555 GB, free: 5.727 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.5964, allocations: 0 / 0.6555 GB, free: 5.727 MB / 494.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.000992/0.5974, allocations: 0.5483 MB / 0.656 GB, free: 5.168 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.892e-05/0.5975, allocations: 7.938 kB / 0.656 GB, free: 5.16 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.5975, allocations: 4 kB / 0.656 GB, free: 5.156 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001545/0.599, allocations: 240.7 kB / 0.6563 GB, free: 4.918 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000388/0.5994, allocations: 107.8 kB / 0.6564 GB, free: 4.812 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004548/0.5999, allocations: 0.5915 MB / 0.6569 GB, free: 4.195 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003626/0.6003, allocations: 67.41 kB / 0.657 GB, free: 4.129 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.524e-05/0.6003, allocations: 40.09 kB / 0.657 GB, free: 4.09 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.000252/0.6006, allocations: 193.6 kB / 0.6572 GB, free: 3.891 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001151/0.6007, allocations: 55.5 kB / 0.6573 GB, free: 3.836 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002044/0.6028, allocations: 1.094 MB / 0.6584 GB, free: 2.715 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.342e-06/0.6028, allocations: 4 kB / 0.6584 GB, free: 2.711 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.6028, allocations: 0 / 0.6584 GB, free: 2.711 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.274e-06/0.6028, allocations: 3.984 kB / 0.6584 GB, free: 2.707 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001541/0.6044, allocations: 1.032 MB / 0.6594 GB, free: 1.602 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.102e-06/0.6044, allocations: 7.984 kB / 0.6594 GB, free: 1.594 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002094/0.6046, allocations: 47.92 kB / 0.6594 GB, free: 1.547 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003454/0.6081, allocations: 448.3 kB / 0.6598 GB, free: 1.105 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.168e-05/0.6081, allocations: 12 kB / 0.6599 GB, free: 1.094 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005738/0.6087, allocations: 0.6109 MB / 0.6605 GB, free: 468 kB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/0.6087, allocations: 7.969 kB / 0.6605 GB, free: 460 kB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000993/0.6097, allocations: 0.5155 MB / 0.661 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001746/0.6099, allocations: 136.3 kB / 0.6611 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001114/0.61, allocations: 12 kB / 0.6611 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000422/0.6105, allocations: 35.91 kB / 0.6611 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.246e-05/0.6105, allocations: 23.97 kB / 0.6612 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.229e-05/0.6106, allocations: 23.92 kB / 0.6612 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0005604/0.6111, allocations: 418.8 kB / 0.6616 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.4e-07/0.6112, allocations: 0 / 0.6616 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0009324/0.6121, allocations: 283.8 kB / 0.6619 GB, free: 14.96 MB / 0.4981 GB 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.001126/0.6132, allocations: 379.8 kB / 0.6622 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0009494/0.6142, allocations: 367.6 kB / 0.6626 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 7.905e-06/0.6142, allocations: 7.906 kB / 0.6626 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003778/0.6146, allocations: 164.9 kB / 0.6627 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001668/0.6163, allocations: 354.5 kB / 0.6631 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001604/0.6179, allocations: 1.077 MB / 0.6641 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004606/0.6184, allocations: 0.8557 MB / 0.665 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001279/0.6197, allocations: 0.5589 MB / 0.6655 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002712/0.6199, allocations: 91.38 kB / 0.6656 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of SimCode: time 6.71e-07/0.6199, allocations: 0 / 0.6656 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of Templates: time 0.02321/0.6432, allocations: 15.3 MB / 0.6805 GB, free: 11.92 MB / 0.5137 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.makefile (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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe 2>&1) 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches