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.001485/0.001485, allocations: 100.6 kB / 16.27 MB, free: 6.398 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.001247/0.001247, allocations: 187 kB / 17.2 MB, free: 5.941 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.566/1.566, allocations: 205.1 MB / 223.1 MB, free: 12.36 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.2196/0.2196, allocations: 43.52 MB / 313.9 MB, free: 0.543 MB / 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.002255/0.002255, allocations: 66.56 kB / 382.7 MB, free: 56.71 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1247/0.127, allocations: 57.79 MB / 440.5 MB, free: 6.906 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW): time 0.003534/0.1306, allocations: 1.658 MB / 442.2 MB, free: 5.23 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001613/0.1322, allocations: 0.9044 MB / 443.1 MB, free: 4.316 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.2e-05/0.1323, allocations: 3.938 kB / 443.1 MB, free: 4.312 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002632/0.1326, allocations: 35.83 kB / 443.1 MB, free: 4.277 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001938/0.1328, allocations: 55.73 kB / 443.2 MB, free: 4.223 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000538/0.1334, allocations: 143.5 kB / 443.3 MB, free: 4.082 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00023/0.1336, allocations: 131.4 kB / 443.5 MB, free: 3.953 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.873e-05/0.1337, allocations: 21.44 kB / 443.5 MB, free: 3.934 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.267e-05/0.1338, allocations: 55.72 kB / 443.5 MB, free: 3.879 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001332/0.1339, allocations: 67.69 kB / 443.6 MB, free: 3.812 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.752e-05/0.134, allocations: 4 kB / 443.6 MB, free: 3.809 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003876/0.1344, allocations: 215.6 kB / 443.8 MB, free: 3.598 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.55e-05/0.1345, allocations: 35.84 kB / 443.9 MB, free: 3.562 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.977e-05/0.1345, allocations: 59.61 kB / 443.9 MB, free: 3.504 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003954/0.1349, allocations: 239.2 kB / 444.1 MB, free: 3.27 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.892e-06/0.1349, allocations: 0 / 444.1 MB, free: 3.27 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.135, allocations: 7.938 kB / 444.1 MB, free: 3.262 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.724e-06/0.135, allocations: 0 / 444.1 MB, free: 3.262 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.0006308/0.1356, allocations: 474.9 kB / 444.6 MB, free: 2.75 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.328e-05/0.1357, allocations: 19.83 kB / 444.6 MB, free: 2.73 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001203/0.1369, allocations: 116.5 kB / 444.7 MB, free: 2.617 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003001/0.1372, allocations: 216.2 kB / 445 MB, free: 2.367 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.527e-05/0.1372, allocations: 8.375 kB / 445 MB, free: 2.359 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.002e-05/0.1373, allocations: 12.38 kB / 445 MB, free: 2.348 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007126/0.138, allocations: 329.6 kB / 445.3 MB, free: 2.02 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.681e-05/0.138, allocations: 0 / 445.3 MB, free: 2.02 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.507e-05/0.1381, allocations: 4 kB / 445.3 MB, free: 2.016 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.812e-05/0.1381, allocations: 19.98 kB / 445.3 MB, free: 1.996 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007391/0.1389, allocations: 315.7 kB / 445.6 MB, free: 1.688 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001656/0.1405, allocations: 0.8335 MB / 446.5 MB, free: 0.7656 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006985/0.1412, allocations: 222.3 kB / 446.7 MB, free: 0.5391 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002798/0.1415, allocations: 88.81 kB / 446.8 MB, free: 460 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.726e-05/0.1416, allocations: 7.875 kB / 446.8 MB, free: 452 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.41e-05/0.1416, allocations: 34.59 kB / 446.8 MB, free: 408 kB / 318.1 MB Notification: Performance of pre-optimization done (n=10): time 3.136e-06/0.1416, allocations: 0 / 446.8 MB, free: 408 kB / 318.1 MB Notification: Performance of matching and sorting (n=10): time 0.00107/0.1427, allocations: 301.1 kB / 447.1 MB, free: 100 kB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.274e-05/0.1428, allocations: 51.41 kB / 447.2 MB, free: 36 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002904/0.1431, allocations: 195.2 kB / 447.3 MB, free: 15.84 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.898e-05/0.1431, allocations: 29.7 kB / 447.4 MB, free: 15.8 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001442/0.1433, allocations: 139.3 kB / 447.5 MB, free: 15.66 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.6e-05/0.1434, allocations: 35.55 kB / 447.5 MB, free: 15.62 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001699/0.1435, allocations: 53.58 kB / 447.6 MB, free: 15.57 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002302/0.1438, allocations: 322.8 kB / 447.9 MB, free: 15.24 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003366/0.1441, allocations: 87.89 kB / 448 MB, free: 15.16 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004194/0.1445, allocations: 134.8 kB / 448.1 MB, free: 15 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006977/0.1453, allocations: 222.6 kB / 448.3 MB, free: 14.76 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.04e-06/0.1453, allocations: 0 / 448.3 MB, free: 14.76 MB / 334.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0008673/0.1462, allocations: 265.2 kB / 448.6 MB, free: 14.49 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.435e-05/0.1462, allocations: 10.97 kB / 448.6 MB, free: 14.48 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.555e-05/0.1462, allocations: 4.453 kB / 448.6 MB, free: 14.48 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.538e-05/0.1463, allocations: 7.938 kB / 448.6 MB, free: 14.47 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005048/0.1468, allocations: 83.86 kB / 448.7 MB, free: 14.39 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00116/0.148, allocations: 1.789 MB / 450.5 MB, free: 12.53 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000239/0.1482, allocations: 27.77 kB / 450.5 MB, free: 12.5 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.186e-05/0.1482, allocations: 19.92 kB / 450.5 MB, free: 12.48 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.000179/0.1484, allocations: 150 kB / 450.7 MB, free: 12.33 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.665e-05/0.1485, allocations: 11.84 kB / 450.7 MB, free: 12.32 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008447/0.1493, allocations: 270.6 kB / 451 MB, free: 12.05 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.1494, allocations: 0 / 451 MB, free: 12.05 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.732e-06/0.1494, allocations: 0 / 451 MB, free: 12.05 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.97e-06/0.1494, allocations: 0 / 451 MB, free: 12.05 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003868/0.1498, allocations: 257.4 kB / 451.2 MB, free: 11.75 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.1498, allocations: 0 / 451.2 MB, free: 11.75 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003715/0.1502, allocations: 67.94 kB / 451.3 MB, free: 11.68 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.169e-05/0.1502, allocations: 3.938 kB / 451.3 MB, free: 11.68 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.416e-05/0.1502, allocations: 15.91 kB / 451.3 MB, free: 11.66 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001391/0.1516, allocations: 1.785 MB / 453.1 MB, free: 9.805 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.1516, allocations: 0 / 453.1 MB, free: 9.805 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007853/0.1524, allocations: 319.4 kB / 453.4 MB, free: 9.477 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.89e-05/0.1525, allocations: 88.92 kB / 453.5 MB, free: 9.371 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.698e-05/0.1526, allocations: 8 kB / 453.5 MB, free: 9.363 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000208/0.1528, allocations: 7.984 kB / 453.5 MB, free: 9.355 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.051e-05/0.1529, allocations: 11.97 kB / 453.5 MB, free: 9.344 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.38e-05/0.1529, allocations: 11.98 kB / 453.5 MB, free: 9.332 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001333/0.1531, allocations: 143.9 kB / 453.7 MB, free: 9.191 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.1531, allocations: 0 / 453.7 MB, free: 9.191 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004263/0.1535, allocations: 56.12 kB / 453.7 MB, free: 9.137 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.0003343/0.1538, allocations: 127.1 kB / 453.8 MB, free: 9 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0009548/0.1548, allocations: 251.6 kB / 454.1 MB, free: 8.754 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.848e-06/0.1548, allocations: 0 / 454.1 MB, free: 8.754 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004877/0.1553, allocations: 131.8 kB / 454.2 MB, free: 8.625 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003672/0.1557, allocations: 18.41 kB / 454.2 MB, free: 8.609 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001009/0.1567, allocations: 377.3 kB / 454.6 MB, free: 8.219 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004984/0.1572, allocations: 0.7358 MB / 455.3 MB, free: 7.457 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002499/0.1575, allocations: 65.41 kB / 455.4 MB, free: 7.395 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.164e-05/0.1576, allocations: 31.34 kB / 455.4 MB, free: 7.363 MB / 334.1 MB Notification: Performance of SimCode: time 1.633e-06/0.1576, allocations: 4 kB / 455.4 MB, free: 7.359 MB / 334.1 MB Notification: Performance of Templates: time 0.007363/0.165, allocations: 2.793 MB / 458.2 MB, free: 4.598 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 -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/jenkins/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/jenkins/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