Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|frac_KmToRs.1.|frac_KmToRs.2.|frac_KmToRs.3.|dp_nom.1.|dp_nom.2.|dp_nom.3.|p_2.1.|p_2.2.|p_2.3.|m_flow_nom.1.|m_flow_nom.2.|m_flow_nom.3.|Km.1.|Km.2.|Km.3.|input_mdot.1.|input_mdot.2.|input_mdot.3.|input_dp.1.|input_dp.2.|input_dp.3.|M_FLOW.1.|M_FLOW.2.|M_FLOW.3.|DP.1.|DP.2.|DP.3.|DP_plot.1.|DP_plot.2.|DP_plot.3.|input_DP.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|frac_KmToRs.1.|frac_KmToRs.2.|frac_KmToRs.3.|dp_nom.1.|dp_nom.2.|dp_nom.3.|p_2.1.|p_2.2.|p_2.3.|m_flow_nom.1.|m_flow_nom.2.|m_flow_nom.3.|Km.1.|Km.2.|Km.3.|input_mdot.1.|input_mdot.2.|input_mdot.3.|input_dp.1.|input_dp.2.|input_dp.3.|M_FLOW.1.|M_FLOW.2.|M_FLOW.3.|DP.1.|DP.2.|DP.3.|DP_plot.1.|DP_plot.2.|DP_plot.3.|input_DP.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009176/0.0009178, allocations: 189 kB / 7.806 MB, free: 2.234 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.036/1.036, allocations: 205.2 MB / 213.4 MB, free: 13.95 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007989/0.0007989, allocations: 82.72 kB / 261.4 MB, free: 13.57 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1511/0.1511, allocations: 43.49 MB / 352.8 MB, free: 1.984 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 6.893e-06/6.913e-06, allocations: 4 kB / 417.7 MB, free: 40.56 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2113/0.2113, allocations: 58.84 MB / 476.6 MB, free: 5.215 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1001/0.3115, allocations: 89.3 MB / 0.5526 GB, free: 9.668 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002227/0.3117, allocations: 95.92 kB / 0.5527 GB, free: 9.574 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.015/0.3268, allocations: 5.521 MB / 0.5581 GB, free: 3.973 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.096e-05/0.3268, allocations: 4 kB / 0.5581 GB, free: 3.969 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.0004872/0.3273, allocations: 498 kB / 0.5586 GB, free: 3.438 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.042e-05/0.3273, allocations: 8.031 kB / 0.5586 GB, free: 3.43 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009804/0.3283, allocations: 159.5 kB / 0.5587 GB, free: 3.273 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002869/0.3286, allocations: 265.9 kB / 0.559 GB, free: 2.977 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.27e-05/0.3286, allocations: 8 kB / 0.559 GB, free: 2.969 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.506e-05/0.3287, allocations: 16 kB / 0.559 GB, free: 2.953 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000448/0.3291, allocations: 340.9 kB / 0.5593 GB, free: 2.621 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004675/0.3296, allocations: 393 kB / 0.5597 GB, free: 2.195 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.856e-06/0.3296, allocations: 4 kB / 0.5597 GB, free: 2.191 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.487e-05/0.3297, allocations: 0 / 0.5597 GB, free: 2.191 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.754e-05/0.3297, allocations: 24.48 kB / 0.5597 GB, free: 2.164 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001748/0.3314, allocations: 1.633 MB / 0.5613 GB, free: 432 kB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001434/0.3316, allocations: 78.53 kB / 0.5614 GB, free: 344 kB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.044e-05/0.3317, allocations: 40.84 kB / 0.5614 GB, free: 300 kB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.515e-05/0.3317, allocations: 0 / 0.5614 GB, free: 300 kB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.679e-05/0.3317, allocations: 42.5 kB / 0.5615 GB, free: 248 kB / 394.7 MB Notification: Performance of pre-optimization done (n=7): time 8.11e-07/0.3317, allocations: 0 / 0.5615 GB, free: 248 kB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002576/0.332, allocations: 113.6 kB / 0.5616 GB, free: 128 kB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.637e-05/0.332, allocations: 55.34 kB / 0.5617 GB, free: 60 kB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001762/0.3322, allocations: 198.6 kB / 0.5618 GB, free: 15.86 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.677e-05/0.3322, allocations: 25.7 kB / 0.5619 GB, free: 15.82 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.28e-05/0.3323, allocations: 187.5 kB / 0.562 GB, free: 15.64 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.858e-05/0.3323, allocations: 27.64 kB / 0.5621 GB, free: 15.61 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.22e-05/0.3324, allocations: 0 / 0.5621 GB, free: 15.61 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.652e-05/0.3325, allocations: 330.7 kB / 0.5624 GB, free: 15.28 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.368e-05/0.3325, allocations: 51.97 kB / 0.5624 GB, free: 15.23 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001187/0.3327, allocations: 102 kB / 0.5625 GB, free: 15.11 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001135/0.3328, allocations: 78 kB / 0.5626 GB, free: 15.03 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.3328, allocations: 0 / 0.5626 GB, free: 15.03 MB / 410.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003098/0.3331, allocations: 193.5 kB / 0.5628 GB, free: 14.84 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.019e-05/0.3331, allocations: 8.031 kB / 0.5628 GB, free: 14.83 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.038e-06/0.3331, allocations: 7.938 kB / 0.5628 GB, free: 14.82 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.222e-05/0.3332, allocations: 7.984 kB / 0.5628 GB, free: 14.81 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001527/0.3347, allocations: 115.9 kB / 0.5629 GB, free: 14.7 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001681/0.3364, allocations: 1.871 MB / 0.5648 GB, free: 12.76 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002297/0.3366, allocations: 27.86 kB / 0.5648 GB, free: 12.73 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.317e-05/0.3367, allocations: 4 kB / 0.5648 GB, free: 12.73 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 7.515e-05/0.3367, allocations: 110.3 kB / 0.5649 GB, free: 12.61 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.758e-05/0.3368, allocations: 12 kB / 0.5649 GB, free: 12.6 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003523/0.3371, allocations: 174.8 kB / 0.5651 GB, free: 12.42 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.3372, allocations: 4 kB / 0.5651 GB, free: 12.42 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.085e-06/0.3372, allocations: 0 / 0.5651 GB, free: 12.42 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.3372, allocations: 0 / 0.5651 GB, free: 12.42 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002367/0.3374, allocations: 238 kB / 0.5653 GB, free: 12.15 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.3374, allocations: 0 / 0.5653 GB, free: 12.15 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001175/0.3386, allocations: 100.7 kB / 0.5654 GB, free: 12.05 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.3386, allocations: 0 / 0.5654 GB, free: 12.05 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.662e-05/0.3386, allocations: 8 kB / 0.5654 GB, free: 12.04 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001233/0.3399, allocations: 1.805 MB / 0.5672 GB, free: 10.17 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.3399, allocations: 3.938 kB / 0.5672 GB, free: 10.16 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002539/0.3402, allocations: 227.2 kB / 0.5674 GB, free: 9.926 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.464e-05/0.3402, allocations: 92.94 kB / 0.5675 GB, free: 9.816 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.642e-05/0.3403, allocations: 160 / 0.5675 GB, free: 9.816 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001979/0.3405, allocations: 19.89 kB / 0.5675 GB, free: 9.797 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.251e-05/0.3405, allocations: 7.984 kB / 0.5675 GB, free: 9.789 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.469e-05/0.3405, allocations: 4 kB / 0.5675 GB, free: 9.785 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0001218/0.3407, allocations: 155.5 kB / 0.5676 GB, free: 9.633 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003372/0.341, allocations: 71.75 kB / 0.5677 GB, free: 9.562 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002186/0.3412, allocations: 144.8 kB / 0.5679 GB, free: 9.414 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001751/0.343, allocations: 203.7 kB / 0.5681 GB, free: 9.215 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.343, allocations: 384 / 0.5681 GB, free: 9.215 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001098/0.3441, allocations: 103.8 kB / 0.5681 GB, free: 9.113 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002016/0.3443, allocations: 12.05 kB / 0.5682 GB, free: 9.102 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00078/0.3451, allocations: 328.1 kB / 0.5685 GB, free: 8.758 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003541/0.3455, allocations: 0.8044 MB / 0.5693 GB, free: 7.93 MB / 410.7 MB Notification: Performance of SimCode: time 3.31e-07/0.3455, allocations: 0 / 0.5693 GB, free: 7.93 MB / 410.7 MB Notification: Performance of Templates: time 0.006387/0.3519, allocations: 3.896 MB / 0.5731 GB, free: 4.039 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/General/dp_idealGas_DPMFLOW/dp_idealGas_DPMFLOW.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,frac_KmToRs[1],frac_KmToRs[2],frac_KmToRs[3],dp_nom[1],dp_nom[2],dp_nom[3],p_2[1],p_2[2],p_2[3],m_flow_nom[1],m_flow_nom[2],m_flow_nom[3],Km[1],Km[2],Km[3],input_mdot[1],input_mdot[2],input_mdot[3],input_dp[1],input_dp[2],input_dp[3],M_FLOW[1],M_FLOW[2],M_FLOW[3],DP[1],DP[2],DP[3],DP_plot[1],DP_plot[2],DP_plot[3],input_DP.y Variables in the result:DP[1],DP[2],DP[3],DP_plot[1],DP_plot[2],DP_plot[3],Km[1],Km[2],Km[3],M_FLOW[1],M_FLOW[2],M_FLOW[3],R_s,T_m,dp_nom[1],dp_nom[2],dp_nom[3],exp,frac_KmToRs[1],frac_KmToRs[2],frac_KmToRs[3],input_DP.duration,input_DP.height,input_DP.offset,input_DP.startTime,input_DP.y,input_dp[1],input_dp[2],input_dp[3],input_mdot[1],input_mdot[2],input_mdot[3],m_flow_nom[1],m_flow_nom[2],m_flow_nom[3],n,p_1,p_2[1],p_2[2],p_2[3],p_m,rho_m,time