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.001481/0.001481, allocations: 114.7 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00171/0.001711, allocations: 200.6 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.277/1.277, allocations: 227.4 MB / 247.5 MB, free: 10.36 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1962/0.1962, allocations: 46.11 MB / 344.9 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001296/0.001296, allocations: 71.89 kB / 419 MB, free: 18.97 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.106/0.1073, allocations: 62.45 MB / 481.5 MB, free: 4.488 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW): time 0.002757/0.1101, allocations: 1.65 MB / 483.1 MB, free: 2.828 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001417/0.1115, allocations: 0.923 MB / 484.1 MB, free: 1.898 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.651e-05/0.1116, allocations: 3.938 kB / 484.1 MB, free: 1.895 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001938/0.1118, allocations: 27.83 kB / 484.1 MB, free: 1.867 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001466/0.1119, allocations: 47.75 kB / 484.1 MB, free: 1.82 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003982/0.1123, allocations: 127.5 kB / 484.3 MB, free: 1.695 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001741/0.1125, allocations: 147.3 kB / 484.4 MB, free: 1.551 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.718e-05/0.1126, allocations: 17.44 kB / 484.4 MB, free: 1.531 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.536e-05/0.1127, allocations: 63.7 kB / 484.5 MB, free: 1.469 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001099/0.1128, allocations: 63.69 kB / 484.5 MB, free: 1.406 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.814e-05/0.1128, allocations: 4 kB / 484.5 MB, free: 1.402 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003373/0.1131, allocations: 211.6 kB / 484.8 MB, free: 1.195 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.494e-05/0.1132, allocations: 43.83 kB / 484.8 MB, free: 1.152 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.379e-05/0.1133, allocations: 59.61 kB / 484.9 MB, free: 1.094 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003379/0.1136, allocations: 243.2 kB / 485.1 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.1136, allocations: 0 / 485.1 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1136, allocations: 0 / 485.1 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.03e-06/0.1137, allocations: 0 / 485.1 MB, free: 0.8555 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.0006428/0.1143, allocations: 466.9 kB / 485.5 MB, free: 360 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.416e-05/0.1143, allocations: 8.031 kB / 485.6 MB, free: 352 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001092/0.1154, allocations: 120.5 kB / 485.7 MB, free: 232 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002686/0.1157, allocations: 240 kB / 485.9 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.331e-05/0.1157, allocations: 8.375 kB / 485.9 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.398e-05/0.1158, allocations: 12.38 kB / 485.9 MB, free: 15.93 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006293/0.1164, allocations: 318.7 kB / 486.2 MB, free: 15.62 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.1164, allocations: 0 / 486.2 MB, free: 15.62 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.34e-05/0.1165, allocations: 4 kB / 486.2 MB, free: 15.61 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.389e-05/0.1165, allocations: 23.98 kB / 486.3 MB, free: 15.59 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007806/0.1173, allocations: 323.7 kB / 486.6 MB, free: 15.27 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001413/0.1187, allocations: 0.8219 MB / 487.4 MB, free: 14.36 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007201/0.1195, allocations: 214.3 kB / 487.6 MB, free: 14.14 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002853/0.1197, allocations: 88.81 kB / 487.7 MB, free: 14.05 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.788e-05/0.1198, allocations: 7.922 kB / 487.7 MB, free: 14.04 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.791e-05/0.1198, allocations: 38.66 kB / 487.7 MB, free: 14 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.312e-06/0.1198, allocations: 3.938 kB / 487.7 MB, free: 13.99 MB / 366.1 MB Notification: Performance of matching and sorting (n=10): time 0.001004/0.1208, allocations: 285.2 kB / 488 MB, free: 13.71 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.962e-05/0.1209, allocations: 59.34 kB / 488.1 MB, free: 13.64 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001749/0.1211, allocations: 191.3 kB / 488.3 MB, free: 13.44 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.487e-05/0.1211, allocations: 29.7 kB / 488.3 MB, free: 13.4 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.21e-05/0.1212, allocations: 139.5 kB / 488.4 MB, free: 13.26 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.66e-05/0.1212, allocations: 35.41 kB / 488.5 MB, free: 13.23 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.233e-05/0.1213, allocations: 57.61 kB / 488.5 MB, free: 13.16 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001031/0.1214, allocations: 322.8 kB / 488.8 MB, free: 12.84 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002814/0.1217, allocations: 83.89 kB / 488.9 MB, free: 12.76 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000316/0.1221, allocations: 137.3 kB / 489.1 MB, free: 12.6 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005835/0.1227, allocations: 222.6 kB / 489.3 MB, free: 12.36 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.1227, allocations: 4 kB / 489.3 MB, free: 12.36 MB / 366.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0007238/0.1234, allocations: 269.1 kB / 489.5 MB, free: 12.09 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.144e-05/0.1234, allocations: 4 kB / 489.5 MB, free: 12.08 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.1235, allocations: 4.469 kB / 489.6 MB, free: 12.08 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/0.1235, allocations: 7.922 kB / 489.6 MB, free: 12.07 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004417/0.1239, allocations: 83.88 kB / 489.6 MB, free: 11.99 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009077/0.1248, allocations: 1.785 MB / 491.4 MB, free: 10.13 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002122/0.1251, allocations: 19.83 kB / 491.4 MB, free: 10.11 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.154e-05/0.1251, allocations: 24.19 kB / 491.5 MB, free: 10.09 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.0001303/0.1252, allocations: 145.8 kB / 491.6 MB, free: 9.938 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.615e-05/0.1253, allocations: 23.73 kB / 491.6 MB, free: 9.914 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007825/0.1261, allocations: 258.7 kB / 491.9 MB, free: 9.656 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.1261, allocations: 0 / 491.9 MB, free: 9.656 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.628e-06/0.1261, allocations: 4 kB / 491.9 MB, free: 9.652 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.1261, allocations: 3.984 kB / 491.9 MB, free: 9.648 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003092/0.1264, allocations: 261.5 kB / 492.2 MB, free: 9.344 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.1265, allocations: 0 / 492.2 MB, free: 9.344 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003626/0.1268, allocations: 63.94 kB / 492.2 MB, free: 9.281 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.149e-06/0.1268, allocations: 7.922 kB / 492.2 MB, free: 9.273 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.44e-05/0.1269, allocations: 7.984 kB / 492.2 MB, free: 9.266 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000872/0.1277, allocations: 1.789 MB / 494 MB, free: 7.406 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.1278, allocations: 0 / 494 MB, free: 7.406 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006925/0.1285, allocations: 315.4 kB / 494.3 MB, free: 7.082 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.163e-05/0.1285, allocations: 96.95 kB / 494.4 MB, free: 6.969 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.373e-05/0.1286, allocations: 0 / 494.4 MB, free: 6.969 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002066/0.1288, allocations: 7.984 kB / 494.4 MB, free: 6.961 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.424e-05/0.1288, allocations: 15.97 kB / 494.4 MB, free: 6.945 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.448e-05/0.1289, allocations: 11.98 kB / 494.5 MB, free: 6.934 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001029/0.129, allocations: 143.9 kB / 494.6 MB, free: 6.793 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.129, allocations: 0 / 494.6 MB, free: 6.793 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.00036/0.1294, allocations: 68.02 kB / 494.7 MB, free: 6.727 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.0002146/0.1296, allocations: 119.2 kB / 494.8 MB, free: 6.602 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008239/0.1304, allocations: 239.6 kB / 495 MB, free: 6.367 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.1304, allocations: 0 / 495 MB, free: 6.367 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004637/0.1309, allocations: 131.8 kB / 495.1 MB, free: 6.238 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002908/0.1312, allocations: 16.38 kB / 495.2 MB, free: 6.223 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008037/0.132, allocations: 374.1 kB / 495.5 MB, free: 5.832 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003078/0.1323, allocations: 0.7358 MB / 496.3 MB, free: 5.07 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001737/0.1325, allocations: 65.42 kB / 496.3 MB, free: 5.008 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.464e-05/0.1326, allocations: 39.33 kB / 496.4 MB, free: 4.969 MB / 366.1 MB Notification: Performance of SimCode: time 1.543e-06/0.1326, allocations: 0 / 496.4 MB, free: 4.969 MB / 366.1 MB Notification: Performance of Templates: time 0.005749/0.1384, allocations: 2.811 MB / 499.2 MB, free: 2.195 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 -s gbode -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