Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_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_pressureLossCoefficient_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|zeta_TOT.1.|zeta_TOT.2.|zeta_TOT.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_pressureLossCoefficient_DPMFLOW") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|zeta_TOT.1.|zeta_TOT.2.|zeta_TOT.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_pressureLossCoefficient_DPMFLOW") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009986/0.0009986, allocations: 198.8 kB / 16.1 MB, free: 5.703 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.224/1.224, allocations: 226.6 MB / 243.4 MB, free: 8.23 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007972/0.0007971, allocations: 104.5 kB / 295.5 MB, free: 6.906 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4164/0.4164, allocations: 44.82 MB / 392.3 MB, free: 35.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002576/0.0002577, allocations: 8 kB / 465.3 MB, free: 12.66 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2658/0.266, allocations: 62.96 MB / 0.5159 GB, free: 37.12 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW): time 0.001392/0.2675, allocations: 1.375 MB / 0.5172 GB, free: 36.13 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009097/0.2684, allocations: 0.7685 MB / 0.518 GB, free: 35.6 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.091e-05/0.2684, allocations: 2.875 kB / 0.518 GB, free: 35.6 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001752/0.2686, allocations: 36.2 kB / 0.518 GB, free: 35.57 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001187/0.2687, allocations: 45.3 kB / 0.5181 GB, free: 35.55 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002202/0.269, allocations: 76.31 kB / 0.5181 GB, free: 35.52 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001665/0.2692, allocations: 183.6 kB / 0.5183 GB, free: 35.45 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.581e-05/0.2692, allocations: 22.19 kB / 0.5183 GB, free: 35.44 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001318/0.2693, allocations: 58.95 kB / 0.5184 GB, free: 35.42 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001005/0.2695, allocations: 68.66 kB / 0.5185 GB, free: 35.39 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.465e-05/0.2695, allocations: 7.812 kB / 0.5185 GB, free: 35.39 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002204/0.2697, allocations: 154.5 kB / 0.5186 GB, free: 35.35 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.227e-05/0.2698, allocations: 32.86 kB / 0.5187 GB, free: 35.34 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.691e-05/0.2698, allocations: 88.7 kB / 0.5187 GB, free: 35.28 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001642/0.27, allocations: 137.6 kB / 0.5189 GB, free: 35.24 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.27, allocations: 7.938 kB / 0.5189 GB, free: 35.23 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.313e-06/0.27, allocations: 0 / 0.5189 GB, free: 35.23 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.677e-06/0.27, allocations: 0 / 0.5189 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0004378/0.2705, allocations: 434.7 kB / 0.5193 GB, free: 34.83 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.028e-05/0.2705, allocations: 8.969 kB / 0.5193 GB, free: 34.83 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000425/0.2709, allocations: 65.52 kB / 0.5194 GB, free: 34.81 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001476/0.2711, allocations: 214.9 kB / 0.5196 GB, free: 34.59 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.437e-05/0.2711, allocations: 14.02 kB / 0.5196 GB, free: 34.59 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.619e-05/0.2711, allocations: 16.44 kB / 0.5196 GB, free: 34.58 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003683/0.2715, allocations: 237.7 kB / 0.5198 GB, free: 34.49 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-06/0.2715, allocations: 0 / 0.5198 GB, free: 34.49 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.907e-05/0.2716, allocations: 7.031 kB / 0.5198 GB, free: 34.48 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.807e-05/0.2716, allocations: 21.34 kB / 0.5198 GB, free: 34.48 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003755/0.272, allocations: 233.5 kB / 0.5201 GB, free: 34.42 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008248/0.2728, allocations: 0.7365 MB / 0.5208 GB, free: 33.84 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001783/0.273, allocations: 89.95 kB / 0.5209 GB, free: 33.8 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001125/0.2731, allocations: 53.16 kB / 0.5209 GB, free: 33.79 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.839e-05/0.2731, allocations: 4 kB / 0.5209 GB, free: 33.79 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.556e-05/0.2732, allocations: 41.28 kB / 0.521 GB, free: 33.74 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 1.182e-06/0.2732, allocations: 0 / 0.521 GB, free: 33.74 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004414/0.2736, allocations: 183.5 kB / 0.5211 GB, free: 33.68 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.975e-05/0.2736, allocations: 58.06 kB / 0.5212 GB, free: 33.61 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001199/0.2738, allocations: 181.9 kB / 0.5214 GB, free: 33.49 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.183e-05/0.2738, allocations: 29.7 kB / 0.5214 GB, free: 33.45 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.935e-05/0.2738, allocations: 137.9 kB / 0.5215 GB, free: 33.33 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.786e-05/0.2739, allocations: 26.56 kB / 0.5216 GB, free: 33.31 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.888e-06/0.2739, allocations: 6.75 kB / 0.5216 GB, free: 33.3 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.639e-05/0.2739, allocations: 328.3 kB / 0.5219 GB, free: 32.98 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001211/0.2741, allocations: 47.84 kB / 0.5219 GB, free: 32.98 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001288/0.2742, allocations: 107.5 kB / 0.522 GB, free: 32.9 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002727/0.2745, allocations: 165.5 kB / 0.5222 GB, free: 32.81 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.2745, allocations: 0 / 0.5222 GB, free: 32.81 MB / 378.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003247/0.2748, allocations: 193.2 kB / 0.5224 GB, free: 32.74 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.372e-05/0.2748, allocations: 9.938 kB / 0.5224 GB, free: 32.73 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.2749, allocations: 3 kB / 0.5224 GB, free: 32.73 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.568e-05/0.2749, allocations: 10.41 kB / 0.5224 GB, free: 32.73 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008003/0.2757, allocations: 107.3 kB / 0.5225 GB, free: 32.72 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007278/0.2764, allocations: 1.811 MB / 0.5243 GB, free: 30.95 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000134/0.2766, allocations: 30.91 kB / 0.5243 GB, free: 30.93 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.522e-05/0.2766, allocations: 6.219 kB / 0.5243 GB, free: 30.93 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 (14): * Single equations (assignments): 11 * 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.022e-05/0.2767, allocations: 139.1 kB / 0.5244 GB, free: 30.8 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.27e-05/0.2767, allocations: 13.84 kB / 0.5244 GB, free: 30.8 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003975/0.2771, allocations: 190.8 kB / 0.5246 GB, free: 30.72 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.995e-06/0.2771, allocations: 6.719 kB / 0.5246 GB, free: 30.72 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.2771, allocations: 4 kB / 0.5246 GB, free: 30.71 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.2772, allocations: 3.984 kB / 0.5246 GB, free: 30.71 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001827/0.2773, allocations: 234.9 kB / 0.5249 GB, free: 30.49 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.2773, allocations: 0 / 0.5249 GB, free: 30.49 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006222/0.278, allocations: 97.61 kB / 0.525 GB, free: 30.49 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.454e-06/0.278, allocations: 0 / 0.525 GB, free: 30.49 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.121e-05/0.278, allocations: 6.906 kB / 0.525 GB, free: 30.48 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005708/0.2786, allocations: 1.782 MB / 0.5267 GB, free: 28.7 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.2786, allocations: 0 / 0.5267 GB, free: 28.7 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003014/0.2789, allocations: 246.6 kB / 0.5269 GB, free: 28.55 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.969e-05/0.2789, allocations: 92.02 kB / 0.527 GB, free: 28.44 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.444e-05/0.279, allocations: 6.047 kB / 0.527 GB, free: 28.44 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001283/0.2791, allocations: 5.844 kB / 0.527 GB, free: 28.44 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.45e-05/0.2792, allocations: 14.31 kB / 0.5271 GB, free: 28.43 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.346e-06/0.2792, allocations: 6.75 kB / 0.5271 GB, free: 28.43 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.666e-05/0.2793, allocations: 139.9 kB / 0.5272 GB, free: 28.34 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2793, allocations: 2.781 kB / 0.5272 GB, free: 28.34 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00028/0.2795, allocations: 46.48 kB / 0.5272 GB, free: 28.33 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 (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.0001481/0.2797, allocations: 111.1 kB / 0.5273 GB, free: 28.23 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001032/0.2807, allocations: 220 kB / 0.5276 GB, free: 28.21 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.2808, allocations: 0 / 0.5276 GB, free: 28.21 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005582/0.2813, allocations: 119 kB / 0.5277 GB, free: 28.2 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003571/0.2817, allocations: 39.17 kB / 0.5277 GB, free: 28.18 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004975/0.2822, allocations: 426.3 kB / 0.5281 GB, free: 27.91 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001519/0.2824, allocations: 0.7381 MB / 0.5288 GB, free: 27.21 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.501e-05/0.2824, allocations: 20.41 kB / 0.5289 GB, free: 27.2 MB / 378.7 MB Notification: Performance of SimCode: time 3.01e-07/0.2824, allocations: 0 / 0.5289 GB, free: 27.2 MB / 378.7 MB Notification: Performance of Templates: time 0.004934/0.2874, allocations: 4.397 MB / 0.5331 GB, free: 26.89 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_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_pressureLossCoefficient_DPMFLOW/dp_pressureLossCoefficient_DPMFLOW.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches