Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001533/0.001533, allocations: 100.5 kB / 17.85 MB, free: 5.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001785/0.001785, allocations: 205.8 kB / 18.79 MB, free: 4.727 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.12/2.12, allocations: 227.4 MB / 246.9 MB, free: 9.031 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.376/0.376, allocations: 46.1 MB / 344.3 MB, free: 11.59 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002201/0.002201, allocations: 82.11 kB / 417.5 MB, free: 20.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1581/0.1603, allocations: 62.43 MB / 479.9 MB, free: 5.688 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice): time 0.4605/0.6208, allocations: 184 MB / 0.6484 GB, free: 11.8 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.006398/0.6273, allocations: 3.39 MB / 0.6517 GB, free: 8.402 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009324/0.6283, allocations: 23.81 kB / 0.6517 GB, free: 8.379 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001188/0.6295, allocations: 282.4 kB / 0.652 GB, free: 8.102 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004114/0.6336, allocations: 1.231 MB / 0.6532 GB, free: 6.871 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002068/0.6357, allocations: 0.6559 MB / 0.6538 GB, free: 6.223 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.002617/0.6384, allocations: 2.051 MB / 0.6558 GB, free: 4.168 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007523/0.6391, allocations: 371.2 kB / 0.6562 GB, free: 3.805 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001227/0.6404, allocations: 0.5291 MB / 0.6567 GB, free: 3.273 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008168/0.6412, allocations: 474.1 kB / 0.6571 GB, free: 2.809 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001756/0.6414, allocations: 28 kB / 0.6572 GB, free: 2.781 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002519/0.6439, allocations: 1.119 MB / 0.6582 GB, free: 1.66 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002331/0.6442, allocations: 143.5 kB / 0.6584 GB, free: 1.52 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005581/0.6447, allocations: 334.4 kB / 0.6587 GB, free: 1.191 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001815/0.6466, allocations: 1.068 MB / 0.6597 GB, free: 124 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.6466, allocations: 0 / 0.6597 GB, free: 124 kB / 494.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.6466, allocations: 4 kB / 0.6598 GB, free: 120 kB / 494.1 MB Notification: Performance of Transformations before backend: time 2.847e-05/0.6466, allocations: 0 / 0.6598 GB, free: 120 kB / 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.002471/0.6491, allocations: 1.059 MB / 0.6608 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.804e-05/0.6492, allocations: 11.97 kB / 0.6608 GB, free: 15 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001171/0.6503, allocations: 143.2 kB / 0.6609 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007927/0.6511, allocations: 484.4 kB / 0.6614 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.024e-05/0.6512, allocations: 29 kB / 0.6614 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.154e-05/0.6513, allocations: 43.94 kB / 0.6615 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001263/0.6526, allocations: 0.5945 MB / 0.662 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.489e-05/0.6526, allocations: 3.625 kB / 0.6621 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.13e-05/0.6527, allocations: 20 kB / 0.6621 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.81e-05/0.6527, allocations: 16 kB / 0.6621 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001065/0.6538, allocations: 483.5 kB / 0.6625 GB, free: 13.13 MB / 0.4981 GB 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.003407/0.6572, allocations: 2.675 MB / 0.6652 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008718/0.6581, allocations: 347.1 kB / 0.6655 GB, free: 9.887 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000369/0.6584, allocations: 169.3 kB / 0.6657 GB, free: 9.719 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004823/0.6589, allocations: 449.8 kB / 0.6661 GB, free: 9.188 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.526e-05/0.659, allocations: 34.84 kB / 0.6661 GB, free: 9.145 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=33): time 2.234e-06/0.659, allocations: 4 kB / 0.6661 GB, free: 9.141 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33): time 0.001957/0.661, allocations: 0.7304 MB / 0.6668 GB, free: 8.383 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.697e-05/0.6611, allocations: 132.5 kB / 0.667 GB, free: 8.223 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006576/0.6617, allocations: 494.1 kB / 0.6674 GB, free: 7.73 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.058e-05/0.6618, allocations: 33.7 kB / 0.6675 GB, free: 7.691 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002186/0.662, allocations: 287.6 kB / 0.6677 GB, free: 7.406 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001229/0.6622, allocations: 118.3 kB / 0.6678 GB, free: 7.289 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001801/0.6623, allocations: 102.1 kB / 0.6679 GB, free: 7.18 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001543/0.6625, allocations: 362.8 kB / 0.6683 GB, free: 6.816 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003551/0.6629, allocations: 148.8 kB / 0.6684 GB, free: 6.672 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004586/0.6633, allocations: 287.7 kB / 0.6687 GB, free: 6.336 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008122/0.6642, allocations: 441.6 kB / 0.6691 GB, free: 5.859 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.6642, allocations: 0 / 0.6691 GB, free: 5.859 MB / 0.4981 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001223/0.6654, allocations: 0.5481 MB / 0.6697 GB, free: 5.301 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.078e-05/0.6654, allocations: 7.938 kB / 0.6697 GB, free: 5.293 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.408e-05/0.6655, allocations: 4 kB / 0.6697 GB, free: 5.289 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0018/0.6673, allocations: 240.9 kB / 0.6699 GB, free: 5.051 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004209/0.6677, allocations: 103.9 kB / 0.67 GB, free: 4.949 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000546/0.6683, allocations: 0.5991 MB / 0.6706 GB, free: 4.324 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004747/0.6688, allocations: 59.5 kB / 0.6706 GB, free: 4.266 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.169e-05/0.6689, allocations: 44 kB / 0.6707 GB, free: 4.223 MB / 0.4981 GB 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.0003231/0.6692, allocations: 189.7 kB / 0.6709 GB, free: 4.027 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001778/0.6694, allocations: 59.33 kB / 0.6709 GB, free: 3.969 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002332/0.6717, allocations: 1.086 MB / 0.672 GB, free: 2.859 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.035e-05/0.6717, allocations: 4 kB / 0.672 GB, free: 2.855 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.6717, allocations: 3.938 kB / 0.672 GB, free: 2.852 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.693e-06/0.6718, allocations: 3.984 kB / 0.672 GB, free: 2.848 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001788/0.6736, allocations: 1.038 MB / 0.673 GB, free: 1.734 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.032e-06/0.6736, allocations: 0 / 0.673 GB, free: 1.734 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000246/0.6738, allocations: 55.91 kB / 0.6731 GB, free: 1.68 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00376/0.6776, allocations: 444.3 kB / 0.6735 GB, free: 1.242 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.661e-05/0.6777, allocations: 15.92 kB / 0.6735 GB, free: 1.227 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005194/0.6782, allocations: 0.6071 MB / 0.6741 GB, free: 0.5938 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.641e-06/0.6782, allocations: 3.938 kB / 0.6741 GB, free: 0.5898 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009797/0.6792, allocations: 0.5116 MB / 0.6746 GB, free: 44 kB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002408/0.6794, allocations: 136.3 kB / 0.6747 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000155/0.6796, allocations: 8 kB / 0.6747 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000477/0.6801, allocations: 47.97 kB / 0.6748 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.174e-05/0.6802, allocations: 23.91 kB / 0.6748 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.588e-05/0.6802, allocations: 23.92 kB / 0.6748 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0006182/0.6809, allocations: 422.8 kB / 0.6752 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.9e-07/0.6809, allocations: 0 / 0.6752 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001101/0.682, allocations: 287.7 kB / 0.6755 GB, free: 15.1 MB / 0.5137 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.001153/0.6831, allocations: 372.2 kB / 0.6759 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001022/0.6842, allocations: 379.6 kB / 0.6762 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 6.752e-06/0.6842, allocations: 4 kB / 0.6762 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0004089/0.6846, allocations: 169.4 kB / 0.6764 GB, free: 14.19 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001943/0.6866, allocations: 341.5 kB / 0.6767 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001851/0.6884, allocations: 1.102 MB / 0.6778 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004607/0.6889, allocations: 0.8596 MB / 0.6786 GB, free: 11.83 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004999/0.6894, allocations: 123.4 kB / 0.6787 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of SimCode: time 7.91e-07/0.6894, allocations: 4 kB / 0.6787 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of Templates: time 0.0237/0.7131, allocations: 14.66 MB / 0.6931 GB, free: 13.09 MB / 0.5294 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches