Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.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_3.2.3_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_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001152/0.001152, allocations: 118.1 kB / 17.08 MB, free: 5.965 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.001298/0.001298, allocations: 198.4 kB / 18.02 MB, free: 5.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.611/1.611, allocations: 205.1 MB / 223.9 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2291/0.2291, allocations: 43.52 MB / 314.8 MB, free: 452 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001787/0.001787, allocations: 69.45 kB / 442.5 MB, free: 5.668 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1374/0.1392, allocations: 57.79 MB / 0.4885 GB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice): time 0.5436/0.6828, allocations: 187.7 MB / 0.6718 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.009488/0.6923, allocations: 7.024 MB / 0.6787 GB, free: 7.855 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007398/0.6931, allocations: 19.88 kB / 0.6787 GB, free: 7.836 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0009945/0.6941, allocations: 337.7 kB / 0.679 GB, free: 7.504 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.006235/0.7004, allocations: 2.379 MB / 0.6814 GB, free: 5.125 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002599/0.703, allocations: 0.9433 MB / 0.6823 GB, free: 4.18 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.00238/0.7054, allocations: 1.699 MB / 0.6839 GB, free: 2.473 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007152/0.7061, allocations: 446.1 kB / 0.6844 GB, free: 2.027 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001786/0.7079, allocations: 0.8486 MB / 0.6852 GB, free: 1.176 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006795/0.7086, allocations: 498 kB / 0.6857 GB, free: 0.6875 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 9.86e-05/0.7087, allocations: 56 kB / 0.6857 GB, free: 0.6328 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003104/0.7119, allocations: 1.502 MB / 0.6872 GB, free: 15.13 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001835/0.7121, allocations: 175.4 kB / 0.6874 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0004233/0.7125, allocations: 370.3 kB / 0.6877 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.002799/0.7153, allocations: 1.749 MB / 0.6894 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.7153, allocations: 0 / 0.6894 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.473e-06/0.7153, allocations: 0 / 0.6894 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.007e-05/0.7153, allocations: 0 / 0.6894 GB, free: 12.84 MB / 0.5294 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.001952/0.7173, allocations: 1.138 MB / 0.6905 GB, free: 11.65 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/0.7173, allocations: 19.83 kB / 0.6906 GB, free: 11.63 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001105/0.7185, allocations: 163 kB / 0.6907 GB, free: 11.47 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008095/0.7193, allocations: 0.5003 MB / 0.6912 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.15e-05/0.7193, allocations: 37 kB / 0.6912 GB, free: 10.89 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.12e-05/0.7194, allocations: 43.98 kB / 0.6913 GB, free: 10.85 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001165/0.7206, allocations: 0.6413 MB / 0.6919 GB, free: 10.16 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.669e-05/0.7206, allocations: 0 / 0.6919 GB, free: 10.16 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.846e-05/0.7207, allocations: 31.88 kB / 0.6919 GB, free: 10.14 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.316e-05/0.7207, allocations: 12 kB / 0.6919 GB, free: 10.12 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008447/0.7215, allocations: 495.6 kB / 0.6924 GB, free: 9.637 MB / 0.5294 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.003194/0.7247, allocations: 2.66 MB / 0.695 GB, free: 6.789 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006395/0.7254, allocations: 330.7 kB / 0.6953 GB, free: 6.457 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000258/0.7257, allocations: 160.7 kB / 0.6955 GB, free: 6.297 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001228/0.7269, allocations: 1.3 MB / 0.6968 GB, free: 4.777 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.358e-05/0.727, allocations: 38.56 kB / 0.6968 GB, free: 4.73 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=35): time 2.053e-06/0.727, allocations: 0 / 0.6968 GB, free: 4.73 MB / 0.5294 GB Notification: Performance of matching and sorting (n=35): time 0.001688/0.7287, allocations: 0.7016 MB / 0.6975 GB, free: 4 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.588e-05/0.7288, allocations: 162.1 kB / 0.6976 GB, free: 3.805 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005861/0.7293, allocations: 0.5223 MB / 0.6981 GB, free: 3.273 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.616e-05/0.7294, allocations: 29.7 kB / 0.6982 GB, free: 3.238 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002836/0.7297, allocations: 299.6 kB / 0.6985 GB, free: 2.941 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 9.793e-05/0.7298, allocations: 118.3 kB / 0.6986 GB, free: 2.824 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001659/0.73, allocations: 122.1 kB / 0.6987 GB, free: 2.699 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000149/0.7301, allocations: 366.8 kB / 0.699 GB, free: 2.332 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003041/0.7304, allocations: 149 kB / 0.6992 GB, free: 2.188 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004004/0.7308, allocations: 318.9 kB / 0.6995 GB, free: 1.797 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006763/0.7315, allocations: 478.7 kB / 0.6999 GB, free: 1.266 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.506e-06/0.7315, allocations: 0 / 0.6999 GB, free: 1.266 MB / 0.5294 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0009538/0.7325, allocations: 0.5675 MB / 0.7005 GB, free: 0.6875 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.515e-05/0.7325, allocations: 14.59 kB / 0.7005 GB, free: 0.6758 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.076e-05/0.7326, allocations: 4 kB / 0.7005 GB, free: 0.6719 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001437/0.734, allocations: 240.9 kB / 0.7007 GB, free: 444 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003969/0.7344, allocations: 119.8 kB / 0.7009 GB, free: 324 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004656/0.7349, allocations: 0.5836 MB / 0.7014 GB, free: 15.71 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003573/0.7353, allocations: 59.36 kB / 0.7015 GB, free: 15.65 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.091e-05/0.7353, allocations: 48 kB / 0.7015 GB, free: 15.6 MB / 0.545 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.0002821/0.7356, allocations: 197.6 kB / 0.7017 GB, free: 15.4 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001188/0.7358, allocations: 63.34 kB / 0.7018 GB, free: 15.34 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001454/0.7372, allocations: 0.7395 MB / 0.7025 GB, free: 14.57 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.7372, allocations: 4 kB / 0.7025 GB, free: 14.57 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.7372, allocations: 0 / 0.7025 GB, free: 14.57 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5e-06/0.7373, allocations: 0 / 0.7025 GB, free: 14.57 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001393/0.7387, allocations: 1.027 MB / 0.7035 GB, free: 13.46 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.7387, allocations: 0 / 0.7035 GB, free: 13.46 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000203/0.7389, allocations: 59.91 kB / 0.7036 GB, free: 13.4 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002861/0.7417, allocations: 444.3 kB / 0.704 GB, free: 12.96 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.673e-05/0.7418, allocations: 8 kB / 0.704 GB, free: 12.96 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004661/0.7423, allocations: 0.5954 MB / 0.7046 GB, free: 12.34 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/0.7423, allocations: 3.938 kB / 0.7046 GB, free: 12.33 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007942/0.7431, allocations: 0.4933 MB / 0.7051 GB, free: 11.8 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002101/0.7433, allocations: 140.3 kB / 0.7052 GB, free: 11.64 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.327e-05/0.7434, allocations: 8 kB / 0.7052 GB, free: 11.64 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003342/0.7437, allocations: 19.98 kB / 0.7052 GB, free: 11.62 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.385e-05/0.7438, allocations: 31.84 kB / 0.7053 GB, free: 11.59 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.691e-05/0.7439, allocations: 19.98 kB / 0.7053 GB, free: 11.57 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0005673/0.7444, allocations: 442.8 kB / 0.7057 GB, free: 11.14 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7444, allocations: 0 / 0.7057 GB, free: 11.14 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0009773/0.7454, allocations: 331.8 kB / 0.706 GB, free: 10.81 MB / 0.545 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.001154/0.7466, allocations: 463 kB / 0.7064 GB, free: 10.36 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0007879/0.7474, allocations: 380.6 kB / 0.7068 GB, free: 9.984 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.7474, allocations: 0 / 0.7068 GB, free: 9.984 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003246/0.7477, allocations: 155.7 kB / 0.707 GB, free: 9.832 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001797/0.7495, allocations: 411 kB / 0.7074 GB, free: 9.438 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001724/0.7513, allocations: 0.9703 MB / 0.7083 GB, free: 8.418 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000673/0.752, allocations: 0.8637 MB / 0.7091 GB, free: 7.527 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002974/0.7523, allocations: 107.4 kB / 0.7092 GB, free: 7.422 MB / 0.545 GB Notification: Performance of SimCode: time 4.51e-07/0.7523, allocations: 0 / 0.7092 GB, free: 7.422 MB / 0.545 GB Notification: Performance of Templates: time 0.02446/0.7767, allocations: 16.09 MB / 0.725 GB, free: 7.332 MB / 0.5606 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/TestCases/PressureLoss/Orifice/Orifice.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches