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.001403/0.001403, allocations: 95.34 kB / 15.68 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001633/0.001633, allocations: 177.9 kB / 16.57 MB, free: 6.379 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.497/1.497, allocations: 205.4 MB / 222.7 MB, free: 5.68 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3763/0.3763, allocations: 43.55 MB / 314.5 MB, free: 8.805 MB / 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.0005027/0.0005028, allocations: 12 kB / 383.9 MB, free: 8.012 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1352/0.1357, allocations: 58.85 MB / 442.8 MB, free: 13.06 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice): time 0.4194/0.5552, allocations: 145.8 MB / 0.5747 GB, free: 10.11 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0127/0.5679, allocations: 9.25 MB / 0.5838 GB, free: 0.8477 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007272/0.5687, allocations: 23.88 kB / 0.5838 GB, free: 0.8242 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009745/0.5697, allocations: 270.6 kB / 0.5841 GB, free: 0.5586 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005245/0.5749, allocations: 1.817 MB / 0.5858 GB, free: 14.75 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002428/0.5774, allocations: 0.787 MB / 0.5866 GB, free: 13.97 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002356/0.5797, allocations: 1.02 MB / 0.5876 GB, free: 12.95 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005574/0.5803, allocations: 372 kB / 0.588 GB, free: 12.59 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001307/0.5816, allocations: 0.6701 MB / 0.5886 GB, free: 11.92 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004925/0.5821, allocations: 390.6 kB / 0.589 GB, free: 11.54 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 6.625e-05/0.5822, allocations: 28 kB / 0.589 GB, free: 11.51 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002646/0.5848, allocations: 1.233 MB / 0.5902 GB, free: 10.28 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001576/0.585, allocations: 143.5 kB / 0.5903 GB, free: 10.14 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001668/0.5852, allocations: 153.4 kB / 0.5905 GB, free: 9.98 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001532/0.5867, allocations: 1.15 MB / 0.5916 GB, free: 8.832 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.5867, allocations: 0 / 0.5916 GB, free: 8.832 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.545e-06/0.5868, allocations: 4 kB / 0.5916 GB, free: 8.828 MB / 462.1 MB Notification: Performance of Transformations before backend: time 8.967e-06/0.5868, allocations: 0 / 0.5916 GB, free: 8.828 MB / 462.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.001791/0.5886, allocations: 0.9793 MB / 0.5926 GB, free: 7.801 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.8e-05/0.5886, allocations: 8.031 kB / 0.5926 GB, free: 7.793 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001103/0.5897, allocations: 163 kB / 0.5927 GB, free: 7.633 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000702/0.5904, allocations: 472.7 kB / 0.5932 GB, free: 7.133 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.596e-05/0.5905, allocations: 33 kB / 0.5932 GB, free: 7.102 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.287e-05/0.5906, allocations: 40 kB / 0.5933 GB, free: 7.062 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001049/0.5916, allocations: 0.6322 MB / 0.5939 GB, free: 6.383 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.614e-05/0.5916, allocations: 4 kB / 0.5939 GB, free: 6.379 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.964e-05/0.5917, allocations: 23.92 kB / 0.5939 GB, free: 6.355 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.483e-05/0.5917, allocations: 15.94 kB / 0.5939 GB, free: 6.34 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008442/0.5926, allocations: 0.4918 MB / 0.5944 GB, free: 5.848 MB / 462.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.002989/0.5956, allocations: 2.652 MB / 0.597 GB, free: 3.008 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000602/0.5962, allocations: 318.8 kB / 0.5973 GB, free: 2.688 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003947/0.5966, allocations: 335.7 kB / 0.5976 GB, free: 2.309 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.604e-05/0.5966, allocations: 42.55 kB / 0.5977 GB, free: 2.258 MB / 462.1 MB Notification: Performance of pre-optimization done (n=35): time 1.633e-06/0.5967, allocations: 0 / 0.5977 GB, free: 2.258 MB / 462.1 MB Notification: Performance of matching and sorting (n=35): time 0.001519/0.5982, allocations: 0.6982 MB / 0.5983 GB, free: 1.531 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.836e-05/0.5983, allocations: 166.2 kB / 0.5985 GB, free: 1.332 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005774/0.5989, allocations: 0.5106 MB / 0.599 GB, free: 0.8086 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 5.33e-05/0.5989, allocations: 33.7 kB / 0.599 GB, free: 0.7695 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002098/0.5991, allocations: 295.7 kB / 0.5993 GB, free: 488 kB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.908e-05/0.5992, allocations: 130.1 kB / 0.5994 GB, free: 356 kB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.405e-05/0.5993, allocations: 8 kB / 0.5994 GB, free: 348 kB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001638/0.5995, allocations: 370.7 kB / 0.5998 GB, free: 15.97 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002679/0.5997, allocations: 145 kB / 0.5999 GB, free: 15.83 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004041/0.6001, allocations: 322.9 kB / 0.6002 GB, free: 15.43 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003196/0.6005, allocations: 192.9 kB / 0.6004 GB, free: 15.25 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.6005, allocations: 0 / 0.6004 GB, free: 15.25 MB / 478.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.000923/0.6014, allocations: 0.5635 MB / 0.601 GB, free: 14.67 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.892e-05/0.6014, allocations: 8 kB / 0.601 GB, free: 14.66 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.091e-05/0.6015, allocations: 4 kB / 0.601 GB, free: 14.66 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001548/0.603, allocations: 297.1 kB / 0.6013 GB, free: 14.37 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000382/0.6034, allocations: 116.6 kB / 0.6014 GB, free: 14.25 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004452/0.6039, allocations: 0.5991 MB / 0.602 GB, free: 13.63 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004055/0.6043, allocations: 67.36 kB / 0.602 GB, free: 13.56 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.501e-05/0.6044, allocations: 51.98 kB / 0.6021 GB, free: 13.51 MB / 478.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0002617/0.6046, allocations: 189.7 kB / 0.6023 GB, free: 13.32 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.781e-05/0.6047, allocations: 59.34 kB / 0.6023 GB, free: 13.26 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001568/0.6063, allocations: 0.752 MB / 0.6031 GB, free: 12.49 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.172e-06/0.6063, allocations: 7.922 kB / 0.6031 GB, free: 12.48 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.022e-05/0.6064, allocations: 11.94 kB / 0.6031 GB, free: 12.47 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.6064, allocations: 0 / 0.6031 GB, free: 12.47 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001328/0.6077, allocations: 0.9956 MB / 0.604 GB, free: 11.39 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.027e-06/0.6077, allocations: 3.953 kB / 0.604 GB, free: 11.39 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002006/0.6079, allocations: 51.92 kB / 0.6041 GB, free: 11.34 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003207/0.6111, allocations: 0.5355 MB / 0.6046 GB, free: 10.8 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.58e-05/0.6112, allocations: 8 kB / 0.6046 GB, free: 10.79 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000404/0.6116, allocations: 0.5953 MB / 0.6052 GB, free: 10.17 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.6116, allocations: 4.031 kB / 0.6052 GB, free: 10.17 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006902/0.6123, allocations: 0.5692 MB / 0.6058 GB, free: 9.523 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000157/0.6125, allocations: 160.2 kB / 0.6059 GB, free: 9.348 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.333e-05/0.6126, allocations: 9.125 kB / 0.6059 GB, free: 9.34 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003519/0.6129, allocations: 23.98 kB / 0.606 GB, free: 9.316 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.655e-05/0.613, allocations: 31.92 kB / 0.606 GB, free: 9.285 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.435e-05/0.613, allocations: 19.98 kB / 0.606 GB, free: 9.266 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0004584/0.6135, allocations: 410.8 kB / 0.6064 GB, free: 8.867 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.9e-07/0.6135, allocations: 0 / 0.6064 GB, free: 8.867 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0009946/0.6145, allocations: 335.7 kB / 0.6067 GB, free: 8.539 MB / 478.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009537/0.6155, allocations: 467 kB / 0.6072 GB, free: 8.078 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0007523/0.6162, allocations: 380 kB / 0.6075 GB, free: 7.707 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.247e-06/0.6163, allocations: 0 / 0.6075 GB, free: 7.707 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002821/0.6165, allocations: 152.7 kB / 0.6077 GB, free: 7.562 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001511/0.6181, allocations: 335.8 kB / 0.608 GB, free: 7.238 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00145/0.6195, allocations: 1.12 MB / 0.6091 GB, free: 6.07 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003952/0.6199, allocations: 0.8753 MB / 0.6099 GB, free: 5.168 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0008331/0.6208, allocations: 213.5 kB / 0.6101 GB, free: 4.965 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002065/0.621, allocations: 83.41 kB / 0.6102 GB, free: 4.883 MB / 478.1 MB Notification: Performance of SimCode: time 2.41e-07/0.621, allocations: 4 kB / 0.6102 GB, free: 4.879 MB / 478.1 MB Notification: Performance of Templates: time 0.02619/0.6472, allocations: 15.92 MB / 0.6258 GB, free: 4.992 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: 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","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches