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.001305/0.001305, allocations: 109 kB / 16.41 MB, free: 6.504 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.001409/0.001409, allocations: 192.2 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.691/1.691, allocations: 205.1 MB / 223.2 MB, free: 12.28 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.2304/0.2304, allocations: 43.52 MB / 314.1 MB, free: 456 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.001414/0.001414, allocations: 69.8 kB / 441.8 MB, free: 5.652 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1409/0.1423, allocations: 57.79 MB / 499.6 MB, free: 11.78 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice): time 0.5427/0.685, allocations: 187.7 MB / 0.6712 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01152/0.6966, allocations: 7.025 MB / 0.6781 GB, free: 7.656 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009256/0.6976, allocations: 19.88 kB / 0.6781 GB, free: 7.637 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.00137/0.699, allocations: 345.7 kB / 0.6784 GB, free: 7.297 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.008122/0.7071, allocations: 2.394 MB / 0.6807 GB, free: 4.902 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002848/0.71, allocations: 0.955 MB / 0.6817 GB, free: 3.945 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.003127/0.7131, allocations: 1.699 MB / 0.6833 GB, free: 2.238 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001057/0.7142, allocations: 450.6 kB / 0.6838 GB, free: 1.789 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002487/0.7167, allocations: 0.8488 MB / 0.6846 GB, free: 0.9375 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001097/0.7178, allocations: 0.4903 MB / 0.6851 GB, free: 456 kB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0002184/0.7181, allocations: 56 kB / 0.6851 GB, free: 400 kB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003852/0.7219, allocations: 1.505 MB / 0.6866 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0003351/0.7223, allocations: 171.4 kB / 0.6868 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0008281/0.7231, allocations: 374.3 kB / 0.6871 GB, free: 14.35 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.004722/0.7279, allocations: 1.746 MB / 0.6888 GB, free: 12.6 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.783e-06/0.7279, allocations: 0 / 0.6888 GB, free: 12.6 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.004e-06/0.7279, allocations: 0 / 0.6888 GB, free: 12.6 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.008e-05/0.7279, allocations: 4 kB / 0.6888 GB, free: 12.59 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.002914/0.7309, allocations: 1.138 MB / 0.6899 GB, free: 11.41 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.812e-05/0.7309, allocations: 15.89 kB / 0.6899 GB, free: 11.39 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001515/0.7324, allocations: 159 kB / 0.6901 GB, free: 11.23 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001381/0.7338, allocations: 0.5081 MB / 0.6906 GB, free: 10.68 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.326e-05/0.7339, allocations: 37 kB / 0.6906 GB, free: 10.65 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.742e-05/0.734, allocations: 40 kB / 0.6907 GB, free: 10.61 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001266/0.7353, allocations: 0.6329 MB / 0.6913 GB, free: 9.934 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.792e-05/0.7353, allocations: 3.938 kB / 0.6913 GB, free: 9.93 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.908e-05/0.7354, allocations: 31.92 kB / 0.6913 GB, free: 9.898 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.331e-05/0.7354, allocations: 12 kB / 0.6913 GB, free: 9.887 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001036/0.7364, allocations: 491.6 kB / 0.6918 GB, free: 9.402 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.003652/0.7401, allocations: 2.664 MB / 0.6944 GB, free: 6.551 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007771/0.7409, allocations: 325 kB / 0.6947 GB, free: 6.227 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003013/0.7412, allocations: 164.8 kB / 0.6949 GB, free: 6.062 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001461/0.7427, allocations: 1.3 MB / 0.6961 GB, free: 4.543 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.377e-05/0.7428, allocations: 42.19 kB / 0.6962 GB, free: 4.496 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=35): time 2.825e-06/0.7428, allocations: 0 / 0.6962 GB, free: 4.496 MB / 0.5294 GB Notification: Performance of matching and sorting (n=35): time 0.001981/0.7447, allocations: 0.7016 MB / 0.6969 GB, free: 3.766 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001787/0.7449, allocations: 166 kB / 0.697 GB, free: 3.566 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008446/0.7458, allocations: 0.5223 MB / 0.6975 GB, free: 3.035 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 7.624e-05/0.7459, allocations: 33.7 kB / 0.6976 GB, free: 2.996 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003003/0.7462, allocations: 303.6 kB / 0.6979 GB, free: 2.695 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001429/0.7463, allocations: 114.2 kB / 0.698 GB, free: 2.582 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002279/0.7466, allocations: 122.1 kB / 0.6981 GB, free: 2.457 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002092/0.7468, allocations: 366.8 kB / 0.6984 GB, free: 2.09 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003153/0.7471, allocations: 145 kB / 0.6986 GB, free: 1.949 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005116/0.7476, allocations: 322.9 kB / 0.6989 GB, free: 1.555 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008517/0.7485, allocations: 466.8 kB / 0.6993 GB, free: 1.035 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.7485, allocations: 0 / 0.6993 GB, free: 1.035 MB / 0.5294 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001348/0.7499, allocations: 0.5713 MB / 0.6999 GB, free: 464 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.725e-05/0.7499, allocations: 11.94 kB / 0.6999 GB, free: 452 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.269e-05/0.7499, allocations: 4 kB / 0.6999 GB, free: 448 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001563/0.7515, allocations: 241 kB / 0.7001 GB, free: 204 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003926/0.7519, allocations: 111.9 kB / 0.7002 GB, free: 92 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006025/0.7525, allocations: 0.5875 MB / 0.7008 GB, free: 15.48 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004205/0.753, allocations: 59.36 kB / 0.7009 GB, free: 15.42 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.689e-05/0.7531, allocations: 48 kB / 0.7009 GB, free: 15.37 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.000345/0.7534, allocations: 197.5 kB / 0.7011 GB, free: 15.17 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001634/0.7536, allocations: 63.33 kB / 0.7012 GB, free: 15.11 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00158/0.7552, allocations: 0.7386 MB / 0.7019 GB, free: 14.34 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.617e-06/0.7552, allocations: 4 kB / 0.7019 GB, free: 14.33 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.417e-06/0.7552, allocations: 4 kB / 0.7019 GB, free: 14.33 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.052e-06/0.7552, allocations: 0 / 0.7019 GB, free: 14.33 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001648/0.7569, allocations: 1.023 MB / 0.7029 GB, free: 13.23 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.7569, allocations: 0 / 0.7029 GB, free: 13.23 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002042/0.7571, allocations: 55.91 kB / 0.7029 GB, free: 13.17 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002975/0.7601, allocations: 440.3 kB / 0.7034 GB, free: 12.74 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.922e-05/0.7602, allocations: 11.98 kB / 0.7034 GB, free: 12.73 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004899/0.7607, allocations: 0.6031 MB / 0.704 GB, free: 12.1 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/0.7607, allocations: 0.625 kB / 0.704 GB, free: 12.1 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008637/0.7616, allocations: 0.4972 MB / 0.7044 GB, free: 11.56 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002596/0.7618, allocations: 140.3 kB / 0.7046 GB, free: 11.41 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001241/0.762, allocations: 8 kB / 0.7046 GB, free: 11.4 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003595/0.7623, allocations: 15.98 kB / 0.7046 GB, free: 11.38 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.281e-05/0.7624, allocations: 31.91 kB / 0.7046 GB, free: 11.35 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.44e-05/0.7625, allocations: 19.98 kB / 0.7047 GB, free: 11.33 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0005668/0.763, allocations: 442.7 kB / 0.7051 GB, free: 10.9 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.074e-06/0.763, allocations: 0 / 0.7051 GB, free: 10.9 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001095/0.7641, allocations: 343.6 kB / 0.7054 GB, free: 10.57 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.00123/0.7654, allocations: 451.4 kB / 0.7058 GB, free: 10.12 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0009096/0.7663, allocations: 380.4 kB / 0.7062 GB, free: 9.746 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 6.101e-06/0.7663, allocations: 0 / 0.7062 GB, free: 9.746 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003231/0.7666, allocations: 157.2 kB / 0.7063 GB, free: 9.594 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001722/0.7684, allocations: 412.7 kB / 0.7067 GB, free: 9.199 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001667/0.7701, allocations: 0.9376 MB / 0.7077 GB, free: 8.215 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005049/0.7706, allocations: 0.8637 MB / 0.7085 GB, free: 7.324 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0007732/0.7714, allocations: 225 kB / 0.7087 GB, free: 7.102 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002182/0.7716, allocations: 87.41 kB / 0.7088 GB, free: 7.016 MB / 0.545 GB Notification: Performance of SimCode: time 2.2e-07/0.7716, allocations: 0 / 0.7088 GB, free: 7.016 MB / 0.545 GB Notification: Performance of Templates: time 0.03115/0.8027, allocations: 18.06 MB / 0.7264 GB, free: 4.969 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