Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_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_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_trunk_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_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001591/0.001591, allocations: 113.4 kB / 17.99 MB, free: 5.234 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001791/0.001791, allocations: 217.7 kB / 18.92 MB, free: 4.301 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.44/1.44, allocations: 227.4 MB / 247.1 MB, free: 10.67 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2293/0.2293, allocations: 46.12 MB / 344.5 MB, free: 11.72 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002216/0.002216, allocations: 85.38 kB / 417.8 MB, free: 20.04 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1109/0.1132, allocations: 62.45 MB / 480.2 MB, free: 5.57 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW): time 0.003203/0.1164, allocations: 1.727 MB / 482 MB, free: 3.828 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001599/0.118, allocations: 0.8997 MB / 482.9 MB, free: 2.922 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.397e-05/0.1181, allocations: 0 / 482.9 MB, free: 2.922 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002115/0.1183, allocations: 31.84 kB / 482.9 MB, free: 2.891 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001713/0.1185, allocations: 39.81 kB / 482.9 MB, free: 2.852 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000429/0.119, allocations: 127 kB / 483.1 MB, free: 2.73 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002044/0.1192, allocations: 143.3 kB / 483.2 MB, free: 2.59 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.431e-05/0.1192, allocations: 13.44 kB / 483.2 MB, free: 2.578 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001026/0.1194, allocations: 63.7 kB / 483.3 MB, free: 2.516 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001244/0.1195, allocations: 67.69 kB / 483.3 MB, free: 2.449 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.19e-05/0.1195, allocations: 8 kB / 483.4 MB, free: 2.441 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003684/0.1199, allocations: 211.6 kB / 483.6 MB, free: 2.234 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.241e-05/0.12, allocations: 47.84 kB / 483.6 MB, free: 2.188 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.731e-05/0.1201, allocations: 59.55 kB / 483.7 MB, free: 2.129 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002814/0.1203, allocations: 163.9 kB / 483.8 MB, free: 1.969 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.1204, allocations: 0 / 483.8 MB, free: 1.969 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.1204, allocations: 0 / 483.8 MB, free: 1.969 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.15e-06/0.1204, allocations: 0 / 483.8 MB, free: 1.969 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0006974/0.1211, allocations: 473.4 kB / 484.3 MB, free: 1.461 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.683e-05/0.1211, allocations: 12.03 kB / 484.3 MB, free: 1.449 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001279/0.1224, allocations: 120.5 kB / 484.4 MB, free: 1.332 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002875/0.1227, allocations: 228 kB / 484.6 MB, free: 1.07 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.861e-05/0.1227, allocations: 8.375 kB / 484.6 MB, free: 1.062 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.76e-05/0.1228, allocations: 12.38 kB / 484.7 MB, free: 1.051 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007339/0.1235, allocations: 322.7 kB / 485 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/0.1235, allocations: 0 / 485 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.929e-05/0.1236, allocations: 4 kB / 485 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.806e-05/0.1236, allocations: 19.98 kB / 485 MB, free: 0.707 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008503/0.1245, allocations: 323.7 kB / 485.3 MB, free: 400 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001703/0.1262, allocations: 0.8297 MB / 486.1 MB, free: 15.47 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007873/0.127, allocations: 226.3 kB / 486.4 MB, free: 15.24 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000304/0.1273, allocations: 84.81 kB / 486.4 MB, free: 15.15 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.952e-05/0.1273, allocations: 0 / 486.4 MB, free: 15.15 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.101e-05/0.1274, allocations: 30.56 kB / 486.5 MB, free: 15.11 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.142e-06/0.1274, allocations: 4 kB / 486.5 MB, free: 15.11 MB / 366.1 MB Notification: Performance of matching and sorting (n=10): time 0.00112/0.1285, allocations: 297.3 kB / 486.8 MB, free: 14.81 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.757e-05/0.1286, allocations: 55.41 kB / 486.8 MB, free: 14.75 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002003/0.1288, allocations: 181 kB / 487 MB, free: 14.56 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.287e-05/0.1288, allocations: 29.7 kB / 487 MB, free: 14.52 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.478e-05/0.1289, allocations: 135.5 kB / 487.2 MB, free: 14.39 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.622e-05/0.129, allocations: 43.39 kB / 487.2 MB, free: 14.34 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.984e-05/0.1291, allocations: 53.67 kB / 487.3 MB, free: 14.29 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001574/0.1293, allocations: 322.8 kB / 487.6 MB, free: 13.96 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003186/0.1296, allocations: 87.89 kB / 487.7 MB, free: 13.88 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003579/0.13, allocations: 137.2 kB / 487.8 MB, free: 13.72 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006877/0.1306, allocations: 230.9 kB / 488 MB, free: 13.47 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.1307, allocations: 0 / 488 MB, free: 13.47 MB / 366.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0008293/0.1315, allocations: 265.1 kB / 488.3 MB, free: 13.2 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.1315, allocations: 8 kB / 488.3 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.1315, allocations: 0 / 488.3 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.723e-05/0.1316, allocations: 8.156 kB / 488.3 MB, free: 13.19 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004831/0.1321, allocations: 83.92 kB / 488.4 MB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001209/0.1333, allocations: 1.785 MB / 490.2 MB, free: 11.25 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002473/0.1335, allocations: 27.86 kB / 490.2 MB, free: 11.22 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.295e-05/0.1336, allocations: 19.92 kB / 490.2 MB, free: 11.2 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 (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.0001666/0.1337, allocations: 142.3 kB / 490.3 MB, free: 11.05 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.502e-05/0.1338, allocations: 15.75 kB / 490.4 MB, free: 11.04 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008774/0.1347, allocations: 262.9 kB / 490.6 MB, free: 10.78 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/0.1347, allocations: 4 kB / 490.6 MB, free: 10.77 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.1347, allocations: 0 / 490.6 MB, free: 10.77 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.1347, allocations: 3.938 kB / 490.6 MB, free: 10.77 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003458/0.1351, allocations: 257.5 kB / 490.9 MB, free: 10.47 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.1351, allocations: 0 / 490.9 MB, free: 10.47 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003863/0.1355, allocations: 71.94 kB / 490.9 MB, free: 10.4 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.243e-06/0.1355, allocations: 4.031 kB / 491 MB, free: 10.39 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.428e-05/0.1355, allocations: 15.91 kB / 491 MB, free: 10.38 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001121/0.1367, allocations: 1.782 MB / 492.7 MB, free: 8.527 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.1367, allocations: 0 / 492.7 MB, free: 8.527 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007849/0.1375, allocations: 319 kB / 493.1 MB, free: 8.199 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.405e-05/0.1376, allocations: 89 kB / 493.1 MB, free: 8.094 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.041e-05/0.1376, allocations: 12.08 kB / 493.2 MB, free: 8.082 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002184/0.1378, allocations: 7.984 kB / 493.2 MB, free: 8.074 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.801e-05/0.1379, allocations: 11.97 kB / 493.2 MB, free: 8.062 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.614e-05/0.1379, allocations: 11.98 kB / 493.2 MB, free: 8.051 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001352/0.1381, allocations: 141.8 kB / 493.3 MB, free: 7.914 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1381, allocations: 0 / 493.3 MB, free: 7.914 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003905/0.1385, allocations: 59.84 kB / 493.4 MB, free: 7.855 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 (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.0002548/0.1387, allocations: 131.1 kB / 493.5 MB, free: 7.719 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009204/0.1397, allocations: 244.1 kB / 493.8 MB, free: 7.48 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.1397, allocations: 8 kB / 493.8 MB, free: 7.473 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004913/0.1402, allocations: 127.8 kB / 493.9 MB, free: 7.348 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002889/0.1405, allocations: 15.94 kB / 493.9 MB, free: 7.332 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009003/0.1414, allocations: 454.7 kB / 494.3 MB, free: 6.859 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000409/0.1418, allocations: 0.7397 MB / 495.1 MB, free: 6.094 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001371/0.142, allocations: 35.39 kB / 495.1 MB, free: 6.059 MB / 366.1 MB Notification: Performance of SimCode: time 2.21e-07/0.142, allocations: 0 / 495.1 MB, free: 6.059 MB / 366.1 MB Notification: Performance of Templates: time 0.008276/0.1503, allocations: 4.908 MB / 0.4883 GB, free: 1.145 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_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_volumeFlowRate_DPMFLOW/dp_volumeFlowRate_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches