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/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.00177/0.00177, allocations: 183 kB / 16.63 MB, free: 5.137 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.265/1.265, allocations: 205.1 MB / 222.4 MB, free: 8.488 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001082/0.001082, allocations: 107.3 kB / 269.9 MB, free: 8.434 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.333/0.333, allocations: 43.5 MB / 360.7 MB, free: 51.18 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001037/0.001038, allocations: 47.91 kB / 429.3 MB, free: 6.383 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1138/0.1149, allocations: 57.77 MB / 487 MB, free: 12.54 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice): time 0.362/0.477, allocations: 185.9 MB / 0.6572 GB, free: 7.859 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.00966/0.4867, allocations: 7.204 MB / 0.6642 GB, free: 0.6406 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009145/0.4876, allocations: 19.88 kB / 0.6642 GB, free: 0.6211 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009266/0.4886, allocations: 290.4 kB / 0.6645 GB, free: 344 kB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005618/0.4942, allocations: 2.061 MB / 0.6665 GB, free: 14.28 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002263/0.4965, allocations: 0.8602 MB / 0.6674 GB, free: 13.43 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.002448/0.499, allocations: 2.194 MB / 0.6695 GB, free: 11.23 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005624/0.4995, allocations: 389.4 kB / 0.6699 GB, free: 10.85 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001597/0.5011, allocations: 0.7706 MB / 0.6706 GB, free: 10.08 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006512/0.5018, allocations: 0.5058 MB / 0.6711 GB, free: 9.57 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 7.651e-05/0.5019, allocations: 32 kB / 0.6711 GB, free: 9.539 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002502/0.5044, allocations: 1.373 MB / 0.6725 GB, free: 8.164 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001717/0.5046, allocations: 155.4 kB / 0.6726 GB, free: 8.012 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003559/0.505, allocations: 350.3 kB / 0.673 GB, free: 7.668 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002044/0.507, allocations: 1.722 MB / 0.6747 GB, free: 5.941 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.507, allocations: 0 / 0.6747 GB, free: 5.941 MB / 490.7 MB Notification: Performance of FrontEnd: time 7.72e-07/0.507, allocations: 7.938 kB / 0.6747 GB, free: 5.934 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.794e-06/0.507, allocations: 0 / 0.6747 GB, free: 5.934 MB / 490.7 MB 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.001764/0.5088, allocations: 1.136 MB / 0.6758 GB, free: 4.75 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.5089, allocations: 16.02 kB / 0.6758 GB, free: 4.734 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001026/0.5099, allocations: 163 kB / 0.6759 GB, free: 4.574 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006676/0.5106, allocations: 0.4925 MB / 0.6764 GB, free: 4.043 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.201e-05/0.5106, allocations: 29 kB / 0.6764 GB, free: 4.016 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.211e-05/0.5107, allocations: 48 kB / 0.6765 GB, free: 3.969 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009863/0.5117, allocations: 0.6399 MB / 0.6771 GB, free: 3.281 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.294e-05/0.5117, allocations: 0 / 0.6771 GB, free: 3.281 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.902e-05/0.5118, allocations: 27.94 kB / 0.6771 GB, free: 3.254 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.214e-05/0.5118, allocations: 12.75 kB / 0.6772 GB, free: 3.242 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008261/0.5126, allocations: 491.6 kB / 0.6776 GB, free: 2.762 MB / 490.7 MB 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.002992/0.5156, allocations: 2.683 MB / 0.6802 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006603/0.5163, allocations: 314.7 kB / 0.6805 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002595/0.5166, allocations: 165 kB / 0.6807 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001287/0.5178, allocations: 1.3 MB / 0.682 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.129e-05/0.5179, allocations: 46.5 kB / 0.682 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=35): time 1.894e-06/0.5179, allocations: 0 / 0.682 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of matching and sorting (n=35): time 0.001529/0.5194, allocations: 0.6976 MB / 0.6827 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.001e-05/0.5195, allocations: 162.2 kB / 0.6829 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006012/0.5201, allocations: 0.5223 MB / 0.6834 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.909e-05/0.5202, allocations: 33.7 kB / 0.6834 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002008/0.5204, allocations: 299.7 kB / 0.6837 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 9.97e-05/0.5205, allocations: 122.2 kB / 0.6838 GB, free: 11.92 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001646/0.5207, allocations: 118.1 kB / 0.6839 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000145/0.5208, allocations: 362.8 kB / 0.6843 GB, free: 11.44 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002606/0.5211, allocations: 149 kB / 0.6844 GB, free: 11.29 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003768/0.5215, allocations: 326.1 kB / 0.6847 GB, free: 10.9 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006669/0.5222, allocations: 470.6 kB / 0.6852 GB, free: 10.38 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.5222, allocations: 4 kB / 0.6852 GB, free: 10.38 MB / 0.4948 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0009172/0.5231, allocations: 0.5681 MB / 0.6857 GB, free: 9.797 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.917e-05/0.5231, allocations: 11.94 kB / 0.6857 GB, free: 9.785 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.908e-06/0.5231, allocations: 4 kB / 0.6857 GB, free: 9.781 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001461/0.5246, allocations: 236.6 kB / 0.686 GB, free: 9.547 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003599/0.525, allocations: 115.8 kB / 0.6861 GB, free: 9.434 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004114/0.5254, allocations: 0.5836 MB / 0.6866 GB, free: 8.824 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004263/0.5258, allocations: 71.42 kB / 0.6867 GB, free: 8.754 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.208e-05/0.5259, allocations: 51.98 kB / 0.6868 GB, free: 8.703 MB / 0.4948 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.0003004/0.5262, allocations: 185.7 kB / 0.6869 GB, free: 8.512 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001333/0.5264, allocations: 67.19 kB / 0.687 GB, free: 8.445 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001551/0.5279, allocations: 0.7408 MB / 0.6877 GB, free: 7.68 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.992e-06/0.528, allocations: 4 kB / 0.6877 GB, free: 7.676 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.528, allocations: 0 / 0.6877 GB, free: 7.676 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.211e-06/0.528, allocations: 7.984 kB / 0.6877 GB, free: 7.668 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001374/0.5294, allocations: 1.015 MB / 0.6887 GB, free: 6.574 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.5294, allocations: 0 / 0.6887 GB, free: 6.574 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001911/0.5296, allocations: 56.11 kB / 0.6888 GB, free: 6.52 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003043/0.5326, allocations: 448.1 kB / 0.6892 GB, free: 6.078 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.917e-05/0.5327, allocations: 8 kB / 0.6892 GB, free: 6.07 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004053/0.5331, allocations: 0.6031 MB / 0.6898 GB, free: 5.441 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.053e-06/0.5331, allocations: 3.938 kB / 0.6898 GB, free: 5.438 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001343/0.5344, allocations: 1.291 MB / 0.6911 GB, free: 4.066 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001809/0.5346, allocations: 144.2 kB / 0.6912 GB, free: 3.906 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.943e-05/0.5347, allocations: 11.98 kB / 0.6912 GB, free: 3.895 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003582/0.5351, allocations: 31.86 kB / 0.6912 GB, free: 3.863 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.254e-05/0.5352, allocations: 27.97 kB / 0.6913 GB, free: 3.836 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.599e-05/0.5352, allocations: 23.92 kB / 0.6913 GB, free: 3.812 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0005042/0.5357, allocations: 438.8 kB / 0.6917 GB, free: 3.387 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5357, allocations: 0 / 0.6917 GB, free: 3.387 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001006/0.5367, allocations: 335.8 kB / 0.692 GB, free: 3.059 MB / 0.4948 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.0009466/0.5377, allocations: 474.5 kB / 0.6925 GB, free: 2.586 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0007304/0.5384, allocations: 374.5 kB / 0.6928 GB, free: 2.223 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/0.5385, allocations: 0 / 0.6928 GB, free: 2.223 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002868/0.5387, allocations: 155.8 kB / 0.693 GB, free: 2.07 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001881/0.5406, allocations: 386.7 kB / 0.6934 GB, free: 1.695 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001555/0.5422, allocations: 1.331 MB / 0.6947 GB, free: 324 kB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1758/0.718, allocations: 0.8723 MB / 0.6955 GB, free: 169 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.001157/0.7192, allocations: 213.5 kB / 0.6957 GB, free: 169 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002588/0.7195, allocations: 83.81 kB / 0.6958 GB, free: 169 MB / 0.4948 GB Notification: Performance of SimCode: time 8.82e-07/0.7195, allocations: 0 / 0.6958 GB, free: 169 MB / 0.4948 GB Notification: Performance of Templates: time 0.02998/0.7494, allocations: 17.72 MB / 0.7131 GB, free: 167.7 MB / 0.4948 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@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/TestCases/PressureLoss/Orifice/Orifice.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches