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.0008781/0.0008785, allocations: 91.12 kB / 17.35 MB, free: 6.375 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.0008822/0.0008823, allocations: 180.2 kB / 18.26 MB, free: 5.52 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.393/1.393, allocations: 223.3 MB / 242.3 MB, free: 212 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1899/0.1899, allocations: 44.25 MB / 337.7 MB, free: 2.684 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003338/0.0003338, allocations: 14.12 kB / 410.3 MB, free: 27.32 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1256/0.1259, allocations: 61.92 MB / 472.3 MB, free: 13.36 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice): time 0.4321/0.558, allocations: 178.7 MB / 0.6357 GB, free: 32 kB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.005576/0.5637, allocations: 3.345 MB / 0.6389 GB, free: 12.68 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004926/0.5642, allocations: 19.81 kB / 0.6389 GB, free: 12.66 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008496/0.565, allocations: 274.5 kB / 0.6392 GB, free: 12.39 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003476/0.5685, allocations: 1.229 MB / 0.6404 GB, free: 11.16 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001834/0.5704, allocations: 0.6677 MB / 0.6411 GB, free: 10.5 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.002334/0.5727, allocations: 2.031 MB / 0.643 GB, free: 8.453 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000595/0.5733, allocations: 365.5 kB / 0.6434 GB, free: 8.098 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008567/0.5742, allocations: 0.5252 MB / 0.6439 GB, free: 7.57 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005693/0.5748, allocations: 478 kB / 0.6444 GB, free: 7.102 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 7.36e-05/0.5749, allocations: 28 kB / 0.6444 GB, free: 7.074 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002278/0.5772, allocations: 1.104 MB / 0.6455 GB, free: 5.969 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001711/0.5773, allocations: 143.5 kB / 0.6456 GB, free: 5.828 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003451/0.5777, allocations: 348.2 kB / 0.6459 GB, free: 5.48 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00196/0.5797, allocations: 1.457 MB / 0.6474 GB, free: 4.02 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.147e-06/0.5797, allocations: 0 / 0.6474 GB, free: 4.02 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.5797, allocations: 0 / 0.6474 GB, free: 4.02 MB / 478.1 MB Notification: Performance of Transformations before backend: time 7.915e-06/0.5797, allocations: 0 / 0.6474 GB, free: 4.02 MB / 478.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.001625/0.5813, allocations: 0.9155 MB / 0.6483 GB, free: 3.055 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.632e-05/0.5814, allocations: 8.031 kB / 0.6483 GB, free: 3.047 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009994/0.5824, allocations: 147.1 kB / 0.6484 GB, free: 2.902 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006651/0.5831, allocations: 484.4 kB / 0.6489 GB, free: 2.387 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.283e-05/0.5831, allocations: 29 kB / 0.6489 GB, free: 2.359 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.179e-05/0.5832, allocations: 43.94 kB / 0.6489 GB, free: 2.316 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001144/0.5843, allocations: 0.6023 MB / 0.6495 GB, free: 1.672 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.566e-05/0.5844, allocations: 8 kB / 0.6495 GB, free: 1.664 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.079e-05/0.5844, allocations: 16 kB / 0.6495 GB, free: 1.648 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.38e-05/0.5845, allocations: 12 kB / 0.6496 GB, free: 1.637 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009648/0.5854, allocations: 492.4 kB / 0.65 GB, free: 1.16 MB / 478.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.003133/0.5886, allocations: 2.67 MB / 0.6526 GB, free: 14.27 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007434/0.5893, allocations: 355.5 kB / 0.653 GB, free: 13.91 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003359/0.5897, allocations: 173.3 kB / 0.6531 GB, free: 13.74 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004657/0.5902, allocations: 449.8 kB / 0.6536 GB, free: 13.21 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.068e-05/0.5902, allocations: 38.78 kB / 0.6536 GB, free: 13.16 MB / 494.1 MB Notification: Performance of pre-optimization done (n=33): time 2.284e-06/0.5902, allocations: 0 / 0.6536 GB, free: 13.16 MB / 494.1 MB Notification: Performance of matching and sorting (n=33): time 0.001808/0.592, allocations: 0.7499 MB / 0.6543 GB, free: 12.38 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.146e-05/0.5921, allocations: 132.5 kB / 0.6545 GB, free: 12.22 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005968/0.5927, allocations: 494.1 kB / 0.6549 GB, free: 11.73 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 5.387e-05/0.5928, allocations: 37.7 kB / 0.655 GB, free: 11.69 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002082/0.593, allocations: 287.6 kB / 0.6552 GB, free: 11.4 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001134/0.5931, allocations: 118.3 kB / 0.6554 GB, free: 11.29 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.49e-05/0.5932, allocations: 37.7 kB / 0.6554 GB, free: 11.24 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000152/0.5933, allocations: 358.8 kB / 0.6557 GB, free: 10.88 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003235/0.5937, allocations: 156.8 kB / 0.6559 GB, free: 10.73 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004308/0.5941, allocations: 283.7 kB / 0.6562 GB, free: 10.4 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007352/0.5949, allocations: 449.6 kB / 0.6566 GB, free: 9.918 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.5949, allocations: 0 / 0.6566 GB, free: 9.918 MB / 494.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001054/0.5959, allocations: 0.556 MB / 0.6571 GB, free: 9.352 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.325e-05/0.596, allocations: 11.92 kB / 0.6571 GB, free: 9.34 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.164e-06/0.596, allocations: 4.438 kB / 0.6571 GB, free: 9.336 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001612/0.5976, allocations: 288.5 kB / 0.6574 GB, free: 9.051 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003801/0.598, allocations: 110.9 kB / 0.6575 GB, free: 8.945 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004717/0.5985, allocations: 0.603 MB / 0.6581 GB, free: 8.316 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004155/0.5989, allocations: 63.5 kB / 0.6582 GB, free: 8.254 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.05e-05/0.599, allocations: 47.98 kB / 0.6582 GB, free: 8.207 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.0003018/0.5993, allocations: 185.7 kB / 0.6584 GB, free: 8.016 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001053/0.5994, allocations: 55.34 kB / 0.6584 GB, free: 7.961 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002131/0.6015, allocations: 1.112 MB / 0.6595 GB, free: 6.824 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.068e-05/0.6016, allocations: 7.984 kB / 0.6595 GB, free: 6.816 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.6016, allocations: 3.938 kB / 0.6595 GB, free: 6.812 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.6016, allocations: 0 / 0.6595 GB, free: 6.812 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001608/0.6032, allocations: 1.038 MB / 0.6606 GB, free: 5.699 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.746e-06/0.6032, allocations: 4 kB / 0.6606 GB, free: 5.695 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002754/0.6035, allocations: 59.84 kB / 0.6606 GB, free: 5.637 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003363/0.6069, allocations: 0.5393 MB / 0.6611 GB, free: 5.094 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.182e-05/0.607, allocations: 15.98 kB / 0.6612 GB, free: 5.078 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004901/0.6074, allocations: 0.6031 MB / 0.6618 GB, free: 4.449 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.616e-06/0.6075, allocations: 7.969 kB / 0.6618 GB, free: 4.441 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008657/0.6083, allocations: 0.5194 MB / 0.6623 GB, free: 3.887 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002073/0.6086, allocations: 164.2 kB / 0.6624 GB, free: 3.707 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.99e-05/0.6087, allocations: 12.06 kB / 0.6624 GB, free: 3.695 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003917/0.6091, allocations: 43.91 kB / 0.6625 GB, free: 3.652 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.753e-05/0.6091, allocations: 27.84 kB / 0.6625 GB, free: 3.625 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.756e-05/0.6092, allocations: 19.98 kB / 0.6625 GB, free: 3.605 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0005609/0.6097, allocations: 418.8 kB / 0.6629 GB, free: 3.199 MB / 494.1 MB Notification: Performance of sort global known variables: time 2e-07/0.6098, allocations: 4 kB / 0.6629 GB, free: 3.195 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0008943/0.6107, allocations: 279.8 kB / 0.6632 GB, free: 2.922 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.0008396/0.6115, allocations: 380.8 kB / 0.6636 GB, free: 2.555 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0008962/0.6124, allocations: 380.5 kB / 0.6639 GB, free: 2.184 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.569e-06/0.6124, allocations: 4 kB / 0.6639 GB, free: 2.18 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003927/0.6128, allocations: 167.8 kB / 0.6641 GB, free: 2.016 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001963/0.6148, allocations: 343.7 kB / 0.6644 GB, free: 1.684 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001554/0.6164, allocations: 1.117 MB / 0.6655 GB, free: 0.5273 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005234/0.6169, allocations: 0.8635 MB / 0.6663 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001192/0.6181, allocations: 0.5551 MB / 0.6669 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002563/0.6184, allocations: 91.39 kB / 0.667 GB, free: 15 MB / 0.4981 GB Notification: Performance of SimCode: time 6.01e-07/0.6184, allocations: 7.875 kB / 0.667 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of Templates: time 0.02959/0.648, allocations: 15.2 MB / 0.6818 GB, free: 15.92 MB / 0.5138 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