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.001146/0.001146, allocations: 108.2 kB / 18.39 MB, free: 4.629 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.0013/0.0013, allocations: 182.9 kB / 19.33 MB, free: 3.699 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.346/1.346, allocations: 222.9 MB / 243 MB, free: 15.08 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.2032/0.2032, allocations: 44.18 MB / 337.4 MB, free: 2.695 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001298/0.001298, allocations: 67.23 kB / 409.9 MB, free: 26.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1122/0.1136, allocations: 60.82 MB / 470.7 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice): time 0.4097/0.5233, allocations: 181.1 MB / 0.6366 GB, free: 10.9 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.006959/0.5303, allocations: 4.596 MB / 0.6411 GB, free: 6.289 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006147/0.5309, allocations: 15.88 kB / 0.6411 GB, free: 6.273 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001031/0.532, allocations: 345.7 kB / 0.6414 GB, free: 5.934 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004945/0.537, allocations: 1.766 MB / 0.6431 GB, free: 4.168 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002534/0.5395, allocations: 0.9499 MB / 0.6441 GB, free: 3.227 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.002386/0.5419, allocations: 1.691 MB / 0.6457 GB, free: 1.527 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006716/0.5426, allocations: 453.4 kB / 0.6461 GB, free: 1.086 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001648/0.5443, allocations: 0.8409 MB / 0.647 GB, free: 248 kB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006649/0.5449, allocations: 494.1 kB / 0.6474 GB, free: 15.76 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.627e-05/0.545, allocations: 52 kB / 0.6475 GB, free: 15.71 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002709/0.5478, allocations: 1.295 MB / 0.6487 GB, free: 14.41 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000186/0.548, allocations: 179.4 kB / 0.6489 GB, free: 14.23 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003852/0.5483, allocations: 366.3 kB / 0.6493 GB, free: 13.88 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00287/0.5512, allocations: 1.632 MB / 0.6509 GB, free: 12.24 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.205e-06/0.5512, allocations: 0 / 0.6509 GB, free: 12.24 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.457e-06/0.5513, allocations: 3.938 kB / 0.6509 GB, free: 12.23 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.472e-05/0.5513, allocations: 0 / 0.6509 GB, free: 12.23 MB / 494.1 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.002078/0.5534, allocations: 1.103 MB / 0.6519 GB, free: 11.08 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.493e-05/0.5534, allocations: 8.031 kB / 0.6519 GB, free: 11.07 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001187/0.5546, allocations: 155.1 kB / 0.6521 GB, free: 10.92 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001086/0.5557, allocations: 0.5003 MB / 0.6526 GB, free: 10.38 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.957e-05/0.5558, allocations: 36.98 kB / 0.6526 GB, free: 10.34 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.72e-05/0.5559, allocations: 44 kB / 0.6527 GB, free: 10.3 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001184/0.557, allocations: 0.6399 MB / 0.6533 GB, free: 9.609 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.847e-05/0.5571, allocations: 3.938 kB / 0.6533 GB, free: 9.605 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.61e-05/0.5571, allocations: 24 kB / 0.6533 GB, free: 9.582 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.484e-05/0.5572, allocations: 12 kB / 0.6533 GB, free: 9.57 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009016/0.5581, allocations: 0.4918 MB / 0.6538 GB, free: 9.078 MB / 494.1 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.003241/0.5613, allocations: 2.644 MB / 0.6564 GB, free: 6.246 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007134/0.5621, allocations: 332.3 kB / 0.6567 GB, free: 5.914 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003081/0.5624, allocations: 160.8 kB / 0.6569 GB, free: 5.754 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004666/0.5629, allocations: 433.5 kB / 0.6573 GB, free: 5.238 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.415e-05/0.5629, allocations: 38.56 kB / 0.6573 GB, free: 5.191 MB / 494.1 MB Notification: Performance of pre-optimization done (n=35): time 2.084e-06/0.5629, allocations: 0 / 0.6573 GB, free: 5.191 MB / 494.1 MB Notification: Performance of matching and sorting (n=35): time 0.001699/0.5646, allocations: 0.7102 MB / 0.658 GB, free: 4.453 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.768e-05/0.5647, allocations: 162.2 kB / 0.6582 GB, free: 4.258 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006176/0.5654, allocations: 0.5106 MB / 0.6587 GB, free: 3.734 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 5.145e-05/0.5654, allocations: 37.7 kB / 0.6587 GB, free: 3.691 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002314/0.5657, allocations: 303.6 kB / 0.659 GB, free: 3.391 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001157/0.5658, allocations: 126.1 kB / 0.6591 GB, free: 3.266 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001988/0.566, allocations: 118.1 kB / 0.6592 GB, free: 3.145 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001644/0.5662, allocations: 370.7 kB / 0.6596 GB, free: 2.773 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002824/0.5664, allocations: 145.1 kB / 0.6597 GB, free: 2.629 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004106/0.5669, allocations: 326.9 kB / 0.66 GB, free: 2.234 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006926/0.5676, allocations: 469.8 kB / 0.6605 GB, free: 1.711 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.641e-06/0.5676, allocations: 4 kB / 0.6605 GB, free: 1.707 MB / 494.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001007/0.5686, allocations: 0.5674 MB / 0.661 GB, free: 1.129 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.182e-05/0.5686, allocations: 11.94 kB / 0.661 GB, free: 1.117 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/0.5686, allocations: 4 kB / 0.661 GB, free: 1.113 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001517/0.5702, allocations: 241.1 kB / 0.6613 GB, free: 0.875 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004083/0.5706, allocations: 127.5 kB / 0.6614 GB, free: 0.7539 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000481/0.5711, allocations: 0.5836 MB / 0.662 GB, free: 148 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003915/0.5715, allocations: 55.33 kB / 0.662 GB, free: 92 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.234e-05/0.5716, allocations: 56 kB / 0.6621 GB, free: 36 kB / 494.1 MB 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.0002972/0.5719, allocations: 193.6 kB / 0.6623 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001197/0.572, allocations: 59.41 kB / 0.6623 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001852/0.5739, allocations: 1.095 MB / 0.6634 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.761e-06/0.5739, allocations: 4 kB / 0.6634 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.5739, allocations: 0 / 0.6634 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.5739, allocations: 4 kB / 0.6634 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001407/0.5753, allocations: 1.013 MB / 0.6644 GB, free: 13.56 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.5753, allocations: 0 / 0.6644 GB, free: 13.56 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002041/0.5755, allocations: 55.91 kB / 0.6644 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00311/0.5787, allocations: 440.3 kB / 0.6648 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.73e-05/0.5787, allocations: 11.94 kB / 0.6649 GB, free: 13.06 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004413/0.5792, allocations: 0.6069 MB / 0.6655 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.5792, allocations: 0 / 0.6655 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007437/0.5799, allocations: 0.5045 MB / 0.6659 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001617/0.5801, allocations: 136.4 kB / 0.6661 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001015/0.5802, allocations: 15.84 kB / 0.6661 GB, free: 11.72 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003284/0.5805, allocations: 12 kB / 0.6661 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.619e-05/0.5806, allocations: 35.84 kB / 0.6661 GB, free: 11.67 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.722e-05/0.5806, allocations: 19.98 kB / 0.6662 GB, free: 11.65 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0005296/0.5812, allocations: 438.8 kB / 0.6666 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5812, allocations: 0 / 0.6666 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0009023/0.5821, allocations: 295.8 kB / 0.6669 GB, free: 10.94 MB / 0.4981 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.0009/0.583, allocations: 396 kB / 0.6672 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0008071/0.5838, allocations: 381.1 kB / 0.6676 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.911e-06/0.5838, allocations: 4.312 kB / 0.6676 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003035/0.5842, allocations: 160 kB / 0.6678 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001672/0.5858, allocations: 402.2 kB / 0.6681 GB, free: 9.629 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001384/0.5872, allocations: 0.9337 MB / 0.669 GB, free: 8.648 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004194/0.5877, allocations: 0.8637 MB / 0.6699 GB, free: 7.758 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.00102/0.5887, allocations: 0.5735 MB / 0.6705 GB, free: 7.184 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002485/0.5889, allocations: 95.39 kB / 0.6705 GB, free: 7.09 MB / 0.4981 GB Notification: Performance of SimCode: time 2.51e-07/0.589, allocations: 0 / 0.6705 GB, free: 7.09 MB / 0.4981 GB Notification: Performance of Templates: time 0.02694/0.6159, allocations: 17.04 MB / 0.6872 GB, free: 6.215 MB / 0.5137 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 -s gbode -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