Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.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.Dissipation.TestCases.PressureLoss.Orifice,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|input_mflow.y|input_p.y|IN_p.ports.1..m_flow|IN_p.ports.1..p|IN_p.ports.1..h_outflow|OUT_dp.ports.1..m_flow|OUT_dp.ports.1..p|OUT_dp.ports.1..h_outflow|OUT_mflow.ports.1..m_flow|OUT_mflow.ports.1..p|OUT_mflow.ports.1..h_outflow|IN_mflow.ports.1..m_flow|IN_mflow.ports.1..p|IN_mflow.ports.1..h_outflow|from_dp.port_b.m_flow|from_dp.port_b.p|from_dp.port_b.h_outflow|from_mflow.port_b.m_flow|from_mflow.port_b.p|from_mflow.port_b.h_outflow",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice") translateModel(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|input_mflow.y|input_p.y|IN_p.ports.1..m_flow|IN_p.ports.1..p|IN_p.ports.1..h_outflow|OUT_dp.ports.1..m_flow|OUT_dp.ports.1..p|OUT_dp.ports.1..h_outflow|OUT_mflow.ports.1..m_flow|OUT_mflow.ports.1..p|OUT_mflow.ports.1..h_outflow|IN_mflow.ports.1..m_flow|IN_mflow.ports.1..p|IN_mflow.ports.1..h_outflow|from_dp.port_b.m_flow|from_dp.port_b.p|from_dp.port_b.h_outflow|from_mflow.port_b.m_flow|from_mflow.port_b.p|from_mflow.port_b.h_outflow",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001127/0.001127, allocations: 105.6 kB / 17.32 MB, free: 5.98 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001279/0.00128, allocations: 209.8 kB / 18.26 MB, free: 5.055 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.378/1.378, allocations: 227.4 MB / 246.4 MB, free: 9.055 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2268/0.2268, allocations: 46.11 MB / 343.8 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001521/0.001521, allocations: 78.53 kB / 417.1 MB, free: 20.02 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1226/0.1241, allocations: 62.44 MB / 479.5 MB, free: 5.562 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice): time 0.5047/0.6288, allocations: 181.9 MB / 0.6459 GB, free: 13.55 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.006804/0.6357, allocations: 4.651 MB / 0.6505 GB, free: 8.887 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006314/0.6363, allocations: 19.88 kB / 0.6505 GB, free: 8.867 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009071/0.6373, allocations: 298.4 kB / 0.6508 GB, free: 8.574 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004275/0.6416, allocations: 1.632 MB / 0.6524 GB, free: 6.938 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002483/0.6441, allocations: 0.8855 MB / 0.6532 GB, free: 6.066 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.00249/0.6466, allocations: 1.711 MB / 0.6549 GB, free: 4.352 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009377/0.6475, allocations: 426.2 kB / 0.6553 GB, free: 3.934 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001886/0.6494, allocations: 0.8565 MB / 0.6561 GB, free: 3.074 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009075/0.6504, allocations: 0.5293 MB / 0.6567 GB, free: 2.543 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002334/0.6506, allocations: 52 kB / 0.6567 GB, free: 2.492 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002878/0.6535, allocations: 1.271 MB / 0.6579 GB, free: 1.219 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002894/0.6538, allocations: 179.4 kB / 0.6581 GB, free: 1.043 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006562/0.6545, allocations: 382.3 kB / 0.6585 GB, free: 0.668 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002938/0.6574, allocations: 1.64 MB / 0.6601 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.6574, allocations: 0 / 0.6601 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.372e-06/0.6574, allocations: 0 / 0.6601 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.294e-05/0.6575, allocations: 4 kB / 0.6601 GB, free: 15.02 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: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.002128/0.6596, allocations: 1.102 MB / 0.6612 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.6597, allocations: 8.031 kB / 0.6612 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001315/0.661, allocations: 171 kB / 0.6613 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007456/0.6617, allocations: 492.4 kB / 0.6618 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.921e-05/0.6618, allocations: 37 kB / 0.6618 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.418e-05/0.6619, allocations: 43.98 kB / 0.6619 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001146/0.663, allocations: 0.6507 MB / 0.6625 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.857e-05/0.663, allocations: 11.88 kB / 0.6625 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.009e-05/0.6631, allocations: 16 kB / 0.6625 GB, free: 12.37 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.485e-05/0.6631, allocations: 12 kB / 0.6626 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001031/0.6642, allocations: 499.6 kB / 0.663 GB, free: 11.87 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.003214/0.6674, allocations: 2.645 MB / 0.6656 GB, free: 9.035 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000706/0.6681, allocations: 330.6 kB / 0.6659 GB, free: 8.703 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00027/0.6684, allocations: 156.8 kB / 0.6661 GB, free: 8.547 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004353/0.6689, allocations: 441.5 kB / 0.6665 GB, free: 8.023 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.418e-05/0.6689, allocations: 38.56 kB / 0.6665 GB, free: 7.977 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=35): time 2.384e-06/0.6689, allocations: 4 kB / 0.6665 GB, free: 7.973 MB / 0.4981 GB Notification: Performance of matching and sorting (n=35): time 0.001644/0.6706, allocations: 0.7092 MB / 0.6672 GB, free: 7.234 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.082e-05/0.6707, allocations: 162.1 kB / 0.6674 GB, free: 7.039 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005949/0.6713, allocations: 0.5184 MB / 0.6679 GB, free: 6.508 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.672e-05/0.6713, allocations: 37.7 kB / 0.6679 GB, free: 6.465 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001988/0.6715, allocations: 299.6 kB / 0.6682 GB, free: 6.168 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001155/0.6717, allocations: 130.1 kB / 0.6683 GB, free: 6.039 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001816/0.6718, allocations: 114.2 kB / 0.6685 GB, free: 5.922 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001377/0.672, allocations: 362.8 kB / 0.6688 GB, free: 5.559 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000302/0.6723, allocations: 149 kB / 0.6689 GB, free: 5.41 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004073/0.6727, allocations: 322.9 kB / 0.6692 GB, free: 5.02 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006954/0.6734, allocations: 466.8 kB / 0.6697 GB, free: 4.5 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.919e-06/0.6734, allocations: 7.938 kB / 0.6697 GB, free: 4.492 MB / 0.4981 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001094/0.6745, allocations: 0.5751 MB / 0.6703 GB, free: 3.906 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.884e-05/0.6746, allocations: 8.562 kB / 0.6703 GB, free: 3.898 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.43e-05/0.6746, allocations: 11.98 kB / 0.6703 GB, free: 3.887 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001761/0.6764, allocations: 236.5 kB / 0.6705 GB, free: 3.652 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004661/0.6768, allocations: 119.8 kB / 0.6706 GB, free: 3.535 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006729/0.6775, allocations: 0.5798 MB / 0.6712 GB, free: 2.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005842/0.6781, allocations: 67.48 kB / 0.6713 GB, free: 2.863 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001304/0.6783, allocations: 48 kB / 0.6713 GB, free: 2.816 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (52): * Single equations (assignments): 51 * 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.0003857/0.6787, allocations: 201.6 kB / 0.6715 GB, free: 2.609 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002156/0.6789, allocations: 63.34 kB / 0.6716 GB, free: 2.547 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002275/0.6812, allocations: 1.114 MB / 0.6726 GB, free: 1.414 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.204e-06/0.6812, allocations: 4 kB / 0.6726 GB, free: 1.41 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.6812, allocations: 0 / 0.6726 GB, free: 1.41 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.137e-06/0.6812, allocations: 0 / 0.6726 GB, free: 1.41 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001522/0.6827, allocations: 1.013 MB / 0.6736 GB, free: 328 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/0.6828, allocations: 4 kB / 0.6736 GB, free: 324 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002072/0.683, allocations: 51.91 kB / 0.6737 GB, free: 272 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003325/0.6863, allocations: 440.3 kB / 0.6741 GB, free: 15.83 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.458e-05/0.6863, allocations: 20.81 kB / 0.6741 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004228/0.6868, allocations: 0.5952 MB / 0.6747 GB, free: 15.19 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.29e-06/0.6868, allocations: 4.031 kB / 0.6747 GB, free: 15.19 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007676/0.6876, allocations: 0.5006 MB / 0.6752 GB, free: 14.65 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001644/0.6877, allocations: 140.4 kB / 0.6753 GB, free: 14.49 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001234/0.6879, allocations: 11.94 kB / 0.6753 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004317/0.6883, allocations: 31.89 kB / 0.6754 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.588e-05/0.6884, allocations: 27.91 kB / 0.6754 GB, free: 14.42 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.172e-05/0.6884, allocations: 19.98 kB / 0.6754 GB, free: 14.4 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0005345/0.689, allocations: 447 kB / 0.6758 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.5e-07/0.689, allocations: 0 / 0.6758 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.00092/0.6899, allocations: 299.8 kB / 0.6761 GB, free: 13.67 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (28): * Single equations (assignments): 27 * 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.001041/0.691, allocations: 389.6 kB / 0.6765 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0009244/0.6919, allocations: 384.7 kB / 0.6769 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/0.6919, allocations: 0 / 0.6769 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0003307/0.6923, allocations: 158.7 kB / 0.677 GB, free: 12.76 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001886/0.6941, allocations: 402.9 kB / 0.6774 GB, free: 12.38 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001765/0.6959, allocations: 1.122 MB / 0.6785 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000464/0.6964, allocations: 0.8715 MB / 0.6794 GB, free: 10.3 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001345/0.6978, allocations: 0.5748 MB / 0.6799 GB, free: 9.73 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002856/0.6981, allocations: 99.39 kB / 0.68 GB, free: 9.633 MB / 0.5137 GB Notification: Performance of SimCode: time 3.5e-07/0.6981, allocations: 0 / 0.68 GB, free: 9.633 MB / 0.5137 GB Notification: Performance of Templates: time 0.03046/0.7285, allocations: 17.02 MB / 0.6966 GB, free: 8.738 MB / 0.5294 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/TestCases/PressureLoss/Orifice/Orifice.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches