Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_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_volumeFlowRate_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|V_flow.1.|V_flow.2.|V_flow.3.|a.1.|a.2.|a.3.|rho|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_volumeFlowRate_DPMFLOW") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|V_flow.1.|V_flow.2.|V_flow.3.|a.1.|a.2.|a.3.|rho|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_volumeFlowRate_DPMFLOW") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001125/0.001125, allocations: 194 kB / 16.1 MB, free: 5.551 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.334/1.334, allocations: 226.5 MB / 243.4 MB, free: 6.484 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007381/0.0007382, allocations: 98.62 kB / 295.5 MB, free: 6.641 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2957/0.2957, allocations: 44.83 MB / 392.3 MB, free: 35.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002624/0.0002625, allocations: 8 kB / 465.3 MB, free: 12.61 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2736/0.2739, allocations: 62.95 MB / 0.5159 GB, free: 37.18 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW): time 0.001486/0.2754, allocations: 1.362 MB / 0.5172 GB, free: 36.2 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00105/0.2765, allocations: 0.8295 MB / 0.518 GB, free: 35.62 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.7e-05/0.2766, allocations: 0 / 0.518 GB, free: 35.62 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001983/0.2768, allocations: 31.41 kB / 0.5181 GB, free: 35.61 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001469/0.2769, allocations: 45.69 kB / 0.5181 GB, free: 35.59 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003153/0.2773, allocations: 101.4 kB / 0.5182 GB, free: 35.54 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001676/0.2774, allocations: 167 kB / 0.5184 GB, free: 35.48 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.139e-05/0.2775, allocations: 18.3 kB / 0.5184 GB, free: 35.46 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.841e-05/0.2776, allocations: 53.25 kB / 0.5184 GB, free: 35.45 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001001/0.2777, allocations: 68.58 kB / 0.5185 GB, free: 35.42 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.608e-05/0.2777, allocations: 7.031 kB / 0.5185 GB, free: 35.42 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002668/0.278, allocations: 193.9 kB / 0.5187 GB, free: 35.36 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.831e-05/0.278, allocations: 40.23 kB / 0.5187 GB, free: 35.35 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.017e-05/0.2781, allocations: 84.81 kB / 0.5188 GB, free: 35.29 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000201/0.2783, allocations: 165.4 kB / 0.519 GB, free: 35.23 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.2783, allocations: 0 / 0.519 GB, free: 35.23 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.2783, allocations: 4 kB / 0.519 GB, free: 35.23 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.439e-06/0.2783, allocations: 0 / 0.519 GB, free: 35.23 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0004955/0.2788, allocations: 445.9 kB / 0.5194 GB, free: 34.82 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.625e-05/0.2789, allocations: 14.47 kB / 0.5194 GB, free: 34.82 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001002/0.2799, allocations: 120.9 kB / 0.5195 GB, free: 34.8 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001851/0.2801, allocations: 216 kB / 0.5197 GB, free: 34.59 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.234e-05/0.2801, allocations: 18.05 kB / 0.5198 GB, free: 34.57 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.558e-05/0.2801, allocations: 16.86 kB / 0.5198 GB, free: 34.57 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000559/0.2807, allocations: 324.1 kB / 0.5201 GB, free: 34.46 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.878e-06/0.2807, allocations: 0 / 0.5201 GB, free: 34.46 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.666e-05/0.2808, allocations: 10.98 kB / 0.5201 GB, free: 34.45 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.931e-05/0.2808, allocations: 17.92 kB / 0.5201 GB, free: 34.45 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006626/0.2815, allocations: 331.6 kB / 0.5204 GB, free: 34.38 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001186/0.2827, allocations: 0.8228 MB / 0.5212 GB, free: 33.78 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006261/0.2833, allocations: 225.1 kB / 0.5214 GB, free: 33.73 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002481/0.2836, allocations: 93.34 kB / 0.5215 GB, free: 33.71 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.181e-05/0.2836, allocations: 0 / 0.5215 GB, free: 33.71 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.81e-05/0.2836, allocations: 36.73 kB / 0.5216 GB, free: 33.67 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 9.02e-07/0.2836, allocations: 0 / 0.5216 GB, free: 33.67 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.0008838/0.2845, allocations: 315.4 kB / 0.5219 GB, free: 33.58 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.719e-05/0.2846, allocations: 59.34 kB / 0.5219 GB, free: 33.51 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001301/0.2847, allocations: 181.5 kB / 0.5221 GB, free: 33.39 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.852e-05/0.2847, allocations: 25.7 kB / 0.5221 GB, free: 33.36 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.467e-05/0.2848, allocations: 141 kB / 0.5223 GB, free: 33.23 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.869e-05/0.2848, allocations: 29.64 kB / 0.5223 GB, free: 33.21 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.7e-05/0.2848, allocations: 10.69 kB / 0.5223 GB, free: 33.2 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.557e-05/0.2849, allocations: 320.7 kB / 0.5226 GB, free: 32.89 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002521/0.2852, allocations: 88.25 kB / 0.5227 GB, free: 32.88 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002691/0.2854, allocations: 155.7 kB / 0.5228 GB, free: 32.79 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005171/0.286, allocations: 229.8 kB / 0.523 GB, free: 32.68 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.286, allocations: 0 / 0.523 GB, free: 32.68 MB / 378.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0006309/0.2866, allocations: 279.3 kB / 0.5233 GB, free: 32.6 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.2866, allocations: 5.438 kB / 0.5233 GB, free: 32.6 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.2866, allocations: 2.969 kB / 0.5233 GB, free: 32.6 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.529e-05/0.2867, allocations: 10.69 kB / 0.5233 GB, free: 32.59 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004372/0.2871, allocations: 85.53 kB / 0.5234 GB, free: 32.58 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005523/0.2877, allocations: 1.787 MB / 0.5252 GB, free: 30.8 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001975/0.2879, allocations: 22.84 kB / 0.5252 GB, free: 30.79 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.831e-05/0.2879, allocations: 19.14 kB / 0.5252 GB, free: 30.79 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (17): * Single equations (assignments): 14 * 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.0001048/0.288, allocations: 139.7 kB / 0.5253 GB, free: 30.66 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.109e-05/0.2881, allocations: 20.67 kB / 0.5254 GB, free: 30.65 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006802/0.2888, allocations: 283 kB / 0.5256 GB, free: 30.56 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.057e-06/0.2888, allocations: 0 / 0.5256 GB, free: 30.56 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.2888, allocations: 0 / 0.5256 GB, free: 30.56 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.2888, allocations: 3.469 kB / 0.5256 GB, free: 30.56 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002326/0.289, allocations: 253.8 kB / 0.5259 GB, free: 30.34 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.289, allocations: 4 kB / 0.5259 GB, free: 30.34 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003233/0.2894, allocations: 71.23 kB / 0.5259 GB, free: 30.33 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.2894, allocations: 3.938 kB / 0.5259 GB, free: 30.33 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.222e-05/0.2894, allocations: 14.27 kB / 0.526 GB, free: 30.32 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004707/0.2899, allocations: 1.784 MB / 0.5277 GB, free: 28.54 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.2899, allocations: 4.281 kB / 0.5277 GB, free: 28.54 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005787/0.2905, allocations: 329.2 kB / 0.528 GB, free: 28.37 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.241e-05/0.2905, allocations: 90.77 kB / 0.5281 GB, free: 28.27 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.996e-05/0.2906, allocations: 0 / 0.5281 GB, free: 28.27 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001827/0.2908, allocations: 13.52 kB / 0.5281 GB, free: 28.26 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.924e-05/0.2908, allocations: 17.17 kB / 0.5281 GB, free: 28.26 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.012e-05/0.2908, allocations: 9.969 kB / 0.5281 GB, free: 28.26 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000104/0.291, allocations: 141 kB / 0.5283 GB, free: 28.17 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.291, allocations: 0 / 0.5283 GB, free: 28.17 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003326/0.2913, allocations: 62.62 kB / 0.5283 GB, free: 28.15 MB / 378.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 (10): * Single equations (assignments): 7 * 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.0002028/0.2915, allocations: 128.7 kB / 0.5285 GB, free: 28.05 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007522/0.2923, allocations: 252.5 kB / 0.5287 GB, free: 28 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.2923, allocations: 0 / 0.5287 GB, free: 28 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000411/0.2927, allocations: 135.5 kB / 0.5288 GB, free: 27.98 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002758/0.293, allocations: 14.53 kB / 0.5288 GB, free: 27.98 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006424/0.2936, allocations: 466.4 kB / 0.5293 GB, free: 27.7 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001381/0.2938, allocations: 0.737 MB / 0.53 GB, free: 27 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001066/0.2939, allocations: 34.34 kB / 0.53 GB, free: 26.99 MB / 378.7 MB Notification: Performance of SimCode: time 3.8e-07/0.2939, allocations: 4 kB / 0.53 GB, free: 26.99 MB / 378.7 MB Notification: Performance of Templates: time 0.005993/0.2999, allocations: 4.893 MB / 0.5348 GB, free: 26.64 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_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_volumeFlowRate_DPMFLOW/dp_volumeFlowRate_DPMFLOW.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches