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.0009266/0.0009267, allocations: 199.7 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.261/1.261, allocations: 226.6 MB / 243.1 MB, free: 14.28 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007738/0.0007738, allocations: 103.2 kB / 295.1 MB, free: 10.05 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1875/0.1875, allocations: 44.84 MB / 392 MB, free: 9.316 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002263/0.0002263, allocations: 8 kB / 464.8 MB, free: 49.74 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08213/0.08237, allocations: 62.96 MB / 0.5154 GB, free: 2.734 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW): time 0.001617/0.08403, allocations: 1.382 MB / 0.5167 GB, free: 1.332 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001023/0.08506, allocations: 0.7524 MB / 0.5174 GB, free: 0.5781 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.854e-05/0.08512, allocations: 0 / 0.5174 GB, free: 0.5781 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001602/0.08529, allocations: 31.89 kB / 0.5175 GB, free: 0.5469 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001333/0.08543, allocations: 51.73 kB / 0.5175 GB, free: 0.4961 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002174/0.08565, allocations: 75.72 kB / 0.5176 GB, free: 432 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001903/0.08587, allocations: 183.2 kB / 0.5178 GB, free: 248 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.235e-05/0.08592, allocations: 9.125 kB / 0.5178 GB, free: 240 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001433/0.08607, allocations: 67.77 kB / 0.5178 GB, free: 172 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001066/0.08619, allocations: 67.69 kB / 0.5179 GB, free: 104 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.568e-05/0.08621, allocations: 4 kB / 0.5179 GB, free: 100 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.164/0.2502, allocations: 148.1 kB / 0.518 GB, free: 9.926 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 8.278e-05/0.2504, allocations: 37.45 kB / 0.5181 GB, free: 9.926 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.362e-05/0.2504, allocations: 48.7 kB / 0.5181 GB, free: 9.895 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002638/0.2507, allocations: 139.1 kB / 0.5183 GB, free: 9.891 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.2507, allocations: 0 / 0.5183 GB, free: 9.891 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.2507, allocations: 2.734 kB / 0.5183 GB, free: 9.891 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.847e-06/0.2507, allocations: 2.719 kB / 0.5183 GB, free: 9.891 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0004643/0.2512, allocations: 439 kB / 0.5187 GB, free: 9.5 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.231e-05/0.2512, allocations: 9.031 kB / 0.5187 GB, free: 9.5 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004479/0.2517, allocations: 67.06 kB / 0.5188 GB, free: 9.492 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000164/0.2519, allocations: 217.7 kB / 0.519 GB, free: 9.281 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.689e-05/0.2519, allocations: 12.69 kB / 0.519 GB, free: 9.281 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.909e-05/0.2519, allocations: 11.09 kB / 0.519 GB, free: 9.281 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004443/0.2524, allocations: 242.6 kB / 0.5192 GB, free: 9.246 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.138e-06/0.2524, allocations: 2.766 kB / 0.5192 GB, free: 9.246 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.157e-05/0.2524, allocations: 6.031 kB / 0.5192 GB, free: 9.246 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.721e-05/0.2524, allocations: 20.64 kB / 0.5192 GB, free: 9.246 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000459/0.2529, allocations: 240 kB / 0.5195 GB, free: 9.238 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009339/0.2539, allocations: 0.7274 MB / 0.5202 GB, free: 8.746 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002185/0.2541, allocations: 98.72 kB / 0.5203 GB, free: 8.715 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001288/0.2542, allocations: 54.52 kB / 0.5203 GB, free: 8.707 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.548e-05/0.2542, allocations: 4.234 kB / 0.5203 GB, free: 8.707 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.138e-05/0.2543, allocations: 36.14 kB / 0.5204 GB, free: 8.664 MB / 346.7 MB Notification: Performance of pre-optimization done (n=7): time 1.112e-06/0.2543, allocations: 0 / 0.5204 GB, free: 8.664 MB / 346.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004871/0.2548, allocations: 180.2 kB / 0.5205 GB, free: 8.629 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.728e-05/0.2548, allocations: 56.12 kB / 0.5206 GB, free: 8.562 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001399/0.2549, allocations: 187.3 kB / 0.5208 GB, free: 8.461 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.093e-05/0.255, allocations: 26.67 kB / 0.5208 GB, free: 8.43 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.127e-05/0.255, allocations: 135.4 kB / 0.5209 GB, free: 8.32 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.022e-05/0.255, allocations: 29.45 kB / 0.521 GB, free: 8.305 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.725e-06/0.255, allocations: 1.969 kB / 0.521 GB, free: 8.305 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.094e-05/0.2551, allocations: 325.8 kB / 0.5213 GB, free: 7.992 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001376/0.2552, allocations: 52.19 kB / 0.5213 GB, free: 7.988 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001477/0.2554, allocations: 100.7 kB / 0.5214 GB, free: 7.926 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001513/0.2555, allocations: 74.3 kB / 0.5215 GB, free: 7.922 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.2556, allocations: 0.5938 kB / 0.5215 GB, free: 7.922 MB / 346.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003625/0.2559, allocations: 198.9 kB / 0.5217 GB, free: 7.875 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/0.2559, allocations: 8.344 kB / 0.5217 GB, free: 7.875 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.256, allocations: 6 kB / 0.5217 GB, free: 7.871 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/0.256, allocations: 3.734 kB / 0.5217 GB, free: 7.871 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008668/0.2568, allocations: 110.3 kB / 0.5218 GB, free: 7.867 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007452/0.2576, allocations: 1.809 MB / 0.5236 GB, free: 6.109 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001448/0.2578, allocations: 24.97 kB / 0.5236 GB, free: 6.102 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.591e-05/0.2578, allocations: 10.47 kB / 0.5236 GB, free: 6.098 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 (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 8.994e-05/0.2579, allocations: 141.4 kB / 0.5237 GB, free: 5.984 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.281e-05/0.2579, allocations: 12.95 kB / 0.5237 GB, free: 5.977 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004218/0.2583, allocations: 194.9 kB / 0.5239 GB, free: 5.938 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.2584, allocations: 2.188 kB / 0.5239 GB, free: 5.938 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.227e-06/0.2584, allocations: 0 / 0.5239 GB, free: 5.938 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.2584, allocations: 5.891 kB / 0.5239 GB, free: 5.934 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001902/0.2586, allocations: 229.4 kB / 0.5242 GB, free: 5.742 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.2586, allocations: 0 / 0.5242 GB, free: 5.742 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000677/0.2593, allocations: 93.03 kB / 0.5242 GB, free: 5.742 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.2593, allocations: 4.984 kB / 0.5243 GB, free: 5.738 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.138e-05/0.2593, allocations: 1.891 kB / 0.5243 GB, free: 5.738 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005434/0.2598, allocations: 1.78 MB / 0.526 GB, free: 3.98 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.2599, allocations: 4.938 kB / 0.526 GB, free: 3.977 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003139/0.2602, allocations: 245.8 kB / 0.5262 GB, free: 3.84 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.825e-05/0.2602, allocations: 94.64 kB / 0.5263 GB, free: 3.734 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.363e-05/0.2602, allocations: 8.953 kB / 0.5263 GB, free: 3.727 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001342/0.2604, allocations: 14.62 kB / 0.5263 GB, free: 3.727 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.9e-05/0.2604, allocations: 7.469 kB / 0.5264 GB, free: 3.727 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.006e-05/0.2604, allocations: 2.719 kB / 0.5264 GB, free: 3.727 MB / 346.7 MB Notification: Performance of sorting global known variables: time 8.563e-05/0.2605, allocations: 138.2 kB / 0.5265 GB, free: 3.652 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2605, allocations: 0 / 0.5265 GB, free: 3.652 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002614/0.2608, allocations: 48.09 kB / 0.5265 GB, free: 3.645 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 (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.00014/0.2609, allocations: 120.1 kB / 0.5266 GB, free: 3.543 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001135/0.2621, allocations: 229 kB / 0.5269 GB, free: 3.535 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.2621, allocations: 0 / 0.5269 GB, free: 3.535 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000597/0.2627, allocations: 117.5 kB / 0.527 GB, free: 3.531 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003429/0.2631, allocations: 37.73 kB / 0.527 GB, free: 3.531 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005339/0.2636, allocations: 423.2 kB / 0.5274 GB, free: 3.277 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001474/0.2638, allocations: 0.7416 MB / 0.5281 GB, free: 2.578 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.405e-05/0.2638, allocations: 16.02 kB / 0.5282 GB, free: 2.57 MB / 346.7 MB Notification: Performance of SimCode: time 2.5e-07/0.2638, allocations: 4 kB / 0.5282 GB, free: 2.566 MB / 346.7 MB Notification: Performance of Templates: time 0.007065/0.2709, allocations: 4.41 MB / 0.5325 GB, free: 2.277 MB / 346.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