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.001534/0.001534, allocations: 108.5 kB / 17.21 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001681/0.001681, allocations: 209.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.433/1.433, allocations: 227.4 MB / 246.3 MB, free: 10.75 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2249/0.2249, allocations: 46.1 MB / 343.6 MB, free: 11.81 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001479/0.001479, allocations: 80.38 kB / 416.9 MB, free: 20.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1239/0.1254, allocations: 62.45 MB / 479.3 MB, free: 5.727 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice): time 0.4449/0.5703, allocations: 184 MB / 0.6477 GB, free: 11.68 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.005331/0.5757, allocations: 3.386 MB / 0.651 GB, free: 8.281 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005637/0.5763, allocations: 27.81 kB / 0.6511 GB, free: 8.254 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009008/0.5772, allocations: 270.5 kB / 0.6513 GB, free: 7.988 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003084/0.5803, allocations: 1.235 MB / 0.6525 GB, free: 6.754 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00165/0.582, allocations: 0.6559 MB / 0.6532 GB, free: 6.105 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.002091/0.5841, allocations: 2.051 MB / 0.6552 GB, free: 4.051 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000491/0.5846, allocations: 375.1 kB / 0.6555 GB, free: 3.688 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007105/0.5853, allocations: 0.5291 MB / 0.656 GB, free: 3.156 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005063/0.5858, allocations: 470.1 kB / 0.6565 GB, free: 2.695 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.328e-05/0.5859, allocations: 32 kB / 0.6565 GB, free: 2.664 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00195/0.5879, allocations: 1.119 MB / 0.6576 GB, free: 1.543 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001621/0.5881, allocations: 143.4 kB / 0.6578 GB, free: 1.402 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000317/0.5884, allocations: 334.4 kB / 0.6581 GB, free: 1.074 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001834/0.5902, allocations: 1.477 MB / 0.6595 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.5903, allocations: 4 kB / 0.6595 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.162e-06/0.5903, allocations: 0 / 0.6595 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.053e-05/0.5903, allocations: 0 / 0.6595 GB, free: 15.59 MB / 0.4981 GB 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.001834/0.5921, allocations: 1.059 MB / 0.6606 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.106e-05/0.5922, allocations: 11.97 kB / 0.6606 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001035/0.5932, allocations: 135.2 kB / 0.6607 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00068/0.5939, allocations: 480.4 kB / 0.6612 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.736e-05/0.5939, allocations: 29 kB / 0.6612 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.451e-05/0.594, allocations: 47.94 kB / 0.6612 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001189/0.5952, allocations: 0.5945 MB / 0.6618 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.555e-05/0.5952, allocations: 0 / 0.6618 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.818e-05/0.5953, allocations: 28 kB / 0.6618 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.335e-05/0.5954, allocations: 12 kB / 0.6618 GB, free: 13.08 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009903/0.5964, allocations: 479.6 kB / 0.6623 GB, free: 12.61 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.003067/0.5994, allocations: 2.674 MB / 0.6649 GB, free: 9.711 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000751/0.6002, allocations: 346 kB / 0.6652 GB, free: 9.367 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003141/0.6005, allocations: 181.4 kB / 0.6654 GB, free: 9.188 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005135/0.6011, allocations: 433.8 kB / 0.6658 GB, free: 8.672 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.137e-05/0.6011, allocations: 42.78 kB / 0.6659 GB, free: 8.621 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=33): time 1.783e-06/0.6011, allocations: 0 / 0.6659 GB, free: 8.621 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33): time 0.001779/0.6029, allocations: 0.7304 MB / 0.6666 GB, free: 7.863 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.251e-05/0.603, allocations: 136.5 kB / 0.6667 GB, free: 7.699 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005488/0.6035, allocations: 494.1 kB / 0.6672 GB, free: 7.207 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.745e-05/0.6036, allocations: 33.7 kB / 0.6672 GB, free: 7.168 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000189/0.6038, allocations: 283.7 kB / 0.6675 GB, free: 6.887 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 9.892e-05/0.6039, allocations: 118.3 kB / 0.6676 GB, free: 6.77 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001693/0.6041, allocations: 106.1 kB / 0.6677 GB, free: 6.656 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001383/0.6042, allocations: 362.8 kB / 0.6681 GB, free: 6.293 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00032/0.6045, allocations: 148.7 kB / 0.6682 GB, free: 6.148 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004359/0.605, allocations: 287.7 kB / 0.6685 GB, free: 5.812 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007604/0.6058, allocations: 437.6 kB / 0.6689 GB, free: 5.34 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.6058, allocations: 0 / 0.6689 GB, free: 5.34 MB / 0.4981 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001075/0.6069, allocations: 0.5481 MB / 0.6694 GB, free: 4.781 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.247e-05/0.6069, allocations: 7.938 kB / 0.6694 GB, free: 4.773 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.091e-05/0.6069, allocations: 4 kB / 0.6694 GB, free: 4.77 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001661/0.6086, allocations: 240.9 kB / 0.6697 GB, free: 4.531 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003867/0.609, allocations: 99.89 kB / 0.6698 GB, free: 4.434 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004797/0.6095, allocations: 0.603 MB / 0.6703 GB, free: 3.805 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000379/0.6098, allocations: 59.52 kB / 0.6704 GB, free: 3.746 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.238e-05/0.6099, allocations: 47.98 kB / 0.6704 GB, free: 3.699 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.0002631/0.6102, allocations: 185.7 kB / 0.6706 GB, free: 3.508 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001201/0.6103, allocations: 55.34 kB / 0.6707 GB, free: 3.453 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002119/0.6125, allocations: 1.093 MB / 0.6717 GB, free: 2.34 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.903e-06/0.6125, allocations: 4 kB / 0.6717 GB, free: 2.336 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.6125, allocations: 0 / 0.6717 GB, free: 2.336 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.65e-06/0.6125, allocations: 3.984 kB / 0.6718 GB, free: 2.332 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00151/0.614, allocations: 1.04 MB / 0.6728 GB, free: 1.219 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/0.614, allocations: 0 / 0.6728 GB, free: 1.219 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002181/0.6143, allocations: 52.78 kB / 0.6728 GB, free: 1.168 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003393/0.6177, allocations: 452.3 kB / 0.6732 GB, free: 0.7227 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.832e-05/0.6177, allocations: 11.94 kB / 0.6733 GB, free: 0.7109 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004562/0.6182, allocations: 0.6148 MB / 0.6739 GB, free: 72 kB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.6182, allocations: 0 / 0.6739 GB, free: 72 kB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008732/0.6191, allocations: 0.5193 MB / 0.6744 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001384/0.6192, allocations: 132.4 kB / 0.6745 GB, free: 15.37 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001043/0.6193, allocations: 8 kB / 0.6745 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003768/0.6197, allocations: 39.91 kB / 0.6745 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.028e-05/0.6198, allocations: 27.91 kB / 0.6746 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.631e-05/0.6198, allocations: 19.94 kB / 0.6746 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0005024/0.6203, allocations: 422.8 kB / 0.675 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6203, allocations: 0 / 0.675 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0008451/0.6212, allocations: 279.7 kB / 0.6753 GB, free: 14.59 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.0008708/0.6221, allocations: 378.2 kB / 0.6756 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0008419/0.6229, allocations: 376.3 kB / 0.676 GB, free: 13.85 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.1e-06/0.6229, allocations: 4 kB / 0.676 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0003688/0.6233, allocations: 170.4 kB / 0.6761 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001692/0.625, allocations: 345.9 kB / 0.6765 GB, free: 13.35 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001428/0.6265, allocations: 1.077 MB / 0.6775 GB, free: 12.23 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004018/0.6269, allocations: 0.8557 MB / 0.6784 GB, free: 11.35 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001178/0.6281, allocations: 0.5689 MB / 0.6789 GB, free: 10.79 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002623/0.6283, allocations: 83.39 kB / 0.679 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of SimCode: time 2.81e-07/0.6283, allocations: 4 kB / 0.679 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of Templates: time 0.0245/0.6528, allocations: 15.34 MB / 0.694 GB, free: 11.47 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/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_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches