Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_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_cpp_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_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009331/0.000933, allocations: 195 kB / 16.78 MB, free: 5.035 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.289/1.289, allocations: 226.5 MB / 244.1 MB, free: 6.473 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007629/0.0007626, allocations: 101.8 kB / 296.1 MB, free: 6.703 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3084/0.3084, allocations: 44.82 MB / 393 MB, free: 35.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002953/0.0002954, allocations: 8 kB / 465.9 MB, free: 12.74 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.279/0.2793, allocations: 62.96 MB / 0.5165 GB, free: 37.25 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1061/0.3854, allocations: 92.16 MB / 0.6065 GB, free: 13.25 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002778/0.3857, allocations: 95.94 kB / 0.6066 GB, free: 13.16 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01656/0.4023, allocations: 6.06 MB / 0.6125 GB, free: 7.012 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.4024, allocations: 0 / 0.6125 GB, free: 7.012 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.246e-05/0.4024, allocations: 4 kB / 0.6125 GB, free: 7.008 MB / 426.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.0006168/0.403, allocations: 0.5029 MB / 0.613 GB, free: 6.457 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.56e-05/0.403, allocations: 12.03 kB / 0.613 GB, free: 6.445 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009865/0.404, allocations: 176.3 kB / 0.6132 GB, free: 6.273 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002999/0.4043, allocations: 255.9 kB / 0.6134 GB, free: 5.984 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.292e-05/0.4044, allocations: 20.81 kB / 0.6134 GB, free: 5.961 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.865e-05/0.4044, allocations: 20.36 kB / 0.6135 GB, free: 5.941 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006424/0.4051, allocations: 441.8 kB / 0.6139 GB, free: 5.473 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/0.4051, allocations: 7.875 kB / 0.6139 GB, free: 5.465 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.945e-05/0.4051, allocations: 8 kB / 0.6139 GB, free: 5.457 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.509e-05/0.4052, allocations: 20.55 kB / 0.6139 GB, free: 5.438 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006679/0.4058, allocations: 393.8 kB / 0.6143 GB, free: 5.051 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001951/0.4078, allocations: 1.714 MB / 0.616 GB, free: 3.227 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002381/0.4081, allocations: 102.5 kB / 0.6161 GB, free: 3.117 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001425/0.4082, allocations: 52.81 kB / 0.6161 GB, free: 3.062 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.922e-05/0.4082, allocations: 0 / 0.6161 GB, free: 3.062 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.323e-05/0.4083, allocations: 42.56 kB / 0.6162 GB, free: 3.012 MB / 426.7 MB Notification: Performance of pre-optimization done (n=7): time 1.082e-06/0.4083, allocations: 0 / 0.6162 GB, free: 3.012 MB / 426.7 MB Notification: Performance of matching and sorting (n=7): time 0.0005642/0.4089, allocations: 217.3 kB / 0.6164 GB, free: 2.793 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.052e-05/0.4089, allocations: 51.41 kB / 0.6164 GB, free: 2.73 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003159/0.4092, allocations: 322.7 kB / 0.6167 GB, free: 2.406 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.146e-05/0.4093, allocations: 25.7 kB / 0.6167 GB, free: 2.375 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001112/0.4094, allocations: 187.2 kB / 0.6169 GB, free: 2.188 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.713e-05/0.4094, allocations: 31.55 kB / 0.617 GB, free: 2.156 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.314e-05/0.4094, allocations: 0 / 0.617 GB, free: 2.156 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001161/0.4095, allocations: 330.8 kB / 0.6173 GB, free: 1.824 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001764/0.4097, allocations: 75.89 kB / 0.6173 GB, free: 1.75 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002049/0.4099, allocations: 128.5 kB / 0.6175 GB, free: 1.605 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003618/0.4103, allocations: 201.7 kB / 0.6177 GB, free: 1.387 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.4103, allocations: 0 / 0.6177 GB, free: 1.387 MB / 426.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004866/0.4108, allocations: 241.3 kB / 0.6179 GB, free: 1.145 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.779e-05/0.4108, allocations: 11.98 kB / 0.6179 GB, free: 1.133 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.4109, allocations: 3.938 kB / 0.6179 GB, free: 1.129 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.4109, allocations: 4.188 kB / 0.6179 GB, free: 1.125 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001414/0.4123, allocations: 127.8 kB / 0.618 GB, free: 1 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001723/0.414, allocations: 1.84 MB / 0.6198 GB, free: 15.09 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002811/0.4143, allocations: 35.7 kB / 0.6199 GB, free: 15.05 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.154e-05/0.4144, allocations: 8 kB / 0.6199 GB, free: 15.05 MB / 442.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 () * Number of clocked 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 0.000168/0.4145, allocations: 166.9 kB / 0.62 GB, free: 14.88 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.663e-05/0.4146, allocations: 27.66 kB / 0.62 GB, free: 14.85 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005064/0.4151, allocations: 199.3 kB / 0.6202 GB, free: 14.65 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.96e-06/0.4151, allocations: 4 kB / 0.6202 GB, free: 14.65 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.4151, allocations: 0 / 0.6202 GB, free: 14.65 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.4151, allocations: 0 / 0.6202 GB, free: 14.65 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003061/0.4154, allocations: 273.5 kB / 0.6205 GB, free: 14.33 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.4154, allocations: 0 / 0.6205 GB, free: 14.33 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001095/0.4165, allocations: 107.7 kB / 0.6206 GB, free: 14.23 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.4166, allocations: 0 / 0.6206 GB, free: 14.23 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.599e-05/0.4166, allocations: 11.94 kB / 0.6206 GB, free: 14.21 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001161/0.4178, allocations: 1.789 MB / 0.6224 GB, free: 12.36 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.856e-06/0.4178, allocations: 3.984 kB / 0.6224 GB, free: 12.35 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004113/0.4182, allocations: 271.3 kB / 0.6226 GB, free: 12.07 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.043e-05/0.4183, allocations: 100.8 kB / 0.6227 GB, free: 11.95 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.48e-05/0.4183, allocations: 0 / 0.6227 GB, free: 11.95 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002047/0.4185, allocations: 11.98 kB / 0.6227 GB, free: 11.94 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.322e-05/0.4186, allocations: 7.984 kB / 0.6227 GB, free: 11.93 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.194e-05/0.4186, allocations: 4 kB / 0.6227 GB, free: 11.93 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0002379/0.4189, allocations: 241.9 kB / 0.623 GB, free: 11.69 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4189, allocations: 4 kB / 0.623 GB, free: 11.69 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.000343/0.4192, allocations: 75.84 kB / 0.6231 GB, free: 11.61 MB / 442.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 () * Number of clocked 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.0002109/0.4194, allocations: 130.7 kB / 0.6232 GB, free: 11.48 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002133/0.4216, allocations: 275.5 kB / 0.6234 GB, free: 11.21 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.4216, allocations: 384 / 0.6234 GB, free: 11.21 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009185/0.4225, allocations: 113.2 kB / 0.6235 GB, free: 11.1 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003746/0.4229, allocations: 41.25 kB / 0.6236 GB, free: 11.05 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008925/0.4238, allocations: 0.5639 MB / 0.6241 GB, free: 10.46 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003017/0.4241, allocations: 0.7755 MB / 0.6249 GB, free: 9.664 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.571e-05/0.4242, allocations: 23.38 kB / 0.6249 GB, free: 9.641 MB / 442.7 MB Notification: Performance of SimCode: time 4.81e-07/0.4242, allocations: 4 kB / 0.6249 GB, free: 9.637 MB / 442.7 MB Notification: Performance of Templates: time 0.008244/0.4325, allocations: 6.627 MB / 0.6314 GB, free: 3.027 MB / 442.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW_res.mat","/var/lib/jenkins1/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_cpp_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],dp_nom[1],dp_nom[2],dp_nom[3],frac_KmToRs[1],frac_KmToRs[2],frac_KmToRs[3],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],p_2[1],p_2[2],p_2[3],time