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.001069/0.001069, allocations: 102.9 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001539/0.001538, allocations: 184.4 kB / 16.92 MB, free: 6.914 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.743/1.743, allocations: 205.4 MB / 223.1 MB, free: 5.516 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3994/0.3994, allocations: 43.58 MB / 315 MB, free: 8.77 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.0005974/0.0005978, allocations: 12 kB / 384.6 MB, free: 7.633 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1316/0.1322, allocations: 58.87 MB / 443.5 MB, free: 12.66 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW): time 0.001905/0.1342, allocations: 1.376 MB / 444.8 MB, free: 11.27 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001539/0.1358, allocations: 0.9009 MB / 445.7 MB, free: 10.36 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.484e-05/0.1358, allocations: 0 / 445.7 MB, free: 10.36 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002223/0.1361, allocations: 27.86 kB / 445.8 MB, free: 10.34 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001745/0.1362, allocations: 43.8 kB / 445.8 MB, free: 10.29 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000387/0.1366, allocations: 123.6 kB / 445.9 MB, free: 10.17 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002134/0.1369, allocations: 191.3 kB / 446.1 MB, free: 9.984 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.288e-05/0.1369, allocations: 21.7 kB / 446.1 MB, free: 9.957 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.691e-05/0.137, allocations: 43.8 kB / 446.2 MB, free: 9.914 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001328/0.1372, allocations: 71.62 kB / 446.3 MB, free: 9.844 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.684e-05/0.1372, allocations: 8 kB / 446.3 MB, free: 9.836 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003474/0.1375, allocations: 211.6 kB / 446.5 MB, free: 9.629 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.447e-05/0.1376, allocations: 31.91 kB / 446.5 MB, free: 9.598 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.475e-05/0.1377, allocations: 85.25 kB / 446.6 MB, free: 9.508 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003349/0.1381, allocations: 239.2 kB / 446.8 MB, free: 9.273 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.1381, allocations: 0 / 446.8 MB, free: 9.273 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.1381, allocations: 3.938 kB / 446.8 MB, free: 9.27 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.979e-06/0.1381, allocations: 0 / 446.8 MB, free: 9.27 MB / 382.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.0006174/0.1387, allocations: 455 kB / 447.3 MB, free: 8.777 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 0.0001441/0.1389, allocations: 8.031 kB / 447.3 MB, free: 8.77 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00111/0.14, allocations: 116.5 kB / 447.4 MB, free: 8.656 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002553/0.1402, allocations: 232 kB / 447.6 MB, free: 8.391 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.359e-05/0.1403, allocations: 4.375 kB / 447.6 MB, free: 8.387 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.125e-05/0.1403, allocations: 16.36 kB / 447.6 MB, free: 8.371 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006946/0.141, allocations: 333.6 kB / 448 MB, free: 8.039 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.141, allocations: 4 kB / 448 MB, free: 8.035 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.934e-05/0.1411, allocations: 4 kB / 448 MB, free: 8.031 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-05/0.1411, allocations: 19.98 kB / 448 MB, free: 8.012 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007754/0.1419, allocations: 331.6 kB / 448.3 MB, free: 7.688 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001519/0.1434, allocations: 0.8336 MB / 449.2 MB, free: 6.766 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000779/0.1442, allocations: 230.3 kB / 449.4 MB, free: 6.531 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003009/0.1445, allocations: 88.81 kB / 449.5 MB, free: 6.441 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.082e-05/0.1446, allocations: 7.984 kB / 449.5 MB, free: 6.434 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.692e-05/0.1446, allocations: 38.59 kB / 449.5 MB, free: 6.387 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.964e-06/0.1446, allocations: 0 / 449.5 MB, free: 6.387 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.00101/0.1456, allocations: 309.2 kB / 449.8 MB, free: 6.078 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.928e-05/0.1457, allocations: 59.41 kB / 449.9 MB, free: 6.008 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000191/0.1459, allocations: 187.2 kB / 450.1 MB, free: 5.816 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.884e-05/0.1459, allocations: 33.7 kB / 450.1 MB, free: 5.777 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.384e-05/0.146, allocations: 135.4 kB / 450.2 MB, free: 5.641 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.591e-05/0.146, allocations: 35.5 kB / 450.2 MB, free: 5.605 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.568e-05/0.1461, allocations: 21.7 kB / 450.3 MB, free: 5.578 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001177/0.1462, allocations: 322.8 kB / 450.6 MB, free: 5.254 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002916/0.1465, allocations: 91.91 kB / 450.7 MB, free: 5.164 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003931/0.1469, allocations: 138.8 kB / 450.8 MB, free: 5.004 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006004/0.1475, allocations: 235 kB / 451 MB, free: 4.75 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.1476, allocations: 3.984 kB / 451 MB, free: 4.746 MB / 382.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0007229/0.1483, allocations: 285 kB / 451.3 MB, free: 4.461 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/0.1483, allocations: 4 kB / 451.3 MB, free: 4.457 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/0.1483, allocations: 4 kB / 451.3 MB, free: 4.453 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/0.1483, allocations: 3.938 kB / 451.3 MB, free: 4.449 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004702/0.1488, allocations: 83.86 kB / 451.4 MB, free: 4.367 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001095/0.1499, allocations: 1.793 MB / 453.2 MB, free: 2.504 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002213/0.1502, allocations: 24.11 kB / 453.2 MB, free: 2.48 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.113e-05/0.1502, allocations: 19.98 kB / 453.3 MB, free: 2.461 MB / 382.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.0001459/0.1504, allocations: 145.8 kB / 453.4 MB, free: 2.309 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.125e-05/0.1504, allocations: 11.84 kB / 453.4 MB, free: 2.297 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007804/0.1512, allocations: 278.7 kB / 453.7 MB, free: 2.02 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.1512, allocations: 0 / 453.7 MB, free: 2.02 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.156e-06/0.1512, allocations: 4 kB / 453.7 MB, free: 2.016 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.145e-06/0.1512, allocations: 3.938 kB / 453.7 MB, free: 2.012 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000329/0.1516, allocations: 261.5 kB / 453.9 MB, free: 1.707 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.1516, allocations: 0 / 453.9 MB, free: 1.707 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003419/0.1519, allocations: 67.92 kB / 454 MB, free: 1.641 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.37e-06/0.1519, allocations: 3.938 kB / 454 MB, free: 1.637 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.517e-05/0.152, allocations: 7.984 kB / 454 MB, free: 1.629 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2459/0.3979, allocations: 1.785 MB / 455.8 MB, free: 46.18 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.7e-06/0.3979, allocations: 0.5156 kB / 455.8 MB, free: 46.18 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007887/0.3987, allocations: 328.9 kB / 456.1 MB, free: 46.05 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.298e-05/0.3988, allocations: 88.03 kB / 456.2 MB, free: 45.96 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.665e-05/0.3988, allocations: 4.875 kB / 456.2 MB, free: 45.96 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002112/0.399, allocations: 15.19 kB / 456.2 MB, free: 45.96 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.975e-05/0.3991, allocations: 17.14 kB / 456.2 MB, free: 45.96 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.23e-05/0.3992, allocations: 7.672 kB / 456.3 MB, free: 45.96 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001068/0.3993, allocations: 147.1 kB / 456.4 MB, free: 45.88 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3993, allocations: 0 / 456.4 MB, free: 45.88 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003952/0.3997, allocations: 61.64 kB / 456.5 MB, free: 45.88 MB / 382.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.0002787/0.4, allocations: 132.6 kB / 456.6 MB, free: 45.79 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009231/0.4009, allocations: 251.1 kB / 456.8 MB, free: 45.79 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.4009, allocations: 0 / 456.8 MB, free: 45.79 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004323/0.4013, allocations: 138.5 kB / 457 MB, free: 45.79 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003256/0.4017, allocations: 11.59 kB / 457 MB, free: 45.79 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000722/0.4024, allocations: 440.6 kB / 457.4 MB, free: 45.58 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001805/0.4026, allocations: 0.7415 MB / 458.2 MB, free: 44.88 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001932/0.4028, allocations: 71.62 kB / 458.2 MB, free: 44.88 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.699e-05/0.4029, allocations: 29.66 kB / 458.3 MB, free: 44.88 MB / 382.1 MB Notification: Performance of SimCode: time 7.52e-07/0.4029, allocations: 0 / 458.3 MB, free: 44.88 MB / 382.1 MB Notification: Performance of Templates: time 0.00578/0.4087, allocations: 2.622 MB / 460.9 MB, free: 44.75 MB / 382.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","../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