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.0009563/0.0009567, allocations: 199 kB / 15.8 MB, free: 6.309 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.326/1.326, allocations: 226.5 MB / 243.1 MB, free: 14.31 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0006705/0.0006705, allocations: 91.19 kB / 295.1 MB, free: 10.07 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1854/0.1854, allocations: 44.83 MB / 392 MB, free: 9.344 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002352/0.0002353, allocations: 11.98 kB / 464.8 MB, free: 49.75 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0982/0.09844, allocations: 62.95 MB / 0.5153 GB, free: 2.746 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW): time 0.001654/0.1001, allocations: 1.354 MB / 0.5167 GB, free: 1.375 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001207/0.1014, allocations: 0.8304 MB / 0.5175 GB, free: 0.5391 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.173e-05/0.1014, allocations: 0 / 0.5175 GB, free: 0.5391 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001743/0.1016, allocations: 23.84 kB / 0.5175 GB, free: 0.5156 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001591/0.1018, allocations: 43.81 kB / 0.5175 GB, free: 484 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003281/0.1021, allocations: 115.6 kB / 0.5177 GB, free: 368 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001978/0.1023, allocations: 159.3 kB / 0.5178 GB, free: 208 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5e-05/0.1024, allocations: 13.44 kB / 0.5178 GB, free: 192 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.768e-05/0.1024, allocations: 51.77 kB / 0.5179 GB, free: 140 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001142/0.1026, allocations: 71.69 kB / 0.5179 GB, free: 68 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.813e-05/0.1026, allocations: 4 kB / 0.5179 GB, free: 64 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1719/0.2745, allocations: 188.1 kB / 0.5181 GB, free: 9.922 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 9.48e-05/0.2746, allocations: 43.06 kB / 0.5182 GB, free: 9.922 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 6.1e-05/0.2747, allocations: 48.69 kB / 0.5182 GB, free: 9.891 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000322/0.275, allocations: 156.9 kB / 0.5184 GB, free: 9.883 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.935e-06/0.2751, allocations: 1.25 kB / 0.5184 GB, free: 9.883 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.2751, allocations: 0 / 0.5184 GB, free: 9.883 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.448e-06/0.2751, allocations: 2.734 kB / 0.5184 GB, free: 9.883 MB / 346.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.0005373/0.2756, allocations: 458.3 kB / 0.5188 GB, free: 9.48 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.645e-05/0.2757, allocations: 10.5 kB / 0.5188 GB, free: 9.48 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001145/0.2768, allocations: 115.6 kB / 0.5189 GB, free: 9.473 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002057/0.277, allocations: 220.8 kB / 0.5191 GB, free: 9.27 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.83e-05/0.2771, allocations: 13.05 kB / 0.5191 GB, free: 9.27 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.978e-05/0.2771, allocations: 13.7 kB / 0.5192 GB, free: 9.27 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007065/0.2778, allocations: 327.3 kB / 0.5195 GB, free: 9.23 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.2778, allocations: 2.25 kB / 0.5195 GB, free: 9.23 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.699e-05/0.2779, allocations: 10.92 kB / 0.5195 GB, free: 9.23 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.142e-05/0.2779, allocations: 21.11 kB / 0.5195 GB, free: 9.23 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008368/0.2788, allocations: 325.1 kB / 0.5198 GB, free: 9.23 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001397/0.2802, allocations: 0.8348 MB / 0.5206 GB, free: 8.719 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000702/0.2809, allocations: 231.5 kB / 0.5208 GB, free: 8.688 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002885/0.2812, allocations: 89.31 kB / 0.5209 GB, free: 8.68 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.67e-05/0.2812, allocations: 3.078 kB / 0.5209 GB, free: 8.68 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.348e-05/0.2812, allocations: 36.3 kB / 0.521 GB, free: 8.641 MB / 346.7 MB Notification: Performance of pre-optimization done (n=10): time 1.333e-06/0.2812, allocations: 0 / 0.521 GB, free: 8.641 MB / 346.7 MB Notification: Performance of matching and sorting (n=10): time 0.001001/0.2822, allocations: 308.3 kB / 0.5213 GB, free: 8.598 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.956e-05/0.2823, allocations: 55.16 kB / 0.5213 GB, free: 8.535 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001535/0.2824, allocations: 190.9 kB / 0.5215 GB, free: 8.43 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.917e-05/0.2825, allocations: 32.33 kB / 0.5215 GB, free: 8.395 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.077e-05/0.2825, allocations: 140.5 kB / 0.5217 GB, free: 8.285 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.152e-05/0.2826, allocations: 33.77 kB / 0.5217 GB, free: 8.266 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.394e-05/0.2826, allocations: 0 / 0.5217 GB, free: 8.266 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.503e-05/0.2826, allocations: 326.8 kB / 0.522 GB, free: 7.953 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002945/0.2829, allocations: 88.22 kB / 0.5221 GB, free: 7.953 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000307/0.2832, allocations: 143.3 kB / 0.5222 GB, free: 7.887 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000301/0.2836, allocations: 101 kB / 0.5223 GB, free: 7.883 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.2836, allocations: 1.156 kB / 0.5223 GB, free: 7.883 MB / 346.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0007375/0.2843, allocations: 283.4 kB / 0.5226 GB, free: 7.836 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.2843, allocations: 6.094 kB / 0.5226 GB, free: 7.836 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.2843, allocations: 2.406 kB / 0.5226 GB, free: 7.836 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.723e-05/0.2844, allocations: 3.281 kB / 0.5226 GB, free: 7.836 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004414/0.2848, allocations: 83.48 kB / 0.5227 GB, free: 7.836 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005415/0.2854, allocations: 1.788 MB / 0.5244 GB, free: 6.078 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002175/0.2856, allocations: 30.17 kB / 0.5245 GB, free: 6.066 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.137e-05/0.2856, allocations: 14.55 kB / 0.5245 GB, free: 6.066 MB / 346.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.0001135/0.2858, allocations: 142.7 kB / 0.5246 GB, free: 5.953 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.236e-05/0.2858, allocations: 18.89 kB / 0.5246 GB, free: 5.941 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007832/0.2866, allocations: 281.1 kB / 0.5249 GB, free: 5.895 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.2866, allocations: 1.344 kB / 0.5249 GB, free: 5.895 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.2866, allocations: 0.6562 kB / 0.5249 GB, free: 5.895 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.227e-06/0.2866, allocations: 0.75 kB / 0.5249 GB, free: 5.895 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002603/0.2869, allocations: 258 kB / 0.5251 GB, free: 5.703 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.2869, allocations: 0 / 0.5251 GB, free: 5.703 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003497/0.2872, allocations: 70.88 kB / 0.5252 GB, free: 5.703 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.536e-06/0.2873, allocations: 3.953 kB / 0.5252 GB, free: 5.699 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.616e-05/0.2873, allocations: 12.86 kB / 0.5252 GB, free: 5.699 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005017/0.2878, allocations: 1.783 MB / 0.527 GB, free: 3.941 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.103e-06/0.2878, allocations: 0.7031 kB / 0.527 GB, free: 3.941 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006816/0.2885, allocations: 325.5 kB / 0.5273 GB, free: 3.801 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.315e-05/0.2885, allocations: 86.27 kB / 0.5274 GB, free: 3.703 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.486e-05/0.2886, allocations: 8.688 kB / 0.5274 GB, free: 3.699 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002076/0.2888, allocations: 11.39 kB / 0.5274 GB, free: 3.699 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.341e-05/0.2889, allocations: 18.73 kB / 0.5274 GB, free: 3.695 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.455e-05/0.2889, allocations: 15.92 kB / 0.5274 GB, free: 3.691 MB / 346.7 MB Notification: Performance of sorting global known variables: time 9.781e-05/0.289, allocations: 139.5 kB / 0.5276 GB, free: 3.617 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.289, allocations: 2.906 kB / 0.5276 GB, free: 3.617 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003554/0.2894, allocations: 62 kB / 0.5276 GB, free: 3.605 MB / 346.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.0001998/0.2896, allocations: 126.8 kB / 0.5277 GB, free: 3.508 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0008301/0.2904, allocations: 239.3 kB / 0.528 GB, free: 3.508 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.2904, allocations: 4.375 kB / 0.528 GB, free: 3.504 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004685/0.2909, allocations: 142.6 kB / 0.5281 GB, free: 3.5 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002625/0.2912, allocations: 11.27 kB / 0.5281 GB, free: 3.5 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007322/0.2919, allocations: 456.8 kB / 0.5285 GB, free: 3.25 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001589/0.2921, allocations: 0.7398 MB / 0.5293 GB, free: 2.551 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000113/0.2922, allocations: 40.19 kB / 0.5293 GB, free: 2.543 MB / 346.7 MB Notification: Performance of SimCode: time 3.11e-07/0.2922, allocations: 1.25 kB / 0.5293 GB, free: 2.543 MB / 346.7 MB Notification: Performance of Templates: time 0.007338/0.2995, allocations: 4.901 MB / 0.5341 GB, free: 1.918 MB / 346.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