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.001291/0.001291, allocations: 104.9 kB / 17.21 MB, free: 6.27 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001284/0.001284, allocations: 213.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.404/1.404, allocations: 227.4 MB / 246.3 MB, free: 9.137 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2343/0.2343, allocations: 46.11 MB / 343.6 MB, free: 11.58 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00133/0.00133, allocations: 73.25 kB / 416.9 MB, free: 20.13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1305/0.1319, allocations: 62.45 MB / 479.3 MB, free: 5.676 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW): time 0.003345/0.1353, allocations: 1.723 MB / 481 MB, free: 3.938 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001905/0.1372, allocations: 0.9192 MB / 482 MB, free: 3.012 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.042e-05/0.1373, allocations: 0 / 482 MB, free: 3.012 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002204/0.1375, allocations: 35.83 kB / 482 MB, free: 2.977 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001836/0.1377, allocations: 43.8 kB / 482 MB, free: 2.934 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000361/0.1381, allocations: 119.7 kB / 482.2 MB, free: 2.816 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002456/0.1384, allocations: 187.2 kB / 482.3 MB, free: 2.633 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.405e-05/0.1384, allocations: 9.453 kB / 482.4 MB, free: 2.625 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.893e-05/0.1385, allocations: 51.78 kB / 482.4 MB, free: 2.574 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000125/0.1386, allocations: 75.67 kB / 482.5 MB, free: 2.5 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.93e-05/0.1387, allocations: 4 kB / 482.5 MB, free: 2.496 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003555/0.139, allocations: 203.6 kB / 482.7 MB, free: 2.297 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.747e-05/0.1391, allocations: 43.77 kB / 482.7 MB, free: 2.254 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.272e-05/0.1392, allocations: 59.61 kB / 482.8 MB, free: 2.195 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003681/0.1396, allocations: 235.5 kB / 483 MB, free: 1.965 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.125e-06/0.1396, allocations: 0 / 483 MB, free: 1.965 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.22e-07/0.1396, allocations: 3.938 kB / 483 MB, free: 1.961 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.532e-06/0.1396, allocations: 0 / 483 MB, free: 1.961 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.0006451/0.1403, allocations: 471 kB / 483.5 MB, free: 1.453 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.589e-05/0.1403, allocations: 8.875 kB / 483.5 MB, free: 1.445 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001221/0.1415, allocations: 116.5 kB / 483.6 MB, free: 1.332 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002767/0.1418, allocations: 228 kB / 483.8 MB, free: 1.07 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.196e-05/0.1419, allocations: 8.375 kB / 483.8 MB, free: 1.062 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.97e-05/0.1419, allocations: 16.38 kB / 483.8 MB, free: 1.047 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007024/0.1426, allocations: 330.7 kB / 484.2 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.1426, allocations: 0 / 484.2 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.997e-05/0.1427, allocations: 4 kB / 484.2 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.474e-05/0.1427, allocations: 23.92 kB / 484.2 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007794/0.1435, allocations: 323.6 kB / 484.5 MB, free: 384 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001514/0.145, allocations: 0.83 MB / 485.3 MB, free: 15.45 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007561/0.1458, allocations: 218.3 kB / 485.6 MB, free: 15.23 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002897/0.1461, allocations: 88.81 kB / 485.6 MB, free: 15.14 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.734e-05/0.1461, allocations: 3.938 kB / 485.6 MB, free: 15.13 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.825e-05/0.1462, allocations: 38.56 kB / 485.7 MB, free: 15.09 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.283e-06/0.1462, allocations: 0 / 485.7 MB, free: 15.09 MB / 366.1 MB Notification: Performance of matching and sorting (n=10): time 0.001057/0.1472, allocations: 293.3 kB / 486 MB, free: 14.79 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.967e-05/0.1473, allocations: 51.41 kB / 486 MB, free: 14.73 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001701/0.1474, allocations: 189 kB / 486.2 MB, free: 14.54 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.366e-05/0.1475, allocations: 25.7 kB / 486.2 MB, free: 14.5 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.621e-05/0.1476, allocations: 143.5 kB / 486.4 MB, free: 14.36 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.794e-05/0.1476, allocations: 43.39 kB / 486.4 MB, free: 14.32 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.757e-05/0.1477, allocations: 49.67 kB / 486.5 MB, free: 14.26 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001117/0.1478, allocations: 322.8 kB / 486.8 MB, free: 13.94 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002978/0.1481, allocations: 83.91 kB / 486.9 MB, free: 13.86 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003365/0.1485, allocations: 145.4 kB / 487 MB, free: 13.69 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006186/0.1491, allocations: 219 kB / 487.2 MB, free: 13.45 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.1491, allocations: 3.938 kB / 487.2 MB, free: 13.45 MB / 366.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0007718/0.1499, allocations: 273.2 kB / 487.5 MB, free: 13.18 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.1499, allocations: 8 kB / 487.5 MB, free: 13.17 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.1499, allocations: 0 / 487.5 MB, free: 13.17 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.15, allocations: 7.938 kB / 487.5 MB, free: 13.16 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004641/0.1504, allocations: 83.86 kB / 487.6 MB, free: 13.08 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009711/0.1514, allocations: 1.789 MB / 489.4 MB, free: 11.22 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002304/0.1516, allocations: 15.88 kB / 489.4 MB, free: 11.2 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.526e-05/0.1517, allocations: 19.97 kB / 489.4 MB, free: 11.18 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.0001526/0.1519, allocations: 150.5 kB / 489.5 MB, free: 11.03 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.527e-05/0.1519, allocations: 15.75 kB / 489.6 MB, free: 11.01 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008211/0.1527, allocations: 262.8 kB / 489.8 MB, free: 10.75 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.1528, allocations: 0 / 489.8 MB, free: 10.75 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.1528, allocations: 4 kB / 489.8 MB, free: 10.75 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.87e-06/0.1528, allocations: 3.984 kB / 489.8 MB, free: 10.74 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002786/0.1531, allocations: 257.5 kB / 490.1 MB, free: 10.44 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.1531, allocations: 0 / 490.1 MB, free: 10.44 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003763/0.1535, allocations: 67.92 kB / 490.1 MB, free: 10.38 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.34e-06/0.1535, allocations: 3.938 kB / 490.2 MB, free: 10.37 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.438e-05/0.1535, allocations: 15.92 kB / 490.2 MB, free: 10.36 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007706/0.1543, allocations: 1.781 MB / 491.9 MB, free: 8.504 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.1543, allocations: 4.031 kB / 492 MB, free: 8.5 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007205/0.155, allocations: 319.4 kB / 492.3 MB, free: 8.172 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.746e-05/0.1551, allocations: 88.92 kB / 492.4 MB, free: 8.066 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.933e-05/0.1551, allocations: 4 kB / 492.4 MB, free: 8.062 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002259/0.1553, allocations: 7.984 kB / 492.4 MB, free: 8.055 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.338e-05/0.1554, allocations: 15.97 kB / 492.4 MB, free: 8.039 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.211e-05/0.1554, allocations: 7.984 kB / 492.4 MB, free: 8.031 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001083/0.1556, allocations: 145.8 kB / 492.5 MB, free: 7.891 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1556, allocations: 4 kB / 492.5 MB, free: 7.887 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003645/0.1559, allocations: 59.84 kB / 492.6 MB, free: 7.828 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.000227/0.1562, allocations: 127.1 kB / 492.7 MB, free: 7.695 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00086/0.157, allocations: 243.6 kB / 493 MB, free: 7.457 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.1571, allocations: 0 / 493 MB, free: 7.457 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004775/0.1575, allocations: 127.9 kB / 493.1 MB, free: 7.332 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003167/0.1579, allocations: 7.938 kB / 493.1 MB, free: 7.324 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007691/0.1586, allocations: 433 kB / 493.5 MB, free: 6.883 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003095/0.159, allocations: 0.7397 MB / 494.2 MB, free: 6.117 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002287/0.1592, allocations: 69.44 kB / 494.3 MB, free: 6.051 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.021e-05/0.1593, allocations: 27.41 kB / 494.3 MB, free: 6.023 MB / 366.1 MB Notification: Performance of SimCode: time 4.6e-07/0.1593, allocations: 0 / 494.3 MB, free: 6.023 MB / 366.1 MB Notification: Performance of Templates: time 0.005625/0.1649, allocations: 2.658 MB / 497 MB, free: 3.395 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/jenkins/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/jenkins/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