Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001289/0.001289, allocations: 115 kB / 18.46 MB, free: 4.621 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001377/0.001377, allocations: 207.3 kB / 21.41 MB, free: 1.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.521/1.521, allocations: 230.6 MB / 254.8 MB, free: 15.25 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2277/0.2277, allocations: 46.93 MB / 357.8 MB, free: 10.43 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5050,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_4.1.0_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=5050,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_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001931/0.001931, allocations: 75.89 kB / 0.4921 GB, free: 7.562 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1277/0.1296, allocations: 65.98 MB / 0.5565 GB, free: 5.445 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW): time 0.003276/0.1329, allocations: 1.677 MB / 0.5582 GB, free: 3.758 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001726/0.1346, allocations: 0.9114 MB / 0.5591 GB, free: 2.84 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.377e-05/0.1347, allocations: 0 / 0.5591 GB, free: 2.84 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000249/0.135, allocations: 35.77 kB / 0.5591 GB, free: 2.805 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002066/0.1352, allocations: 51.75 kB / 0.5591 GB, free: 2.754 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000534/0.1357, allocations: 127.5 kB / 0.5593 GB, free: 2.629 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002353/0.1359, allocations: 143.3 kB / 0.5594 GB, free: 2.488 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.743e-05/0.136, allocations: 17.38 kB / 0.5594 GB, free: 2.469 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001001/0.1361, allocations: 55.78 kB / 0.5595 GB, free: 2.414 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001371/0.1362, allocations: 71.67 kB / 0.5595 GB, free: 2.344 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.018e-05/0.1363, allocations: 7.938 kB / 0.5596 GB, free: 2.336 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000405/0.1367, allocations: 211.6 kB / 0.5598 GB, free: 2.129 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.73e-05/0.1367, allocations: 39.83 kB / 0.5598 GB, free: 2.09 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 7.614e-05/0.1368, allocations: 59.61 kB / 0.5598 GB, free: 2.031 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004236/0.1372, allocations: 247 kB / 0.5601 GB, free: 1.789 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.152e-06/0.1372, allocations: 3.938 kB / 0.5601 GB, free: 1.785 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.1372, allocations: 0 / 0.5601 GB, free: 1.785 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.516e-06/0.1373, allocations: 0 / 0.5601 GB, free: 1.785 MB / 414.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.0007589/0.138, allocations: 482.5 kB / 0.5605 GB, free: 1.266 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.653e-05/0.138, allocations: 8.031 kB / 0.5606 GB, free: 1.258 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001195/0.1392, allocations: 112.7 kB / 0.5607 GB, free: 1.148 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002971/0.1395, allocations: 228.1 kB / 0.5609 GB, free: 0.8867 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.384e-05/0.1396, allocations: 12.36 kB / 0.5609 GB, free: 0.875 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.317e-05/0.1396, allocations: 16.38 kB / 0.5609 GB, free: 0.8594 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007296/0.1403, allocations: 322.7 kB / 0.5612 GB, free: 0.5391 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/0.1403, allocations: 0 / 0.5612 GB, free: 0.5391 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.925e-05/0.1404, allocations: 4 kB / 0.5612 GB, free: 0.5352 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.187e-05/0.1404, allocations: 23.97 kB / 0.5612 GB, free: 0.5117 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000848/0.1413, allocations: 323.6 kB / 0.5616 GB, free: 200 kB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001631/0.1429, allocations: 0.834 MB / 0.5624 GB, free: 15.27 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007982/0.1437, allocations: 214.3 kB / 0.5626 GB, free: 15.05 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003109/0.144, allocations: 84.81 kB / 0.5627 GB, free: 14.96 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.105e-05/0.144, allocations: 7.984 kB / 0.5627 GB, free: 14.95 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.244e-05/0.1441, allocations: 34.56 kB / 0.5627 GB, free: 14.91 MB / 430.1 MB Notification: Performance of pre-optimization done (n=10): time 1.583e-06/0.1441, allocations: 0 / 0.5627 GB, free: 14.91 MB / 430.1 MB Notification: Performance of matching and sorting (n=10): time 0.00113/0.1452, allocations: 293.3 kB / 0.563 GB, free: 14.62 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.962e-05/0.1452, allocations: 55.78 kB / 0.563 GB, free: 14.55 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002043/0.1454, allocations: 189.7 kB / 0.5632 GB, free: 14.35 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.846e-05/0.1455, allocations: 25.7 kB / 0.5632 GB, free: 14.32 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001083/0.1456, allocations: 147.7 kB / 0.5634 GB, free: 14.17 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.443e-05/0.1456, allocations: 35.67 kB / 0.5634 GB, free: 14.14 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001054/0.1457, allocations: 57.62 kB / 0.5635 GB, free: 14.07 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001402/0.1459, allocations: 322.8 kB / 0.5638 GB, free: 13.75 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003209/0.1462, allocations: 79.91 kB / 0.5638 GB, free: 13.67 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003653/0.1466, allocations: 146.7 kB / 0.564 GB, free: 13.5 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006738/0.1472, allocations: 214.6 kB / 0.5642 GB, free: 13.27 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.1472, allocations: 4 kB / 0.5642 GB, free: 13.27 MB / 430.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0008726/0.1481, allocations: 273.2 kB / 0.5645 GB, free: 12.99 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.979e-05/0.1481, allocations: 4 kB / 0.5645 GB, free: 12.99 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.707e-06/0.1481, allocations: 4 kB / 0.5645 GB, free: 12.98 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.349e-05/0.1482, allocations: 3.938 kB / 0.5645 GB, free: 12.98 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004728/0.1486, allocations: 83.92 kB / 0.5645 GB, free: 12.9 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001173/0.1498, allocations: 1.789 MB / 0.5663 GB, free: 11.04 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000248/0.1501, allocations: 31.77 kB / 0.5663 GB, free: 11.01 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.139e-05/0.1501, allocations: 11.98 kB / 0.5663 GB, free: 11 MB / 430.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.0001796/0.1503, allocations: 148.2 kB / 0.5665 GB, free: 10.84 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.095e-05/0.1503, allocations: 15.89 kB / 0.5665 GB, free: 10.83 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008761/0.1512, allocations: 270.7 kB / 0.5667 GB, free: 10.55 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.127e-06/0.1512, allocations: 4 kB / 0.5668 GB, free: 10.55 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/0.1512, allocations: 4 kB / 0.5668 GB, free: 10.54 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.1512, allocations: 3.938 kB / 0.5668 GB, free: 10.54 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003367/0.1516, allocations: 253.5 kB / 0.567 GB, free: 10.24 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.1516, allocations: 0 / 0.567 GB, free: 10.24 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000368/0.1519, allocations: 67.92 kB / 0.5671 GB, free: 10.18 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.404e-06/0.1519, allocations: 3.938 kB / 0.5671 GB, free: 10.17 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.608e-05/0.152, allocations: 11.98 kB / 0.5671 GB, free: 10.16 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001075/0.153, allocations: 1.781 MB / 0.5688 GB, free: 8.309 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.153, allocations: 0 / 0.5688 GB, free: 8.309 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007876/0.1538, allocations: 323.4 kB / 0.5691 GB, free: 7.977 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.084e-05/0.1539, allocations: 89 kB / 0.5692 GB, free: 7.871 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.511e-05/0.1539, allocations: 3.984 kB / 0.5692 GB, free: 7.867 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002063/0.1541, allocations: 7.984 kB / 0.5692 GB, free: 7.859 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.135e-05/0.1542, allocations: 11.98 kB / 0.5692 GB, free: 7.848 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.665e-05/0.1542, allocations: 15.97 kB / 0.5693 GB, free: 7.832 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001374/0.1544, allocations: 145.8 kB / 0.5694 GB, free: 7.691 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1544, allocations: 0 / 0.5694 GB, free: 7.691 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003917/0.1548, allocations: 63.83 kB / 0.5695 GB, free: 7.629 MB / 430.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.0002774/0.155, allocations: 123.1 kB / 0.5696 GB, free: 7.5 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0009414/0.156, allocations: 231.7 kB / 0.5698 GB, free: 7.273 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.156, allocations: 4.312 kB / 0.5698 GB, free: 7.27 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004992/0.1565, allocations: 127.8 kB / 0.5699 GB, free: 7.145 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003098/0.1568, allocations: 13.31 kB / 0.5699 GB, free: 7.133 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008891/0.1577, allocations: 415 kB / 0.5703 GB, free: 6.703 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003815/0.1581, allocations: 0.7358 MB / 0.571 GB, free: 5.938 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000133/0.1582, allocations: 47.38 kB / 0.5711 GB, free: 5.895 MB / 430.1 MB Notification: Performance of SimCode: time 5.51e-07/0.1582, allocations: 0 / 0.5711 GB, free: 5.895 MB / 430.1 MB Notification: Performance of Templates: time 0.008397/0.1666, allocations: 4.932 MB / 0.5759 GB, free: 0.957 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/General/dp_volumeFlowRate_DPMFLOW/dp_volumeFlowRate_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.56413663100102]