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/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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001186/0.001186, allocations: 186.9 kB / 17.97 MB, free: 3.797 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.301/1.301, allocations: 222.9 MB / 241.6 MB, free: 10.97 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001071/0.001071, allocations: 103.1 kB / 291.9 MB, free: 10.95 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3262/0.3262, allocations: 44.12 MB / 386.1 MB, free: 38.08 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001026/0.001026, allocations: 60.11 kB / 457.8 MB, free: 2.293 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3544/0.3554, allocations: 60.8 MB / 0.5064 GB, free: 38.21 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice): time 0.5379/0.8933, allocations: 179 MB / 0.6812 GB, free: 1.738 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.007461/0.9009, allocations: 4.704 MB / 0.6858 GB, free: 1.684 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001044/0.902, allocations: 18.06 kB / 0.6858 GB, free: 1.684 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001222/0.9033, allocations: 288.4 kB / 0.6861 GB, free: 1.676 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00704/0.9104, allocations: 1.572 MB / 0.6876 GB, free: 1.605 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002976/0.9133, allocations: 0.8587 MB / 0.6885 GB, free: 1.582 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.003185/0.9165, allocations: 2.2 MB / 0.6906 GB, free: 1.574 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006561/0.9172, allocations: 383.2 kB / 0.691 GB, free: 1.539 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001709/0.9189, allocations: 0.7734 MB / 0.6917 GB, free: 1.531 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007158/0.9197, allocations: 0.5123 MB / 0.6922 GB, free: 1.527 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 8.847e-05/0.9198, allocations: 31.22 kB / 0.6923 GB, free: 1.527 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003145/0.9229, allocations: 1.205 MB / 0.6934 GB, free: 1.508 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002042/0.9231, allocations: 156.8 kB / 0.6936 GB, free: 1.508 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004356/0.9236, allocations: 352.2 kB / 0.6939 GB, free: 1.508 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002409/0.926, allocations: 1.598 MB / 0.6955 GB, free: 1.426 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.926, allocations: 0 / 0.6955 GB, free: 1.426 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.224e-06/0.926, allocations: 5.656 kB / 0.6955 GB, free: 1.422 MB / 490.7 MB Notification: Performance of Transformations before backend: time 9.097e-06/0.926, allocations: 0 / 0.6955 GB, free: 1.422 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.00211/0.9281, allocations: 1.104 MB / 0.6966 GB, free: 16.78 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.854e-05/0.9282, allocations: 14.89 kB / 0.6966 GB, free: 16.78 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001066/0.9293, allocations: 156.3 kB / 0.6967 GB, free: 16.75 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007478/0.93, allocations: 494.9 kB / 0.6972 GB, free: 16.48 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.017e-05/0.9301, allocations: 32.66 kB / 0.6972 GB, free: 16.48 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.931e-05/0.9302, allocations: 47.31 kB / 0.6973 GB, free: 16.48 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00107/0.9312, allocations: 0.6482 MB / 0.6979 GB, free: 16.34 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.591e-05/0.9313, allocations: 0 / 0.6979 GB, free: 16.34 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.07e-05/0.9313, allocations: 19.48 kB / 0.6979 GB, free: 16.34 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.519e-05/0.9313, allocations: 12.28 kB / 0.6979 GB, free: 16.34 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008714/0.9322, allocations: 0.4897 MB / 0.6984 GB, free: 16.33 MB / 0.4948 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.003072/0.9353, allocations: 2.652 MB / 0.701 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006799/0.936, allocations: 326.7 kB / 0.7013 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002811/0.9363, allocations: 163.4 kB / 0.7015 GB, free: 14.6 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004974/0.9368, allocations: 434.2 kB / 0.7019 GB, free: 14.13 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.546e-05/0.9369, allocations: 44.95 kB / 0.7019 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=35): time 1.914e-06/0.9369, allocations: 4 kB / 0.7019 GB, free: 14.08 MB / 0.4948 GB Notification: Performance of matching and sorting (n=35): time 0.001707/0.9386, allocations: 0.6987 MB / 0.7026 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.998e-05/0.9387, allocations: 164 kB / 0.7028 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007131/0.9394, allocations: 0.5214 MB / 0.7033 GB, free: 13.6 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 5.404e-05/0.9395, allocations: 36.33 kB / 0.7033 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002112/0.9397, allocations: 299.8 kB / 0.7036 GB, free: 13.42 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001004/0.9398, allocations: 125.7 kB / 0.7037 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002563/0.9401, allocations: 116.4 kB / 0.7038 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001987/0.9403, allocations: 367.2 kB / 0.7042 GB, free: 13.01 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000334/0.9406, allocations: 140.7 kB / 0.7043 GB, free: 13.01 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004657/0.9411, allocations: 330.7 kB / 0.7046 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007336/0.9418, allocations: 474.5 kB / 0.7051 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.009e-06/0.9419, allocations: 1.781 kB / 0.7051 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001205/0.9431, allocations: 0.5694 MB / 0.7056 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.798e-05/0.9431, allocations: 8.688 kB / 0.7057 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.171e-05/0.9431, allocations: 12 kB / 0.7057 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001492/0.9446, allocations: 239.7 kB / 0.7059 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004075/0.945, allocations: 115.5 kB / 0.706 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000512/0.9456, allocations: 0.5859 MB / 0.7066 GB, free: 12 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004917/0.9461, allocations: 70.69 kB / 0.7066 GB, free: 11.97 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001205/0.9462, allocations: 60.19 kB / 0.7067 GB, free: 11.96 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.0003328/0.9465, allocations: 187 kB / 0.7069 GB, free: 11.85 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001691/0.9467, allocations: 58.62 kB / 0.7069 GB, free: 11.82 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002712/0.9494, allocations: 1.11 MB / 0.708 GB, free: 11.62 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.267e-06/0.9495, allocations: 3.75 kB / 0.708 GB, free: 11.62 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.9495, allocations: 0 / 0.708 GB, free: 11.62 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.155e-05/0.9495, allocations: 5.766 kB / 0.708 GB, free: 11.62 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001966/0.9515, allocations: 1.012 MB / 0.709 GB, free: 11.23 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.624e-06/0.9515, allocations: 1.375 kB / 0.709 GB, free: 11.23 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002422/0.9517, allocations: 55.16 kB / 0.7091 GB, free: 11.23 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003473/0.9552, allocations: 442 kB / 0.7095 GB, free: 11.22 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.591e-05/0.9553, allocations: 14.89 kB / 0.7095 GB, free: 11.21 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005114/0.9558, allocations: 0.6002 MB / 0.7101 GB, free: 10.69 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/0.9558, allocations: 2.25 kB / 0.7101 GB, free: 10.69 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001802/0.9576, allocations: 1.294 MB / 0.7114 GB, free: 9.859 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002404/0.9579, allocations: 144.5 kB / 0.7115 GB, free: 9.727 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001119/0.958, allocations: 13.27 kB / 0.7115 GB, free: 9.723 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003881/0.9584, allocations: 31.12 kB / 0.7115 GB, free: 9.715 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001104/0.9585, allocations: 24.59 kB / 0.7116 GB, free: 9.715 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.65e-05/0.9586, allocations: 19.33 kB / 0.7116 GB, free: 9.715 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0007659/0.9593, allocations: 442.6 kB / 0.712 GB, free: 9.633 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9593, allocations: 4 kB / 0.712 GB, free: 9.629 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001809/0.9612, allocations: 297.2 kB / 0.7123 GB, free: 9.59 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.001317/0.9625, allocations: 390.7 kB / 0.7127 GB, free: 9.449 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001076/0.9636, allocations: 373.2 kB / 0.713 GB, free: 9.438 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.9636, allocations: 0.6875 kB / 0.713 GB, free: 9.438 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003753/0.964, allocations: 150.5 kB / 0.7132 GB, free: 9.438 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00223/0.9662, allocations: 393 kB / 0.7135 GB, free: 9.398 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002292/0.9685, allocations: 1.325 MB / 0.7148 GB, free: 8.613 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006051/0.9691, allocations: 0.8735 MB / 0.7157 GB, free: 7.906 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.001713/0.9709, allocations: 0.5772 MB / 0.7163 GB, free: 7.805 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002876/0.9711, allocations: 97.8 kB / 0.7163 GB, free: 7.789 MB / 0.4948 GB Notification: Performance of SimCode: time 1.423e-06/0.9712, allocations: 0 / 0.7163 GB, free: 7.789 MB / 0.4948 GB Notification: Performance of Templates: time 0.02996/1.001, allocations: 16.81 MB / 0.7328 GB, free: 2.141 MB / 0.4948 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/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/TestCases/PressureLoss/Orifice/Orifice.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches