Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_3.2.3_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_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001583/0.001583, allocations: 114.5 kB / 17.04 MB, free: 5.801 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001621/0.001621, allocations: 195 kB / 17.97 MB, free: 5.027 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.425/1.425, allocations: 205.1 MB / 223.8 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2065/0.2065, allocations: 43.51 MB / 314.7 MB, free: 492 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003014/0.003014, allocations: 66.11 kB / 384.2 MB, free: 56.36 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1143/0.1173, allocations: 57.79 MB / 442 MB, free: 6.137 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW): time 0.002627/0.12, allocations: 1.648 MB / 443.6 MB, free: 4.473 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001432/0.1214, allocations: 0.916 MB / 444.6 MB, free: 3.547 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.061e-05/0.1215, allocations: 0 / 444.6 MB, free: 3.547 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002435/0.1218, allocations: 35.83 kB / 444.6 MB, free: 3.512 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001768/0.122, allocations: 55.73 kB / 444.6 MB, free: 3.457 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004702/0.1224, allocations: 131.5 kB / 444.8 MB, free: 3.328 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001781/0.1226, allocations: 143.3 kB / 444.9 MB, free: 3.188 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.436e-05/0.1227, allocations: 17.45 kB / 444.9 MB, free: 3.168 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.085e-05/0.1228, allocations: 51.78 kB / 445 MB, free: 3.117 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001149/0.1229, allocations: 75.61 kB / 445.1 MB, free: 3.043 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.834e-05/0.1229, allocations: 4 kB / 445.1 MB, free: 3.039 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003158/0.1232, allocations: 207.6 kB / 445.3 MB, free: 2.836 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.403e-05/0.1233, allocations: 35.91 kB / 445.3 MB, free: 2.801 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.143e-05/0.1234, allocations: 63.59 kB / 445.4 MB, free: 2.738 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003195/0.1237, allocations: 239.2 kB / 445.6 MB, free: 2.504 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.1237, allocations: 3.984 kB / 445.6 MB, free: 2.5 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1237, allocations: 0 / 445.6 MB, free: 2.5 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.594e-06/0.1237, allocations: 4 kB / 445.6 MB, free: 2.496 MB / 318.1 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.000539/0.1243, allocations: 472.1 kB / 446.1 MB, free: 1.988 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/0.1243, allocations: 15.88 kB / 446.1 MB, free: 1.973 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001109/0.1255, allocations: 116.5 kB / 446.2 MB, free: 1.859 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002175/0.1257, allocations: 216.2 kB / 446.4 MB, free: 1.609 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.503e-05/0.1257, allocations: 12.36 kB / 446.4 MB, free: 1.598 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.119e-05/0.1257, allocations: 16.38 kB / 446.4 MB, free: 1.582 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005732/0.1263, allocations: 329.6 kB / 446.8 MB, free: 1.254 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/0.1263, allocations: 0 / 446.8 MB, free: 1.254 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.492e-05/0.1264, allocations: 4 kB / 446.8 MB, free: 1.25 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.291e-05/0.1264, allocations: 19.98 kB / 446.8 MB, free: 1.23 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000692/0.1271, allocations: 319.7 kB / 447.1 MB, free: 0.918 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001345/0.1285, allocations: 0.8333 MB / 447.9 MB, free: 15.99 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000745/0.1292, allocations: 218.3 kB / 448.1 MB, free: 15.77 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002818/0.1295, allocations: 84.81 kB / 448.2 MB, free: 15.69 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.322e-05/0.1296, allocations: 7.984 kB / 448.2 MB, free: 15.68 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.192e-05/0.1296, allocations: 34.64 kB / 448.3 MB, free: 15.64 MB / 334.1 MB Notification: Performance of pre-optimization done (n=10): time 1.322e-06/0.1296, allocations: 7.938 kB / 448.3 MB, free: 15.63 MB / 334.1 MB Notification: Performance of matching and sorting (n=10): time 0.00111/0.1307, allocations: 293.1 kB / 448.6 MB, free: 15.34 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.427e-05/0.1308, allocations: 59.34 kB / 448.6 MB, free: 15.27 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001919/0.131, allocations: 191.2 kB / 448.8 MB, free: 15.07 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.601e-05/0.131, allocations: 25.7 kB / 448.8 MB, free: 15.04 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001073/0.1311, allocations: 143.5 kB / 449 MB, free: 14.89 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.746e-05/0.1312, allocations: 39.55 kB / 449 MB, free: 14.86 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.819e-05/0.1313, allocations: 53.58 kB / 449.1 MB, free: 14.8 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001237/0.1314, allocations: 326.8 kB / 449.4 MB, free: 14.47 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002899/0.1317, allocations: 75.91 kB / 449.4 MB, free: 14.39 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003179/0.132, allocations: 142.8 kB / 449.6 MB, free: 14.23 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005993/0.1326, allocations: 218.6 kB / 449.8 MB, free: 13.99 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.1326, allocations: 0 / 449.8 MB, free: 13.99 MB / 334.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0007761/0.1334, allocations: 269.2 kB / 450.1 MB, free: 13.72 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.08e-05/0.1335, allocations: 9 kB / 450.1 MB, free: 13.71 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.1335, allocations: 4 kB / 450.1 MB, free: 13.71 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.96e-05/0.1335, allocations: 7.938 kB / 450.1 MB, free: 13.7 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004666/0.134, allocations: 79.86 kB / 450.2 MB, free: 13.62 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001114/0.1351, allocations: 1.786 MB / 451.9 MB, free: 11.77 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002298/0.1353, allocations: 23.75 kB / 452 MB, free: 11.75 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.808e-05/0.1354, allocations: 15.97 kB / 452 MB, free: 11.73 MB / 334.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 (17): * Single equations (assignments): 14 * 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.0001589/0.1355, allocations: 149.6 kB / 452.1 MB, free: 11.57 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.304e-05/0.1356, allocations: 15.84 kB / 452.2 MB, free: 11.56 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007795/0.1364, allocations: 270.7 kB / 452.4 MB, free: 11.29 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.1364, allocations: 4 kB / 452.4 MB, free: 11.29 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.1364, allocations: 0 / 452.4 MB, free: 11.29 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.1364, allocations: 3.984 kB / 452.4 MB, free: 11.28 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003157/0.1368, allocations: 249.5 kB / 452.7 MB, free: 10.99 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.1368, allocations: 8 kB / 452.7 MB, free: 10.98 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003629/0.1371, allocations: 67.92 kB / 452.7 MB, free: 10.91 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.181e-06/0.1372, allocations: 3.938 kB / 452.7 MB, free: 10.91 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.623e-05/0.1372, allocations: 11.98 kB / 452.8 MB, free: 10.9 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009694/0.1382, allocations: 1.785 MB / 454.5 MB, free: 9.043 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.1382, allocations: 0 / 454.5 MB, free: 9.043 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007284/0.1389, allocations: 311.4 kB / 454.8 MB, free: 8.723 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.904e-05/0.139, allocations: 96.86 kB / 454.9 MB, free: 8.609 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.356e-05/0.139, allocations: 0 / 454.9 MB, free: 8.609 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002082/0.1392, allocations: 15.98 kB / 455 MB, free: 8.594 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.814e-05/0.1393, allocations: 11.97 kB / 455 MB, free: 8.582 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.512e-05/0.1393, allocations: 11.98 kB / 455 MB, free: 8.57 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001499/0.1395, allocations: 135.9 kB / 455.1 MB, free: 8.438 MB / 334.1 MB Notification: Performance of sort global known variables: time 2e-07/0.1395, allocations: 0 / 455.1 MB, free: 8.438 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003823/0.1399, allocations: 59.94 kB / 455.2 MB, free: 8.379 MB / 334.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 (10): * Single equations (assignments): 7 * 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.0002648/0.1402, allocations: 131.3 kB / 455.3 MB, free: 8.238 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0008861/0.1411, allocations: 240.1 kB / 455.5 MB, free: 8.004 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.1411, allocations: 0 / 455.5 MB, free: 8.004 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004655/0.1415, allocations: 139.7 kB / 455.7 MB, free: 7.867 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002869/0.1418, allocations: 13.97 kB / 455.7 MB, free: 7.855 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008097/0.1427, allocations: 380 kB / 456.1 MB, free: 7.469 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003393/0.143, allocations: 0.7358 MB / 456.8 MB, free: 6.707 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002855/0.1433, allocations: 69.39 kB / 456.9 MB, free: 6.641 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.437e-05/0.1434, allocations: 23.41 kB / 456.9 MB, free: 6.617 MB / 334.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1434, allocations: 0 / 456.9 MB, free: 6.617 MB / 334.1 MB Notification: Performance of Templates: time 0.00692/0.1503, allocations: 2.803 MB / 459.7 MB, free: 3.84 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/General/dp_volumeFlowRate_DPMFLOW/dp_volumeFlowRate_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches