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.00126/0.00126, allocations: 104.5 kB / 16.4 MB, free: 6.508 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.001335/0.001335, allocations: 189.5 kB / 17.34 MB, free: 5.742 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.665/1.665, allocations: 205.1 MB / 223.2 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.2456/0.2456, allocations: 43.52 MB / 314.1 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.002582/0.002582, allocations: 59.91 kB / 441.8 MB, free: 5.652 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1972/0.1998, allocations: 57.78 MB / 499.6 MB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice): time 0.5745/0.7744, allocations: 187.7 MB / 0.6712 GB, free: 14.72 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01089/0.7854, allocations: 7.015 MB / 0.678 GB, free: 7.688 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008726/0.7863, allocations: 19.88 kB / 0.6781 GB, free: 7.668 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001118/0.7875, allocations: 345.7 kB / 0.6784 GB, free: 7.328 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.007022/0.7945, allocations: 2.407 MB / 0.6807 GB, free: 4.918 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002707/0.7972, allocations: 0.9462 MB / 0.6817 GB, free: 3.973 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.002732/0.8, allocations: 1.691 MB / 0.6833 GB, free: 2.273 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007504/0.8007, allocations: 454 kB / 0.6838 GB, free: 1.82 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001916/0.8027, allocations: 0.8526 MB / 0.6846 GB, free: 0.9648 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007891/0.8035, allocations: 0.4903 MB / 0.6851 GB, free: 484 kB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001021/0.8036, allocations: 56 kB / 0.6851 GB, free: 428 kB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003198/0.8068, allocations: 1.498 MB / 0.6866 GB, free: 14.92 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0002006/0.807, allocations: 175.4 kB / 0.6868 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0004367/0.8074, allocations: 382.3 kB / 0.6871 GB, free: 14.37 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.002568/0.81, allocations: 1.734 MB / 0.6888 GB, free: 12.63 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.81, allocations: 0 / 0.6888 GB, free: 12.63 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.974e-06/0.81, allocations: 0 / 0.6888 GB, free: 12.63 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 9.709e-06/0.8101, allocations: 4 kB / 0.6888 GB, free: 12.63 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.002122/0.8122, allocations: 1.138 MB / 0.6899 GB, free: 11.44 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.899e-05/0.8122, allocations: 15.89 kB / 0.6899 GB, free: 11.42 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001157/0.8134, allocations: 163 kB / 0.6901 GB, free: 11.26 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008871/0.8143, allocations: 0.5081 MB / 0.6906 GB, free: 10.71 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.306e-05/0.8143, allocations: 33 kB / 0.6906 GB, free: 10.68 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.152e-05/0.8144, allocations: 44 kB / 0.6907 GB, free: 10.64 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001122/0.8155, allocations: 0.6361 MB / 0.6913 GB, free: 9.957 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.556e-05/0.8156, allocations: 3.938 kB / 0.6913 GB, free: 9.953 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.9e-05/0.8156, allocations: 27.94 kB / 0.6913 GB, free: 9.926 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.352e-05/0.8157, allocations: 12 kB / 0.6913 GB, free: 9.914 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009438/0.8166, allocations: 499.6 kB / 0.6918 GB, free: 9.422 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.003438/0.8201, allocations: 2.66 MB / 0.6944 GB, free: 6.574 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006607/0.8207, allocations: 322.3 kB / 0.6947 GB, free: 6.254 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002907/0.821, allocations: 164.7 kB / 0.6949 GB, free: 6.09 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001498/0.8225, allocations: 1.3 MB / 0.6961 GB, free: 4.57 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.855e-05/0.8226, allocations: 38.56 kB / 0.6962 GB, free: 4.523 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=35): time 1.964e-06/0.8226, allocations: 0 / 0.6962 GB, free: 4.523 MB / 0.5294 GB Notification: Performance of matching and sorting (n=35): time 0.001659/0.8243, allocations: 0.6977 MB / 0.6969 GB, free: 3.797 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001029/0.8244, allocations: 166.1 kB / 0.697 GB, free: 3.598 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00064/0.825, allocations: 0.5184 MB / 0.6975 GB, free: 3.07 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 5.026e-05/0.8251, allocations: 37.7 kB / 0.6976 GB, free: 3.027 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002324/0.8253, allocations: 299.6 kB / 0.6978 GB, free: 2.73 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001073/0.8254, allocations: 118.3 kB / 0.698 GB, free: 2.613 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001649/0.8256, allocations: 126.1 kB / 0.6981 GB, free: 2.484 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001703/0.8258, allocations: 362.8 kB / 0.6984 GB, free: 2.121 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002667/0.8261, allocations: 145 kB / 0.6986 GB, free: 1.98 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004358/0.8265, allocations: 318.9 kB / 0.6989 GB, free: 1.59 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006955/0.8272, allocations: 470.8 kB / 0.6993 GB, free: 1.066 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/0.8272, allocations: 0 / 0.6993 GB, free: 1.066 MB / 0.5294 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001019/0.8283, allocations: 0.5711 MB / 0.6999 GB, free: 496 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.334e-05/0.8283, allocations: 14.75 kB / 0.6999 GB, free: 484 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.058e-05/0.8283, allocations: 7.938 kB / 0.6999 GB, free: 476 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001551/0.8299, allocations: 241.2 kB / 0.7001 GB, free: 232 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003832/0.8303, allocations: 119.9 kB / 0.7002 GB, free: 112 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004724/0.8307, allocations: 0.5836 MB / 0.7008 GB, free: 15.5 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000371/0.8311, allocations: 59.36 kB / 0.7009 GB, free: 15.44 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.386e-05/0.8312, allocations: 51.98 kB / 0.7009 GB, free: 15.39 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.0002644/0.8315, allocations: 197.5 kB / 0.7011 GB, free: 15.19 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001313/0.8316, allocations: 59.34 kB / 0.7012 GB, free: 15.13 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001486/0.8331, allocations: 0.738 MB / 0.7019 GB, free: 14.36 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.683e-06/0.8331, allocations: 4 kB / 0.7019 GB, free: 14.36 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.219e-06/0.8332, allocations: 0 / 0.7019 GB, free: 14.36 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/0.8332, allocations: 3.984 kB / 0.7019 GB, free: 14.36 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001412/0.8346, allocations: 1.027 MB / 0.7029 GB, free: 13.25 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.866e-06/0.8346, allocations: 0 / 0.7029 GB, free: 13.25 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001997/0.8348, allocations: 43.98 kB / 0.7029 GB, free: 13.21 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003137/0.838, allocations: 460.3 kB / 0.7034 GB, free: 12.75 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.331e-05/0.838, allocations: 8 kB / 0.7034 GB, free: 12.75 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003871/0.8384, allocations: 0.5915 MB / 0.704 GB, free: 12.13 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.8384, allocations: 0 / 0.704 GB, free: 12.13 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006962/0.8391, allocations: 0.4972 MB / 0.7044 GB, free: 11.59 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001513/0.8393, allocations: 144.3 kB / 0.7046 GB, free: 11.43 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001036/0.8394, allocations: 8 kB / 0.7046 GB, free: 11.43 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003424/0.8397, allocations: 15.98 kB / 0.7046 GB, free: 11.41 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.272e-05/0.8398, allocations: 35.84 kB / 0.7046 GB, free: 11.38 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.237e-05/0.8398, allocations: 19.98 kB / 0.7047 GB, free: 11.36 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0005191/0.8404, allocations: 438.8 kB / 0.7051 GB, free: 10.93 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8404, allocations: 0 / 0.7051 GB, free: 10.93 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001008/0.8414, allocations: 335.7 kB / 0.7054 GB, free: 10.6 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.0009994/0.8424, allocations: 467.8 kB / 0.7058 GB, free: 10.14 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0008053/0.8432, allocations: 380.2 kB / 0.7062 GB, free: 9.766 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.8432, allocations: 0 / 0.7062 GB, free: 9.766 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003052/0.8435, allocations: 157.1 kB / 0.7063 GB, free: 9.613 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001812/0.8454, allocations: 402.3 kB / 0.7067 GB, free: 9.23 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001389/0.8468, allocations: 0.9415 MB / 0.7077 GB, free: 8.242 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004216/0.8472, allocations: 0.8676 MB / 0.7085 GB, free: 7.348 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0006608/0.8479, allocations: 213.1 kB / 0.7087 GB, free: 7.137 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001983/0.8481, allocations: 95.3 kB / 0.7088 GB, free: 7.043 MB / 0.545 GB Notification: Performance of SimCode: time 3.11e-07/0.8481, allocations: 0 / 0.7088 GB, free: 7.043 MB / 0.545 GB Notification: Performance of Templates: time 0.0299/0.878, allocations: 18.06 MB / 0.7264 GB, free: 4.996 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/TestCases/PressureLoss/Orifice/Orifice.csv","/var/lib/jenkins/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