Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.001115/0.001115, allocations: 104.7 kB / 18.44 MB, free: 4.648 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.001196/0.001196, allocations: 183.1 kB / 19.37 MB, free: 3.727 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.272/1.272, allocations: 222.9 MB / 243.1 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2037/0.2037, allocations: 44.19 MB / 337.4 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001331/0.001331, allocations: 67.89 kB / 471.2 MB, free: 13.18 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3379/0.3392, allocations: 60.81 MB / 0.5196 GB, free: 3.625 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice): time 0.1961/0.5354, allocations: 181.1 MB / 0.6965 GB, free: 6.289 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.007349/0.5428, allocations: 4.603 MB / 0.701 GB, free: 1.672 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000759/0.5436, allocations: 15.88 kB / 0.701 GB, free: 1.656 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001171/0.5448, allocations: 337.8 kB / 0.7013 GB, free: 1.324 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.005154/0.55, allocations: 1.782 MB / 0.703 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002537/0.5526, allocations: 0.9422 MB / 0.7039 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002501/0.5551, allocations: 1.695 MB / 0.7056 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008675/0.556, allocations: 446.2 kB / 0.706 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002511/0.5585, allocations: 0.8409 MB / 0.7069 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001044/0.5595, allocations: 0.4942 MB / 0.7073 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002244/0.5598, allocations: 56 kB / 0.7074 GB, free: 11.06 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002941/0.5627, allocations: 1.291 MB / 0.7086 GB, free: 9.766 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002888/0.563, allocations: 171.5 kB / 0.7088 GB, free: 9.598 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0007021/0.5637, allocations: 370.4 kB / 0.7092 GB, free: 9.234 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003343/0.5671, allocations: 1.632 MB / 0.7108 GB, free: 7.598 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.5671, allocations: 4 kB / 0.7108 GB, free: 7.594 MB / 0.5606 GB Notification: Performance of FrontEnd: time 3.387e-06/0.5671, allocations: 0 / 0.7108 GB, free: 7.594 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.671e-05/0.5672, allocations: 3.938 kB / 0.7108 GB, free: 7.59 MB / 0.5606 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.002637/0.5698, allocations: 1.095 MB / 0.7118 GB, free: 6.445 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.238e-05/0.5699, allocations: 8.031 kB / 0.7118 GB, free: 6.438 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001327/0.5712, allocations: 159.1 kB / 0.712 GB, free: 6.281 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009997/0.5722, allocations: 0.5003 MB / 0.7125 GB, free: 5.738 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.645e-05/0.5723, allocations: 33 kB / 0.7125 GB, free: 5.707 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.483e-05/0.5723, allocations: 43.94 kB / 0.7126 GB, free: 5.664 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001252/0.5736, allocations: 0.6478 MB / 0.7132 GB, free: 4.969 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.53e-05/0.5736, allocations: 0 / 0.7132 GB, free: 4.969 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.728e-05/0.5737, allocations: 24 kB / 0.7132 GB, free: 4.945 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.239e-05/0.5737, allocations: 12 kB / 0.7132 GB, free: 4.934 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009573/0.5747, allocations: 0.4956 MB / 0.7137 GB, free: 4.438 MB / 0.5606 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.00329/0.578, allocations: 2.648 MB / 0.7163 GB, free: 1.602 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007171/0.5787, allocations: 322.8 kB / 0.7166 GB, free: 1.277 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002698/0.579, allocations: 160.7 kB / 0.7168 GB, free: 1.117 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003981/0.5794, allocations: 441.5 kB / 0.7172 GB, free: 0.5938 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.868e-05/0.5795, allocations: 46.42 kB / 0.7172 GB, free: 0.5391 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=35): time 2.174e-06/0.5795, allocations: 0 / 0.7172 GB, free: 0.5391 MB / 0.5606 GB Notification: Performance of matching and sorting (n=35): time 0.256/0.8355, allocations: 0.6943 MB / 0.7179 GB, free: 191 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.315e-05/0.8355, allocations: 162.1 kB / 0.7181 GB, free: 190.8 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008904/0.8364, allocations: 0.5151 MB / 0.7186 GB, free: 190.7 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 7.109e-05/0.8365, allocations: 36.3 kB / 0.7186 GB, free: 190.6 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002021/0.8367, allocations: 304.2 kB / 0.7189 GB, free: 190.5 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001096/0.8368, allocations: 120.7 kB / 0.719 GB, free: 190.4 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002308/0.8371, allocations: 117.4 kB / 0.7191 GB, free: 190.3 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.681e-05/0.8372, allocations: 364.8 kB / 0.7195 GB, free: 190 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003152/0.8375, allocations: 150.2 kB / 0.7196 GB, free: 189.9 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003596/0.8379, allocations: 315.2 kB / 0.7199 GB, free: 189.7 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006223/0.8385, allocations: 481 kB / 0.7204 GB, free: 189.4 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.8385, allocations: 2.844 kB / 0.7204 GB, free: 189.4 MB / 0.5606 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.000985/0.8395, allocations: 0.5709 MB / 0.7209 GB, free: 189.2 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/0.8395, allocations: 7.844 kB / 0.7209 GB, free: 189.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.658e-06/0.8396, allocations: 9.375 kB / 0.7209 GB, free: 189.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001596/0.8412, allocations: 235.5 kB / 0.7212 GB, free: 189.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003972/0.8416, allocations: 119.7 kB / 0.7213 GB, free: 189.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00033/0.8419, allocations: 0.5872 MB / 0.7218 GB, free: 188.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003594/0.8423, allocations: 57.05 kB / 0.7219 GB, free: 188.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.429e-05/0.8424, allocations: 57.56 kB / 0.722 GB, free: 188.5 MB / 0.5606 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.0002325/0.8426, allocations: 197.5 kB / 0.7221 GB, free: 188.4 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001199/0.8427, allocations: 60.02 kB / 0.7222 GB, free: 188.3 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001799/0.8445, allocations: 1.098 MB / 0.7233 GB, free: 188 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/0.8446, allocations: 5.828 kB / 0.7233 GB, free: 188 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.8446, allocations: 0 / 0.7233 GB, free: 188 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.222e-06/0.8446, allocations: 6.391 kB / 0.7233 GB, free: 188 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001227/0.8458, allocations: 1.014 MB / 0.7243 GB, free: 187.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.626e-06/0.8458, allocations: 1.375 kB / 0.7243 GB, free: 187.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001915/0.846, allocations: 50.75 kB / 0.7243 GB, free: 187.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003099/0.8491, allocations: 448.8 kB / 0.7248 GB, free: 187.3 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.556e-05/0.8492, allocations: 10.75 kB / 0.7248 GB, free: 187.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002841/0.8495, allocations: 0.5977 MB / 0.7253 GB, free: 186.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.8495, allocations: 5.719 kB / 0.7254 GB, free: 186.8 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000633/0.8501, allocations: 0.4951 MB / 0.7258 GB, free: 186.4 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001058/0.8502, allocations: 137.9 kB / 0.726 GB, free: 186.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001008/0.8503, allocations: 18.23 kB / 0.726 GB, free: 186.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003292/0.8507, allocations: 18 kB / 0.726 GB, free: 186.3 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.8e-05/0.8507, allocations: 31.17 kB / 0.726 GB, free: 186.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.439e-05/0.8508, allocations: 21.05 kB / 0.7261 GB, free: 186.3 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004623/0.8512, allocations: 440.8 kB / 0.7265 GB, free: 186.1 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8512, allocations: 0 / 0.7265 GB, free: 186.1 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0008441/0.8521, allocations: 298.3 kB / 0.7268 GB, free: 186.1 MB / 0.5606 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.0007662/0.8529, allocations: 380.7 kB / 0.7271 GB, free: 185.9 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0007371/0.8536, allocations: 378.1 kB / 0.7275 GB, free: 185.8 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.549e-06/0.8536, allocations: 5.438 kB / 0.7275 GB, free: 185.8 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002729/0.8539, allocations: 150.5 kB / 0.7276 GB, free: 185.8 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001752/0.8557, allocations: 397.9 kB / 0.728 GB, free: 185.7 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001237/0.8569, allocations: 0.9632 MB / 0.7289 GB, free: 185.1 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002502/0.8572, allocations: 0.8649 MB / 0.7298 GB, free: 184.3 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003374/0.8575, allocations: 134.3 kB / 0.7299 GB, free: 184.3 MB / 0.5606 GB Notification: Performance of SimCode: time 2.4e-07/0.8575, allocations: 0 / 0.7299 GB, free: 184.3 MB / 0.5606 GB Notification: Performance of Templates: time 0.01729/0.8748, allocations: 15.57 MB / 0.7451 GB, free: 174.3 MB / 0.5606 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/TestCases/PressureLoss/Orifice/Orifice.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches