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.001184/0.001184, allocations: 109.8 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001255/0.001255, allocations: 211.9 kB / 19.25 MB, free: 3.895 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.327/1.327, allocations: 227.4 MB / 247.4 MB, free: 10.58 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.209/0.209, allocations: 46.1 MB / 344.8 MB, free: 11.59 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001556/0.001556, allocations: 78.16 kB / 418.3 MB, free: 19.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1047/0.1063, allocations: 62.44 MB / 480.7 MB, free: 5.262 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW): time 0.003129/0.1094, allocations: 1.659 MB / 482.4 MB, free: 3.59 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001514/0.111, allocations: 0.9074 MB / 483.3 MB, free: 2.676 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.279e-05/0.1111, allocations: 7.938 kB / 483.3 MB, free: 2.668 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002219/0.1113, allocations: 35.83 kB / 483.3 MB, free: 2.633 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001768/0.1115, allocations: 43.77 kB / 483.4 MB, free: 2.59 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004855/0.112, allocations: 138.9 kB / 483.5 MB, free: 2.457 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001807/0.1122, allocations: 143.3 kB / 483.6 MB, free: 2.316 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.801e-05/0.1123, allocations: 17.45 kB / 483.7 MB, free: 2.301 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.51e-05/0.1124, allocations: 51.77 kB / 483.7 MB, free: 2.25 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001177/0.1125, allocations: 71.62 kB / 483.8 MB, free: 2.18 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.975e-05/0.1125, allocations: 4 kB / 483.8 MB, free: 2.176 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003913/0.1129, allocations: 215.6 kB / 484 MB, free: 1.965 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.089e-05/0.113, allocations: 39.77 kB / 484 MB, free: 1.926 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.486e-05/0.1131, allocations: 59.62 kB / 484.1 MB, free: 1.867 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003711/0.1134, allocations: 239.5 kB / 484.3 MB, free: 1.633 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.1135, allocations: 0 / 484.3 MB, free: 1.633 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.1135, allocations: 0 / 484.3 MB, free: 1.633 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.02e-05/0.1135, allocations: 4 kB / 484.3 MB, free: 1.629 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.0006408/0.1141, allocations: 474.9 kB / 484.8 MB, free: 1.117 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.56e-05/0.1142, allocations: 12.03 kB / 484.8 MB, free: 1.105 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001191/0.1154, allocations: 116.5 kB / 484.9 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002397/0.1156, allocations: 220 kB / 485.1 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.408e-05/0.1156, allocations: 8.375 kB / 485.1 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.618e-05/0.1157, allocations: 16.38 kB / 485.2 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006746/0.1164, allocations: 326.7 kB / 485.5 MB, free: 400 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.1164, allocations: 0 / 485.5 MB, free: 400 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.937e-05/0.1164, allocations: 4 kB / 485.5 MB, free: 396 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.687e-05/0.1165, allocations: 19.98 kB / 485.5 MB, free: 376 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007777/0.1173, allocations: 323.7 kB / 485.8 MB, free: 52 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001463/0.1187, allocations: 0.8298 MB / 486.7 MB, free: 15.13 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007229/0.1195, allocations: 226.2 kB / 486.9 MB, free: 14.9 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002808/0.1198, allocations: 84.81 kB / 487 MB, free: 14.81 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.623e-05/0.1198, allocations: 4 kB / 487 MB, free: 14.81 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.388e-05/0.1198, allocations: 30.56 kB / 487 MB, free: 14.77 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.483e-06/0.1198, allocations: 0 / 487 MB, free: 14.77 MB / 366.1 MB Notification: Performance of matching and sorting (n=10): time 0.001054/0.1209, allocations: 301.2 kB / 487.3 MB, free: 14.47 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.1e-05/0.1209, allocations: 51.41 kB / 487.3 MB, free: 14.41 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001684/0.1211, allocations: 187.3 kB / 487.5 MB, free: 14.21 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.409e-05/0.1211, allocations: 33.7 kB / 487.6 MB, free: 14.17 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.382e-05/0.1212, allocations: 139.5 kB / 487.7 MB, free: 14.03 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.062e-05/0.1213, allocations: 43.34 kB / 487.7 MB, free: 13.99 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.575e-05/0.1214, allocations: 45.67 kB / 487.8 MB, free: 13.94 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001106/0.1215, allocations: 326.8 kB / 488.1 MB, free: 13.61 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002958/0.1218, allocations: 83.89 kB / 488.2 MB, free: 13.53 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003269/0.1221, allocations: 145.4 kB / 488.3 MB, free: 13.36 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006055/0.1227, allocations: 222.6 kB / 488.5 MB, free: 13.12 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.1228, allocations: 0 / 488.5 MB, free: 13.12 MB / 366.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0007501/0.1235, allocations: 269.1 kB / 488.8 MB, free: 12.85 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.02e-05/0.1236, allocations: 8 kB / 488.8 MB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.1236, allocations: 0 / 488.8 MB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.804e-05/0.1236, allocations: 11.92 kB / 488.8 MB, free: 12.83 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004439/0.124, allocations: 75.88 kB / 488.9 MB, free: 12.76 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000924/0.125, allocations: 1.786 MB / 490.7 MB, free: 10.9 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002239/0.1252, allocations: 23.86 kB / 490.7 MB, free: 10.88 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.741e-05/0.1252, allocations: 15.98 kB / 490.7 MB, free: 10.86 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.0001505/0.1254, allocations: 145.9 kB / 490.9 MB, free: 10.71 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.933e-05/0.1255, allocations: 24.2 kB / 490.9 MB, free: 10.69 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008318/0.1263, allocations: 262.6 kB / 491.1 MB, free: 10.43 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.828e-06/0.1263, allocations: 4 kB / 491.1 MB, free: 10.42 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.1263, allocations: 0 / 491.1 MB, free: 10.42 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.1263, allocations: 0 / 491.1 MB, free: 10.42 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003069/0.1267, allocations: 257.5 kB / 491.4 MB, free: 10.12 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.1267, allocations: 0 / 491.4 MB, free: 10.12 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003612/0.127, allocations: 63.94 kB / 491.5 MB, free: 10.06 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.135e-06/0.127, allocations: 7.922 kB / 491.5 MB, free: 10.05 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.269e-05/0.1271, allocations: 11.98 kB / 491.5 MB, free: 10.04 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008331/0.1279, allocations: 1.777 MB / 493.3 MB, free: 8.191 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.1279, allocations: 8.016 kB / 493.3 MB, free: 8.184 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007409/0.1287, allocations: 319.3 kB / 493.6 MB, free: 7.855 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.373e-05/0.1287, allocations: 85.02 kB / 493.7 MB, free: 7.754 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.118e-05/0.1288, allocations: 4 kB / 493.7 MB, free: 7.75 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000211/0.129, allocations: 11.98 kB / 493.7 MB, free: 7.738 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.695e-05/0.1291, allocations: 11.97 kB / 493.7 MB, free: 7.727 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.375e-05/0.1291, allocations: 19.92 kB / 493.7 MB, free: 7.707 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000106/0.1292, allocations: 139.9 kB / 493.8 MB, free: 7.57 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1292, allocations: 4 kB / 493.8 MB, free: 7.566 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003686/0.1296, allocations: 59.83 kB / 493.9 MB, free: 7.508 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.0002431/0.1299, allocations: 127.2 kB / 494 MB, free: 7.375 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008747/0.1307, allocations: 251.8 kB / 494.3 MB, free: 7.129 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.1308, allocations: 0 / 494.3 MB, free: 7.129 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000469/0.1312, allocations: 131.8 kB / 494.4 MB, free: 7 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002905/0.1315, allocations: 11.94 kB / 494.4 MB, free: 6.988 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008035/0.1323, allocations: 410.1 kB / 494.8 MB, free: 6.562 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002875/0.1326, allocations: 0.7397 MB / 495.6 MB, free: 5.797 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000114/0.1328, allocations: 39.39 kB / 495.6 MB, free: 5.758 MB / 366.1 MB Notification: Performance of SimCode: time 1.723e-06/0.1328, allocations: 0 / 495.6 MB, free: 5.758 MB / 366.1 MB Notification: Performance of Templates: time 0.007366/0.1402, allocations: 4.907 MB / 0.4888 GB, free: 0.8477 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