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.001288/0.001288, allocations: 113.4 kB / 17.86 MB, free: 5.629 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.001311/0.001311, allocations: 201.9 kB / 18.77 MB, free: 4.715 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.397/1.397, allocations: 222.9 MB / 242.5 MB, free: 15.46 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.199/0.199, allocations: 44.18 MB / 336.8 MB, free: 3 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001452/0.001452, allocations: 69.3 kB / 408.4 MB, free: 27.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1205/0.122, allocations: 60.82 MB / 469.2 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice): time 0.4847/0.6067, allocations: 181 MB / 0.635 GB, free: 12.04 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.005577/0.6124, allocations: 3.4 MB / 0.6383 GB, free: 8.633 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007805/0.6132, allocations: 19.88 kB / 0.6383 GB, free: 8.613 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009366/0.6142, allocations: 274.5 kB / 0.6386 GB, free: 8.344 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003514/0.6177, allocations: 1.237 MB / 0.6398 GB, free: 7.109 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001788/0.6195, allocations: 0.6594 MB / 0.6404 GB, free: 6.457 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.002226/0.6217, allocations: 2.039 MB / 0.6424 GB, free: 4.406 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004961/0.6222, allocations: 375.2 kB / 0.6428 GB, free: 4.039 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007764/0.623, allocations: 0.5292 MB / 0.6433 GB, free: 3.508 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005183/0.6236, allocations: 474 kB / 0.6438 GB, free: 3.043 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 8.162e-05/0.6236, allocations: 32 kB / 0.6438 GB, free: 3.012 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002304/0.626, allocations: 1.107 MB / 0.6449 GB, free: 1.902 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001741/0.6261, allocations: 139.5 kB / 0.645 GB, free: 1.766 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003537/0.6265, allocations: 334.4 kB / 0.6453 GB, free: 1.438 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001428/0.6279, allocations: 1.072 MB / 0.6464 GB, free: 372 kB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.628, allocations: 0 / 0.6464 GB, free: 372 kB / 478.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.628, allocations: 0 / 0.6464 GB, free: 372 kB / 478.1 MB Notification: Performance of Transformations before backend: time 8.165e-06/0.628, allocations: 0 / 0.6464 GB, free: 372 kB / 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.001848/0.6298, allocations: 1.054 MB / 0.6474 GB, free: 15.26 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.333e-05/0.6299, allocations: 8.031 kB / 0.6474 GB, free: 15.25 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009856/0.6309, allocations: 147.1 kB / 0.6476 GB, free: 15.11 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000636/0.6315, allocations: 484.4 kB / 0.648 GB, free: 14.59 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.376e-05/0.6316, allocations: 29 kB / 0.648 GB, free: 14.57 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.73e-05/0.6316, allocations: 43.94 kB / 0.6481 GB, free: 14.52 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001085/0.6327, allocations: 0.6023 MB / 0.6487 GB, free: 13.88 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.389e-05/0.6328, allocations: 0 / 0.6487 GB, free: 13.88 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.211e-05/0.6328, allocations: 20 kB / 0.6487 GB, free: 13.86 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.14e-05/0.6328, allocations: 15.94 kB / 0.6487 GB, free: 13.85 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009006/0.6337, allocations: 483.5 kB / 0.6492 GB, free: 13.38 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.002953/0.6367, allocations: 2.667 MB / 0.6518 GB, free: 10.49 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007363/0.6375, allocations: 347.6 kB / 0.6521 GB, free: 10.14 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003083/0.6378, allocations: 173.3 kB / 0.6523 GB, free: 9.969 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004763/0.6383, allocations: 437.9 kB / 0.6527 GB, free: 9.449 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.922e-05/0.6383, allocations: 42.84 kB / 0.6527 GB, free: 9.398 MB / 494.1 MB Notification: Performance of pre-optimization done (n=33): time 1.553e-06/0.6383, allocations: 0 / 0.6527 GB, free: 9.398 MB / 494.1 MB Notification: Performance of matching and sorting (n=33): time 0.001738/0.6401, allocations: 0.7265 MB / 0.6534 GB, free: 8.645 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.668e-05/0.6401, allocations: 136.5 kB / 0.6536 GB, free: 8.48 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005448/0.6407, allocations: 498 kB / 0.654 GB, free: 7.984 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 5.164e-05/0.6407, allocations: 33.7 kB / 0.6541 GB, free: 7.945 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001975/0.6409, allocations: 283.7 kB / 0.6543 GB, free: 7.664 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001039/0.6411, allocations: 118.4 kB / 0.6545 GB, free: 7.547 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001664/0.6412, allocations: 102 kB / 0.6546 GB, free: 7.441 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001335/0.6414, allocations: 362.7 kB / 0.6549 GB, free: 7.078 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003174/0.6417, allocations: 152.8 kB / 0.655 GB, free: 6.93 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004014/0.6421, allocations: 279.7 kB / 0.6553 GB, free: 6.602 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007151/0.6428, allocations: 445.6 kB / 0.6557 GB, free: 6.121 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.2e-06/0.6429, allocations: 0 / 0.6557 GB, free: 6.121 MB / 494.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001037/0.6439, allocations: 0.5523 MB / 0.6563 GB, free: 5.559 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.908e-05/0.6439, allocations: 7.938 kB / 0.6563 GB, free: 5.551 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.407e-06/0.6439, allocations: 4 kB / 0.6563 GB, free: 5.547 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001612/0.6456, allocations: 236.6 kB / 0.6565 GB, free: 5.312 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003737/0.6459, allocations: 103.9 kB / 0.6566 GB, free: 5.211 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004757/0.6464, allocations: 0.5914 MB / 0.6572 GB, free: 4.594 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004161/0.6469, allocations: 67.47 kB / 0.6573 GB, free: 4.527 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.27e-05/0.647, allocations: 50.55 kB / 0.6573 GB, free: 4.48 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.6473, allocations: 189.6 kB / 0.6575 GB, free: 4.285 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001264/0.6474, allocations: 51.44 kB / 0.6575 GB, free: 4.234 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00208/0.6495, allocations: 1.099 MB / 0.6586 GB, free: 3.109 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.16e-06/0.6495, allocations: 8 kB / 0.6586 GB, free: 3.102 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.6495, allocations: 0 / 0.6586 GB, free: 3.102 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.294e-06/0.6495, allocations: 4 kB / 0.6586 GB, free: 3.098 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00156/0.6511, allocations: 1.03 MB / 0.6596 GB, free: 1.992 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.508e-06/0.6511, allocations: 0 / 0.6596 GB, free: 1.992 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002324/0.6514, allocations: 55.91 kB / 0.6597 GB, free: 1.938 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003402/0.6548, allocations: 453.1 kB / 0.6601 GB, free: 1.492 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.103e-05/0.6548, allocations: 8 kB / 0.6601 GB, free: 1.484 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004936/0.6553, allocations: 0.6032 MB / 0.6607 GB, free: 0.8555 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.43e-06/0.6554, allocations: 8.812 kB / 0.6607 GB, free: 0.8477 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009468/0.6563, allocations: 0.5115 MB / 0.6612 GB, free: 308 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002117/0.6565, allocations: 136.3 kB / 0.6613 GB, free: 152 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001583/0.6567, allocations: 11.98 kB / 0.6614 GB, free: 140 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004464/0.6572, allocations: 35.92 kB / 0.6614 GB, free: 104 kB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.971e-05/0.6572, allocations: 31.84 kB / 0.6614 GB, free: 72 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.048e-05/0.6573, allocations: 23.92 kB / 0.6614 GB, free: 48 kB / 494.1 MB Notification: Performance of sorting global known variables: time 0.000595/0.6579, allocations: 418.8 kB / 0.6618 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.71e-07/0.6579, allocations: 0 / 0.6618 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0009963/0.6589, allocations: 279.8 kB / 0.6621 GB, free: 15.37 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.001403/0.6603, allocations: 382.6 kB / 0.6625 GB, free: 15 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001191/0.6615, allocations: 371.6 kB / 0.6628 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.059e-05/0.6616, allocations: 3.906 kB / 0.6628 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004408/0.662, allocations: 165 kB / 0.663 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001972/0.664, allocations: 348.1 kB / 0.6633 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001893/0.6659, allocations: 1.102 MB / 0.6644 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004875/0.6664, allocations: 0.8595 MB / 0.6652 GB, free: 12.1 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004842/0.6669, allocations: 127.3 kB / 0.6654 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of SimCode: time 7.91e-07/0.6669, allocations: 7.938 kB / 0.6654 GB, free: 11.97 MB / 0.4981 GB Notification: Performance of Templates: time 0.02291/0.6898, allocations: 14.61 MB / 0.6796 GB, free: 13.42 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/NewFittings/Orifices/ThickEdgedOrifice/ThickEdgedOrifice.csv","/var/lib/jenkins1/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