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.001318/0.001317, allocations: 115.8 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001446/0.001446, allocations: 199.5 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.379/1.379, allocations: 227.4 MB / 247.5 MB, free: 10.34 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2076/0.2076, allocations: 46.11 MB / 344.9 MB, free: 11.45 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001383/0.001383, allocations: 75.88 kB / 419 MB, free: 18.96 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1234/0.1248, allocations: 62.45 MB / 481.5 MB, free: 4.484 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice): time 0.4753/0.6001, allocations: 186 MB / 0.6518 GB, free: 8.527 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.005593/0.6058, allocations: 3.264 MB / 0.655 GB, free: 5.254 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006489/0.6064, allocations: 11.94 kB / 0.655 GB, free: 5.242 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009994/0.6075, allocations: 329.8 kB / 0.6553 GB, free: 4.918 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003547/0.611, allocations: 1.393 MB / 0.6567 GB, free: 3.523 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001858/0.6129, allocations: 0.7335 MB / 0.6574 GB, free: 2.797 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.00201/0.6149, allocations: 1.555 MB / 0.6589 GB, free: 1.242 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005806/0.6155, allocations: 434.1 kB / 0.6593 GB, free: 0.8203 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007454/0.6163, allocations: 0.576 MB / 0.6599 GB, free: 248 kB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005332/0.6168, allocations: 470 kB / 0.6603 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.705e-05/0.6169, allocations: 56 kB / 0.6604 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002231/0.6192, allocations: 1.197 MB / 0.6616 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001812/0.6193, allocations: 163.4 kB / 0.6617 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003332/0.6197, allocations: 338.5 kB / 0.662 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001841/0.6215, allocations: 1.504 MB / 0.6635 GB, free: 12.53 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.6216, allocations: 0 / 0.6635 GB, free: 12.53 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.743e-06/0.6216, allocations: 0 / 0.6635 GB, free: 12.53 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.958e-06/0.6216, allocations: 0 / 0.6635 GB, free: 12.53 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.001812/0.6234, allocations: 1.06 MB / 0.6645 GB, free: 11.42 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.118e-05/0.6234, allocations: 8.922 kB / 0.6645 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000955/0.6244, allocations: 139.2 kB / 0.6647 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008442/0.6253, allocations: 0.4887 MB / 0.6652 GB, free: 10.74 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.253e-05/0.6253, allocations: 29 kB / 0.6652 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.597e-05/0.6254, allocations: 47.88 kB / 0.6652 GB, free: 10.67 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001019/0.6264, allocations: 0.5906 MB / 0.6658 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.556e-05/0.6264, allocations: 7.938 kB / 0.6658 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.718e-05/0.6265, allocations: 20 kB / 0.6658 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.291e-05/0.6265, allocations: 16 kB / 0.6658 GB, free: 10 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008819/0.6274, allocations: 479.6 kB / 0.6663 GB, free: 9.527 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.003117/0.6305, allocations: 2.674 MB / 0.6689 GB, free: 6.629 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007349/0.6313, allocations: 351 kB / 0.6693 GB, free: 6.281 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003123/0.6316, allocations: 173.3 kB / 0.6694 GB, free: 6.109 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003932/0.632, allocations: 441.8 kB / 0.6698 GB, free: 5.586 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.017e-05/0.632, allocations: 34.84 kB / 0.6699 GB, free: 5.543 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=33): time 2.404e-06/0.632, allocations: 0 / 0.6699 GB, free: 5.543 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33): time 0.001709/0.6338, allocations: 0.7381 MB / 0.6706 GB, free: 4.777 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.781e-05/0.6339, allocations: 132.5 kB / 0.6707 GB, free: 4.617 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005802/0.6345, allocations: 494 kB / 0.6712 GB, free: 4.125 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.878e-05/0.6345, allocations: 37.7 kB / 0.6712 GB, free: 4.082 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002242/0.6347, allocations: 283.8 kB / 0.6715 GB, free: 3.801 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 9.521e-05/0.6348, allocations: 114.3 kB / 0.6716 GB, free: 3.688 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001708/0.635, allocations: 106 kB / 0.6717 GB, free: 3.578 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001799/0.6352, allocations: 358.8 kB / 0.672 GB, free: 3.219 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003158/0.6356, allocations: 156.7 kB / 0.6722 GB, free: 3.062 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004228/0.636, allocations: 275.7 kB / 0.6725 GB, free: 2.738 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007295/0.6367, allocations: 449.6 kB / 0.6729 GB, free: 2.254 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.6367, allocations: 0 / 0.6729 GB, free: 2.254 MB / 0.4981 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001028/0.6378, allocations: 0.5442 MB / 0.6734 GB, free: 1.699 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.787e-05/0.6378, allocations: 14.59 kB / 0.6734 GB, free: 1.688 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.337e-05/0.6378, allocations: 4.438 kB / 0.6734 GB, free: 1.684 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001517/0.6394, allocations: 244.5 kB / 0.6737 GB, free: 1.441 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003456/0.6397, allocations: 103.9 kB / 0.6738 GB, free: 1.34 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000474/0.6402, allocations: 0.5914 MB / 0.6744 GB, free: 0.7227 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003401/0.6405, allocations: 56.3 kB / 0.6744 GB, free: 0.668 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.56e-05/0.6406, allocations: 47.98 kB / 0.6744 GB, free: 0.6211 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.0002617/0.6409, allocations: 185.7 kB / 0.6746 GB, free: 440 kB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001083/0.641, allocations: 51.44 kB / 0.6747 GB, free: 388 kB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001911/0.6429, allocations: 1.097 MB / 0.6757 GB, free: 15.26 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.314e-06/0.643, allocations: 4 kB / 0.6758 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.643, allocations: 0 / 0.6758 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.643, allocations: 4 kB / 0.6758 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001532/0.6445, allocations: 1.022 MB / 0.6768 GB, free: 14.15 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.596e-06/0.6445, allocations: 4 kB / 0.6768 GB, free: 14.15 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002061/0.6448, allocations: 56.06 kB / 0.6768 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003066/0.6478, allocations: 444.2 kB / 0.6772 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.255e-05/0.6479, allocations: 11.98 kB / 0.6772 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004542/0.6483, allocations: 0.6069 MB / 0.6778 GB, free: 13.01 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.6483, allocations: 0 / 0.6778 GB, free: 13.01 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008218/0.6492, allocations: 0.5234 MB / 0.6783 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001685/0.6494, allocations: 136.3 kB / 0.6785 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.03e-05/0.6495, allocations: 12 kB / 0.6785 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003094/0.6498, allocations: 19.98 kB / 0.6785 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.016e-05/0.6498, allocations: 23.97 kB / 0.6785 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.638e-05/0.6499, allocations: 23.86 kB / 0.6786 GB, free: 12.22 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0005126/0.6504, allocations: 422.8 kB / 0.679 GB, free: 11.81 MB / 0.5137 GB Notification: Performance of sort global known variables: time 3.41e-07/0.6504, allocations: 0 / 0.679 GB, free: 11.81 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.000958/0.6514, allocations: 279.8 kB / 0.6792 GB, free: 11.54 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.0009038/0.6523, allocations: 390.5 kB / 0.6796 GB, free: 11.15 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0008791/0.6532, allocations: 376.1 kB / 0.68 GB, free: 10.79 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.6532, allocations: 0 / 0.68 GB, free: 10.79 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.000342/0.6535, allocations: 169.5 kB / 0.6801 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001496/0.655, allocations: 350.5 kB / 0.6805 GB, free: 10.29 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001411/0.6565, allocations: 0.8964 MB / 0.6813 GB, free: 9.348 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004082/0.6569, allocations: 0.8635 MB / 0.6822 GB, free: 8.457 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0009339/0.6578, allocations: 0.5568 MB / 0.6827 GB, free: 7.906 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002552/0.6581, allocations: 99.38 kB / 0.6828 GB, free: 7.809 MB / 0.5137 GB Notification: Performance of SimCode: time 7.62e-07/0.6581, allocations: 0 / 0.6828 GB, free: 7.809 MB / 0.5137 GB Notification: Performance of Templates: time 0.02593/0.684, allocations: 15.91 MB / 0.6983 GB, free: 8 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 -s cvode -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