Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_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_nominalDensityViscosity_DPMFLOW,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eta.1.|eta.2.|eta.3.|rho.1.|rho.2.|rho.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_nominalDensityViscosity_DPMFLOW") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eta.1.|eta.2.|eta.3.|rho.1.|rho.2.|rho.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_nominalDensityViscosity_DPMFLOW") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001716/0.001716, allocations: 199.7 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.545/1.545, 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.0007479/0.000748, allocations: 91.86 kB / 295.5 MB, free: 6.652 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2837/0.2837, allocations: 44.83 MB / 392.3 MB, free: 35.67 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00029/0.0002901, allocations: 8 kB / 465.3 MB, free: 12.61 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3155/0.3158, allocations: 62.96 MB / 0.5159 GB, free: 37.17 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW): time 0.001589/0.3174, allocations: 1.513 MB / 0.5174 GB, free: 36.08 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00076/0.3182, allocations: 0.5673 MB / 0.5179 GB, free: 35.69 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.629e-05/0.3183, allocations: 3.031 kB / 0.5179 GB, free: 35.69 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002269/0.3185, allocations: 44.59 kB / 0.518 GB, free: 35.66 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001235/0.3187, allocations: 65.98 kB / 0.518 GB, free: 35.63 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002455/0.3189, allocations: 94.16 kB / 0.5181 GB, free: 35.59 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002036/0.3191, allocations: 263.2 kB / 0.5184 GB, free: 35.47 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.394e-05/0.3192, allocations: 30.45 kB / 0.5184 GB, free: 35.46 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.29e-05/0.3193, allocations: 84.3 kB / 0.5185 GB, free: 35.43 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001124/0.3194, allocations: 104.8 kB / 0.5186 GB, free: 35.38 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.815e-05/0.3194, allocations: 5.812 kB / 0.5186 GB, free: 35.38 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002768/0.3197, allocations: 220.3 kB / 0.5188 GB, free: 35.32 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.88e-05/0.3198, allocations: 49.92 kB / 0.5189 GB, free: 35.3 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 7.787e-05/0.3198, allocations: 114.7 kB / 0.519 GB, free: 35.22 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002447/0.3201, allocations: 218.9 kB / 0.5192 GB, free: 35.16 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.219e-06/0.3201, allocations: 7.312 kB / 0.5192 GB, free: 35.16 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.515e-06/0.3201, allocations: 0 / 0.5192 GB, free: 35.16 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.721e-06/0.3201, allocations: 11.88 kB / 0.5192 GB, free: 35.14 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: 70 * Number of variables: 70 Notification: Performance of Generate backend data structure: time 0.0005063/0.3206, allocations: 498.5 kB / 0.5197 GB, free: 34.7 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.663e-05/0.3207, allocations: 11.41 kB / 0.5197 GB, free: 34.7 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001648/0.3223, allocations: 203.7 kB / 0.5199 GB, free: 34.67 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002541/0.3226, allocations: 270.4 kB / 0.5201 GB, free: 34.43 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.477e-05/0.3226, allocations: 19.17 kB / 0.5201 GB, free: 34.43 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.345e-05/0.3227, allocations: 20 kB / 0.5202 GB, free: 34.42 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008061/0.3235, allocations: 0.5085 MB / 0.5207 GB, free: 34.24 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.3235, allocations: 2.688 kB / 0.5207 GB, free: 34.24 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.482e-05/0.3235, allocations: 8 kB / 0.5207 GB, free: 34.23 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.641e-05/0.3236, allocations: 26.03 kB / 0.5207 GB, free: 34.23 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001043/0.3246, allocations: 0.5909 MB / 0.5213 GB, free: 34.06 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001774/0.3264, allocations: 1.17 MB / 0.5224 GB, free: 33.33 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005596/0.327, allocations: 181.8 kB / 0.5226 GB, free: 33.29 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002954/0.3273, allocations: 93.81 kB / 0.5227 GB, free: 33.27 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.488e-05/0.3273, allocations: 0 / 0.5227 GB, free: 33.27 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.759e-05/0.3273, allocations: 37.38 kB / 0.5227 GB, free: 33.22 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 9.92e-07/0.3274, allocations: 0 / 0.5227 GB, free: 33.22 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.001056/0.3284, allocations: 324 kB / 0.523 GB, free: 33.14 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.409e-05/0.3284, allocations: 53.88 kB / 0.5231 GB, free: 33.08 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002076/0.3287, allocations: 279.8 kB / 0.5233 GB, free: 32.93 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.081e-05/0.3287, allocations: 25.7 kB / 0.5234 GB, free: 32.89 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.703e-05/0.3288, allocations: 174.4 kB / 0.5235 GB, free: 32.74 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.749e-05/0.3288, allocations: 28.27 kB / 0.5236 GB, free: 32.72 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.825e-05/0.3288, allocations: 0 / 0.5236 GB, free: 32.72 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.322e-05/0.3289, allocations: 331.3 kB / 0.5239 GB, free: 32.4 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003074/0.3292, allocations: 96.5 kB / 0.524 GB, free: 32.39 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003098/0.3295, allocations: 117.1 kB / 0.5241 GB, free: 32.34 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006175/0.3301, allocations: 222.3 kB / 0.5243 GB, free: 32.27 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.3301, allocations: 6.75 kB / 0.5243 GB, free: 32.27 MB / 378.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0007129/0.3309, allocations: 274.7 kB / 0.5246 GB, free: 32.18 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/0.3309, allocations: 5.656 kB / 0.5246 GB, free: 32.18 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.3309, allocations: 0 / 0.5246 GB, free: 32.18 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.659e-05/0.3309, allocations: 6.438 kB / 0.5246 GB, free: 32.18 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005454/0.3364, allocations: 465.4 kB / 0.525 GB, free: 32.16 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002163/0.3386, allocations: 1.95 MB / 0.5269 GB, free: 30.36 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003894/0.339, allocations: 49.17 kB / 0.527 GB, free: 30.34 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.572e-05/0.339, allocations: 9.734 kB / 0.527 GB, free: 30.34 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (13): * Single equations (assignments): 10 * 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.0001593/0.3392, allocations: 153 kB / 0.5271 GB, free: 30.21 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.457e-05/0.3392, allocations: 20.47 kB / 0.5271 GB, free: 30.2 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.675e-05/0.3393, allocations: 25.84 kB / 0.5272 GB, free: 30.19 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.3393, allocations: 2.906 kB / 0.5272 GB, free: 30.19 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.3393, allocations: 3.328 kB / 0.5272 GB, free: 30.19 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.3393, allocations: 4 kB / 0.5272 GB, free: 30.19 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003034/0.3396, allocations: 292.2 kB / 0.5275 GB, free: 29.96 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.3396, allocations: 0 / 0.5275 GB, free: 29.96 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005398/0.345, allocations: 456.4 kB / 0.5279 GB, free: 29.95 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.773e-06/0.3451, allocations: 0 / 0.5279 GB, free: 29.95 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.805e-05/0.3451, allocations: 9.938 kB / 0.5279 GB, free: 29.95 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002079/0.3472, allocations: 1.946 MB / 0.5298 GB, free: 28.14 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.3472, allocations: 0 / 0.5298 GB, free: 28.14 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007498/0.348, allocations: 336.2 kB / 0.5301 GB, free: 27.98 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.605e-05/0.3481, allocations: 91.86 kB / 0.5302 GB, free: 27.87 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.161e-05/0.3481, allocations: 0 / 0.5302 GB, free: 27.87 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003352/0.3485, allocations: 29.27 kB / 0.5302 GB, free: 27.87 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.565e-05/0.3485, allocations: 6.219 kB / 0.5302 GB, free: 27.87 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.251e-05/0.3486, allocations: 10.34 kB / 0.5303 GB, free: 27.86 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001643/0.3487, allocations: 210.9 kB / 0.5305 GB, free: 27.75 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3487, allocations: 0 / 0.5305 GB, free: 27.75 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003464/0.3491, allocations: 64.75 kB / 0.5305 GB, free: 27.74 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 (7): * Single equations (assignments): 4 * 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.0001873/0.3493, allocations: 122.5 kB / 0.5306 GB, free: 27.63 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0053/0.3546, allocations: 0.5964 MB / 0.5312 GB, free: 27.59 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.3546, allocations: 4.469 kB / 0.5312 GB, free: 27.59 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004938/0.3596, allocations: 0.5018 MB / 0.5317 GB, free: 27.55 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004313/0.36, allocations: 37.11 kB / 0.5317 GB, free: 27.54 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008843/0.3609, allocations: 0.563 MB / 0.5323 GB, free: 27.21 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001738/0.3611, allocations: 0.7749 MB / 0.5331 GB, free: 26.51 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.698e-05/0.3612, allocations: 21.91 kB / 0.5331 GB, free: 26.5 MB / 378.7 MB Notification: Performance of SimCode: time 7.22e-07/0.3612, allocations: 0 / 0.5331 GB, free: 26.5 MB / 378.7 MB Notification: Performance of Templates: time 0.0089/0.3701, allocations: 6.605 MB / 0.5395 GB, free: 25.61 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_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_nominalDensityViscosity_DPMFLOW/dp_nominalDensityViscosity_DPMFLOW.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches