Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_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 trunk/package.mo): time 0.001416/0.001416, allocations: 195.8 kB / 8.531 MB, free: 496 kB / 6.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.295/1.295, allocations: 225.5 MB / 234.4 MB, free: 9.469 MB / 194.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009869/0.0009869, allocations: 99.7 kB / 286.4 MB, free: 5.844 MB / 226.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1842/0.1842, allocations: 45.14 MB / 383.3 MB, free: 4.895 MB / 322.8 MB Notification: Performance of FrontEnd - loaded program: time 5.841e-06/5.861e-06, allocations: 0 / 452.6 MB, free: 48.3 MB / 322.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1035/0.1035, allocations: 63.24 MB / 0.5038 GB, free: 0.9883 MB / 338.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3158/0.4194, allocations: 91.49 MB / 0.5931 GB, free: 12.3 MB / 418.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002899/0.4197, allocations: 95.92 kB / 0.5932 GB, free: 12.21 MB / 418.8 MB Notification: Performance of FrontEnd: time 0.01721/0.4369, allocations: 5.716 MB / 0.5988 GB, free: 6.43 MB / 418.8 MB Notification: Performance of Transformations before backend: time 1.562e-05/0.437, allocations: 7.938 kB / 0.5988 GB, free: 6.422 MB / 418.8 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.000613/0.4376, allocations: 497.5 kB / 0.5993 GB, free: 5.891 MB / 418.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.797e-05/0.4376, allocations: 8.031 kB / 0.5993 GB, free: 5.883 MB / 418.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001074/0.4387, allocations: 159.5 kB / 0.5994 GB, free: 5.727 MB / 418.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004358/0.4392, allocations: 262.5 kB / 0.5997 GB, free: 5.43 MB / 418.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.787e-05/0.4392, allocations: 8 kB / 0.5997 GB, free: 5.422 MB / 418.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.759e-05/0.4392, allocations: 12 kB / 0.5997 GB, free: 5.41 MB / 418.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005032/0.4398, allocations: 340.9 kB / 0.6 GB, free: 5.074 MB / 418.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005724/0.4403, allocations: 401 kB / 0.6004 GB, free: 4.645 MB / 418.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.4404, allocations: 0 / 0.6004 GB, free: 4.645 MB / 418.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.187e-05/0.4404, allocations: 4 kB / 0.6004 GB, free: 4.641 MB / 418.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.916e-05/0.4404, allocations: 20.48 kB / 0.6004 GB, free: 4.617 MB / 418.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002134/0.4426, allocations: 1.645 MB / 0.6021 GB, free: 2.863 MB / 418.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001573/0.4428, allocations: 82.53 kB / 0.6021 GB, free: 2.773 MB / 418.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.7e-05/0.4428, allocations: 32.84 kB / 0.6022 GB, free: 2.738 MB / 418.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.956e-05/0.4429, allocations: 4 kB / 0.6022 GB, free: 2.734 MB / 418.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.418e-05/0.4429, allocations: 42.5 kB / 0.6022 GB, free: 2.684 MB / 418.8 MB Notification: Performance of pre-optimization done (n=7): time 1.172e-06/0.4429, allocations: 3.938 kB / 0.6022 GB, free: 2.68 MB / 418.8 MB Notification: Performance of matching and sorting (n=7): time 0.0003088/0.4432, allocations: 113.6 kB / 0.6023 GB, free: 2.562 MB / 418.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.757e-05/0.4433, allocations: 55.41 kB / 0.6024 GB, free: 2.496 MB / 418.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001962/0.4435, allocations: 197.8 kB / 0.6026 GB, free: 2.293 MB / 418.8 MB Notification: Performance of collectPreVariables (initialization): time 1.844e-05/0.4435, allocations: 25.7 kB / 0.6026 GB, free: 2.262 MB / 418.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001008/0.4436, allocations: 179.5 kB / 0.6028 GB, free: 2.082 MB / 418.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.49e-05/0.4436, allocations: 27.56 kB / 0.6028 GB, free: 2.055 MB / 418.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.278e-05/0.4436, allocations: 0 / 0.6028 GB, free: 2.055 MB / 418.8 MB Notification: Performance of setup shared object (initialization): time 0.0001103/0.4438, allocations: 330.8 kB / 0.6031 GB, free: 1.723 MB / 418.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001087/0.4439, allocations: 51.97 kB / 0.6032 GB, free: 1.672 MB / 418.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001239/0.444, allocations: 102 kB / 0.6032 GB, free: 1.551 MB / 418.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001634/0.4442, allocations: 79.88 kB / 0.6033 GB, free: 1.473 MB / 418.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.4442, allocations: 0 / 0.6033 GB, free: 1.473 MB / 418.8 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003299/0.4445, allocations: 197.3 kB / 0.6035 GB, free: 1.273 MB / 418.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.235e-05/0.4445, allocations: 4 kB / 0.6035 GB, free: 1.27 MB / 418.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.4445, allocations: 0 / 0.6035 GB, free: 1.27 MB / 418.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.4446, allocations: 4 kB / 0.6035 GB, free: 1.266 MB / 418.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001625/0.4462, allocations: 128 kB / 0.6036 GB, free: 1.141 MB / 418.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001851/0.4481, allocations: 1.871 MB / 0.6055 GB, free: 15.2 MB / 434.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002513/0.4483, allocations: 28.05 kB / 0.6055 GB, free: 15.17 MB / 434.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.514e-05/0.4484, allocations: 8 kB / 0.6055 GB, free: 15.16 MB / 434.8 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 9.461e-05/0.4485, allocations: 108.8 kB / 0.6056 GB, free: 15.05 MB / 434.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.427e-05/0.4485, allocations: 19.75 kB / 0.6056 GB, free: 15.03 MB / 434.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003802/0.4489, allocations: 170.8 kB / 0.6058 GB, free: 14.86 MB / 434.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.4489, allocations: 0 / 0.6058 GB, free: 14.86 MB / 434.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.927e-05/0.4489, allocations: 4 kB / 0.6058 GB, free: 14.85 MB / 434.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.4489, allocations: 7.984 kB / 0.6058 GB, free: 14.84 MB / 434.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003298/0.4493, allocations: 238 kB / 0.606 GB, free: 14.57 MB / 434.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.616e-06/0.4493, allocations: 4 kB / 0.606 GB, free: 14.57 MB / 434.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001228/0.4505, allocations: 98.73 kB / 0.6061 GB, free: 14.48 MB / 434.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.466e-06/0.4505, allocations: 0 / 0.6061 GB, free: 14.48 MB / 434.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.584e-05/0.4506, allocations: 0 / 0.6061 GB, free: 14.48 MB / 434.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001232/0.4518, allocations: 1.813 MB / 0.6079 GB, free: 12.59 MB / 434.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.4518, allocations: 0 / 0.6079 GB, free: 12.59 MB / 434.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002581/0.4521, allocations: 223.2 kB / 0.6081 GB, free: 12.36 MB / 434.8 MB Notification: Performance of postOpt removeConstants (simulation): time 5.495e-05/0.4521, allocations: 92.94 kB / 0.6082 GB, free: 12.25 MB / 434.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.991e-05/0.4522, allocations: 3.906 kB / 0.6082 GB, free: 12.25 MB / 434.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002043/0.4524, allocations: 11.98 kB / 0.6082 GB, free: 12.23 MB / 434.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.507e-05/0.4525, allocations: 12.05 kB / 0.6082 GB, free: 12.22 MB / 434.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.53e-05/0.4525, allocations: 4 kB / 0.6082 GB, free: 12.22 MB / 434.8 MB Notification: Performance of sort global known variables: time 0.000124/0.4526, allocations: 160.3 kB / 0.6084 GB, free: 12.06 MB / 434.8 MB Notification: Performance of remove unused functions: time 0.0003517/0.453, allocations: 71.69 kB / 0.6085 GB, free: 11.99 MB / 434.8 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.0001985/0.4532, allocations: 135.2 kB / 0.6086 GB, free: 11.85 MB / 434.8 MB Notification: Performance of simCode: created initialization part: time 0.001825/0.455, allocations: 196.7 kB / 0.6088 GB, free: 11.66 MB / 434.8 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.455, allocations: 0 / 0.6088 GB, free: 11.66 MB / 434.8 MB Notification: Performance of simCode: created simulation system equations: time 0.001149/0.4562, allocations: 100.2 kB / 0.6089 GB, free: 11.56 MB / 434.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002059/0.4564, allocations: 9.688 kB / 0.6089 GB, free: 11.55 MB / 434.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008126/0.4572, allocations: 327.7 kB / 0.6092 GB, free: 11.21 MB / 434.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004154/0.4577, allocations: 0.8083 MB / 0.61 GB, free: 10.38 MB / 434.8 MB Notification: Performance of SimCode: time 1.814e-06/0.4577, allocations: 0 / 0.61 GB, free: 10.38 MB / 434.8 MB Notification: Performance of Templates: time 0.006864/0.4645, allocations: 3.897 MB / 0.6138 GB, free: 6.52 MB / 434.8 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/General/dp_idealGas_DPMFLOW/dp_idealGas_DPMFLOW.csv","../files/ModelicaTest_trunk_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