Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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_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_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000999/0.001003, allocations: 94.55 kB / 18 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001148/0.001148, allocations: 201.5 kB / 18.93 MB, free: 4.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.309/1.309, allocations: 227.7 MB / 247.5 MB, free: 9.504 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1951/0.1951, allocations: 46.19 MB / 345.9 MB, free: 11.15 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002545/0.0002545, allocations: 8 kB / 420.2 MB, free: 19.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1015/0.1018, allocations: 63.56 MB / 483.8 MB, free: 4.105 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW): time 0.001775/0.1036, allocations: 1.401 MB / 485.2 MB, free: 2.691 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00123/0.1048, allocations: 0.8259 MB / 486 MB, free: 1.863 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.774e-05/0.1049, allocations: 4 kB / 486 MB, free: 1.859 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001938/0.1051, allocations: 35.83 kB / 486 MB, free: 1.824 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001388/0.1053, allocations: 51.78 kB / 486.1 MB, free: 1.773 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002235/0.1055, allocations: 75.73 kB / 486.2 MB, free: 1.699 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002201/0.1057, allocations: 219.1 kB / 486.4 MB, free: 1.484 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.788e-05/0.1058, allocations: 21.11 kB / 486.4 MB, free: 1.465 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001496/0.1059, allocations: 55.73 kB / 486.4 MB, free: 1.41 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001292/0.1061, allocations: 79.66 kB / 486.5 MB, free: 1.332 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.595e-05/0.1061, allocations: 4 kB / 486.5 MB, free: 1.328 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002613/0.1064, allocations: 159.8 kB / 486.7 MB, free: 1.172 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.946e-05/0.1064, allocations: 35.83 kB / 486.7 MB, free: 1.137 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.029e-05/0.1065, allocations: 81.33 kB / 486.8 MB, free: 1.051 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002093/0.1067, allocations: 151.8 kB / 486.9 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.545e-06/0.1067, allocations: 0 / 486.9 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1068, allocations: 3.938 kB / 486.9 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.967e-06/0.1068, allocations: 0 / 486.9 MB, free: 0.8984 MB / 350.1 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.0005231/0.1073, allocations: 442.9 kB / 487.4 MB, free: 428 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.423e-05/0.1073, allocations: 12.88 kB / 487.4 MB, free: 416 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004626/0.1078, allocations: 64.69 kB / 487.5 MB, free: 352 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001874/0.108, allocations: 212.2 kB / 487.7 MB, free: 100 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.387e-05/0.108, allocations: 8.375 kB / 487.7 MB, free: 92 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.939e-05/0.1081, allocations: 20.11 kB / 487.7 MB, free: 72 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004319/0.1085, allocations: 229.5 kB / 487.9 MB, free: 15.84 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.775e-06/0.1085, allocations: 0 / 487.9 MB, free: 15.84 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.033e-05/0.1085, allocations: 4 kB / 487.9 MB, free: 15.84 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.426e-05/0.1086, allocations: 19.98 kB / 487.9 MB, free: 15.82 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004363/0.109, allocations: 243.5 kB / 488.2 MB, free: 15.58 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001026/0.1101, allocations: 0.7286 MB / 488.9 MB, free: 14.76 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001994/0.1103, allocations: 90.5 kB / 489 MB, free: 14.66 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001366/0.1104, allocations: 60.8 kB / 489.1 MB, free: 14.6 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.267e-05/0.1104, allocations: 0 / 489.1 MB, free: 14.6 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.458e-05/0.1105, allocations: 38.5 kB / 489.1 MB, free: 14.55 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 9.12e-07/0.1105, allocations: 0 / 489.1 MB, free: 14.55 MB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005045/0.111, allocations: 185.5 kB / 489.3 MB, free: 14.36 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.083e-05/0.111, allocations: 55.41 kB / 489.3 MB, free: 14.3 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000168/0.1112, allocations: 184.9 kB / 489.5 MB, free: 14.11 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.68e-05/0.1112, allocations: 29.7 kB / 489.5 MB, free: 14.07 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.116e-05/0.1113, allocations: 139.5 kB / 489.7 MB, free: 13.93 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.939e-05/0.1114, allocations: 27.64 kB / 489.7 MB, free: 13.9 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.255e-05/0.1114, allocations: 17.72 kB / 489.7 MB, free: 13.88 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001056/0.1115, allocations: 326.8 kB / 490 MB, free: 13.55 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001395/0.1117, allocations: 47.95 kB / 490.1 MB, free: 13.5 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001783/0.1118, allocations: 106.8 kB / 490.2 MB, free: 13.38 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003062/0.1122, allocations: 162.7 kB / 490.3 MB, free: 13.19 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.1122, allocations: 3.938 kB / 490.3 MB, free: 13.19 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003886/0.1126, allocations: 201.3 kB / 490.5 MB, free: 12.98 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/0.1126, allocations: 7.938 kB / 490.6 MB, free: 12.98 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.76e-06/0.1126, allocations: 4.219 kB / 490.6 MB, free: 12.97 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.1126, allocations: 8 kB / 490.6 MB, free: 12.96 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008545/0.1135, allocations: 103.9 kB / 490.7 MB, free: 12.86 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001129/0.1146, allocations: 1.816 MB / 492.5 MB, free: 10.98 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001461/0.1148, allocations: 24.11 kB / 492.5 MB, free: 10.95 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.761e-05/0.1148, allocations: 15.94 kB / 492.5 MB, free: 10.94 MB / 366.1 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 (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001253/0.1149, allocations: 142.3 kB / 492.7 MB, free: 10.79 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.562e-05/0.115, allocations: 15.75 kB / 492.7 MB, free: 10.77 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004691/0.1155, allocations: 186.9 kB / 492.9 MB, free: 10.59 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.1155, allocations: 8 kB / 492.9 MB, free: 10.58 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.1155, allocations: 0 / 492.9 MB, free: 10.58 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.1155, allocations: 0 / 492.9 MB, free: 10.58 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002465/0.1157, allocations: 229.5 kB / 493.1 MB, free: 10.3 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.1158, allocations: 3.938 kB / 493.1 MB, free: 10.3 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006781/0.1164, allocations: 87.89 kB / 493.2 MB, free: 10.21 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.846e-06/0.1165, allocations: 4 kB / 493.2 MB, free: 10.21 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.069e-05/0.1165, allocations: 4 kB / 493.2 MB, free: 10.21 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009107/0.1174, allocations: 1.785 MB / 495 MB, free: 8.352 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.1174, allocations: 0 / 495 MB, free: 8.352 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000362/0.1178, allocations: 247.3 kB / 495.2 MB, free: 8.094 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.433e-05/0.1178, allocations: 96.95 kB / 495.3 MB, free: 7.98 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.297e-05/0.1179, allocations: 0 / 495.3 MB, free: 7.98 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000135/0.118, allocations: 11.98 kB / 495.3 MB, free: 7.969 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.252e-05/0.118, allocations: 15.97 kB / 495.3 MB, free: 7.953 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.654e-06/0.1181, allocations: 0 / 495.3 MB, free: 7.953 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001023/0.1182, allocations: 145.8 kB / 495.5 MB, free: 7.812 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.683e-06/0.1182, allocations: 0 / 495.5 MB, free: 7.812 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002971/0.1185, allocations: 47.84 kB / 495.5 MB, free: 7.766 MB / 366.1 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 (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001679/0.1187, allocations: 115.2 kB / 495.6 MB, free: 7.645 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001152/0.1198, allocations: 220.2 kB / 495.9 MB, free: 7.43 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.1198, allocations: 0 / 495.9 MB, free: 7.43 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006254/0.1205, allocations: 115.8 kB / 496 MB, free: 7.316 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003977/0.1209, allocations: 48.27 kB / 496 MB, free: 7.27 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006078/0.1215, allocations: 431.2 kB / 496.4 MB, free: 6.82 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002705/0.1218, allocations: 0.7436 MB / 497.2 MB, free: 6.051 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.584e-05/0.1218, allocations: 15.44 kB / 497.2 MB, free: 6.035 MB / 366.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1218, allocations: 0 / 497.2 MB, free: 6.035 MB / 366.1 MB Notification: Performance of Templates: time 0.006206/0.128, allocations: 4.407 MB / 0.4898 GB, free: 1.637 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW_res.mat","/var/lib/jenkins1/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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches