Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001595/0.001595, allocations: 113.7 kB / 19.17 MB, free: 3.871 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001732/0.001732, allocations: 205 kB / 22.12 MB, free: 0.9219 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.45/1.45, allocations: 230.3 MB / 255.2 MB, free: 15.21 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2311/0.2311, allocations: 46.92 MB / 358.2 MB, free: 10.41 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-beta.om/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=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-beta.om_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-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002267/0.002267, allocations: 79.88 kB / 0.4925 GB, free: 7.645 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1234/0.1257, allocations: 66 MB / 0.557 GB, free: 5.516 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW): time 0.002795/0.1285, allocations: 1.68 MB / 0.5586 GB, free: 3.82 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001508/0.13, allocations: 0.9036 MB / 0.5595 GB, free: 2.91 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.292e-05/0.13, allocations: 7.938 kB / 0.5595 GB, free: 2.902 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000213/0.1302, allocations: 35.83 kB / 0.5595 GB, free: 2.867 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001633/0.1304, allocations: 51.73 kB / 0.5596 GB, free: 2.816 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004398/0.1309, allocations: 134.9 kB / 0.5597 GB, free: 2.688 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002027/0.1311, allocations: 139.3 kB / 0.5599 GB, free: 2.551 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.604e-05/0.1311, allocations: 13.39 kB / 0.5599 GB, free: 2.535 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.845e-05/0.1312, allocations: 51.83 kB / 0.5599 GB, free: 2.484 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001247/0.1313, allocations: 71.67 kB / 0.56 GB, free: 2.414 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.65e-05/0.1313, allocations: 7.938 kB / 0.56 GB, free: 2.406 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003586/0.1317, allocations: 215.6 kB / 0.5602 GB, free: 2.195 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.689e-05/0.1317, allocations: 43.83 kB / 0.5602 GB, free: 2.152 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 8.203e-05/0.1318, allocations: 63.59 kB / 0.5603 GB, free: 2.09 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003921/0.1322, allocations: 242.9 kB / 0.5605 GB, free: 1.852 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.1322, allocations: 0 / 0.5605 GB, free: 1.852 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1322, allocations: 0 / 0.5605 GB, free: 1.852 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.16e-06/0.1322, allocations: 0 / 0.5605 GB, free: 1.852 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.0006904/0.1329, allocations: 482.5 kB / 0.561 GB, free: 1.332 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.514e-05/0.133, allocations: 12.03 kB / 0.561 GB, free: 1.32 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001188/0.1341, allocations: 116.6 kB / 0.5611 GB, free: 1.207 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002899/0.1344, allocations: 228.1 kB / 0.5613 GB, free: 0.9453 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.579e-05/0.1344, allocations: 12.36 kB / 0.5613 GB, free: 0.9336 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.883e-05/0.1345, allocations: 12.31 kB / 0.5614 GB, free: 0.9219 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006845/0.1352, allocations: 318.7 kB / 0.5617 GB, free: 0.6055 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.839e-06/0.1352, allocations: 3.938 kB / 0.5617 GB, free: 0.6016 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.973e-05/0.1352, allocations: 8 kB / 0.5617 GB, free: 0.5938 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-05/0.1353, allocations: 19.98 kB / 0.5617 GB, free: 0.5742 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008019/0.1361, allocations: 331.6 kB / 0.562 GB, free: 256 kB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001502/0.1376, allocations: 0.8301 MB / 0.5628 GB, free: 15.32 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000755/0.1383, allocations: 222.3 kB / 0.563 GB, free: 15.1 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002898/0.1386, allocations: 84.81 kB / 0.5631 GB, free: 15.01 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.55e-05/0.1386, allocations: 0 / 0.5631 GB, free: 15.01 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.431e-05/0.1387, allocations: 34.56 kB / 0.5631 GB, free: 14.97 MB / 430.1 MB Notification: Performance of pre-optimization done (n=10): time 8.91e-07/0.1387, allocations: 0 / 0.5631 GB, free: 14.97 MB / 430.1 MB Notification: Performance of matching and sorting (n=10): time 0.001132/0.1398, allocations: 301.3 kB / 0.5634 GB, free: 14.67 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.121e-05/0.1398, allocations: 51.41 kB / 0.5635 GB, free: 14.61 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001999/0.14, allocations: 189.4 kB / 0.5637 GB, free: 14.41 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.558e-05/0.1401, allocations: 25.7 kB / 0.5637 GB, free: 14.38 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001056/0.1402, allocations: 147.7 kB / 0.5638 GB, free: 14.23 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.012e-05/0.1402, allocations: 31.73 kB / 0.5639 GB, free: 14.2 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.786e-05/0.1403, allocations: 53.62 kB / 0.5639 GB, free: 14.14 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001501/0.1405, allocations: 326.8 kB / 0.5642 GB, free: 13.81 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003075/0.1408, allocations: 91.83 kB / 0.5643 GB, free: 13.72 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003554/0.1411, allocations: 136.8 kB / 0.5644 GB, free: 13.56 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006528/0.1418, allocations: 222.9 kB / 0.5647 GB, free: 13.32 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.1418, allocations: 0 / 0.5647 GB, free: 13.32 MB / 430.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0007788/0.1426, allocations: 269.2 kB / 0.5649 GB, free: 13.05 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.922e-05/0.1426, allocations: 8 kB / 0.5649 GB, free: 13.04 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.1426, allocations: 0 / 0.5649 GB, free: 13.04 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.175e-05/0.1426, allocations: 7.938 kB / 0.5649 GB, free: 13.04 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004479/0.1431, allocations: 79.86 kB / 0.565 GB, free: 12.96 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001174/0.1442, allocations: 1.785 MB / 0.5667 GB, free: 11.1 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002236/0.1445, allocations: 36.08 kB / 0.5668 GB, free: 11.07 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.662e-05/0.1445, allocations: 11.98 kB / 0.5668 GB, free: 11.05 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.0001583/0.1446, allocations: 145.8 kB / 0.5669 GB, free: 10.9 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.387e-05/0.1447, allocations: 15.88 kB / 0.5669 GB, free: 10.89 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000825/0.1455, allocations: 274.7 kB / 0.5672 GB, free: 10.61 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.538e-06/0.1455, allocations: 0 / 0.5672 GB, free: 10.61 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.1455, allocations: 0 / 0.5672 GB, free: 10.61 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.1455, allocations: 0 / 0.5672 GB, free: 10.61 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003392/0.1459, allocations: 249.5 kB / 0.5674 GB, free: 10.31 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.1459, allocations: 0 / 0.5674 GB, free: 10.31 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003594/0.1462, allocations: 63.94 kB / 0.5675 GB, free: 10.25 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.691e-06/0.1462, allocations: 3.938 kB / 0.5675 GB, free: 10.25 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.631e-05/0.1463, allocations: 15.97 kB / 0.5675 GB, free: 10.23 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00105/0.1473, allocations: 1.778 MB / 0.5693 GB, free: 8.383 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.629e-06/0.1473, allocations: 12.05 kB / 0.5693 GB, free: 8.371 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007491/0.1481, allocations: 319.2 kB / 0.5696 GB, free: 8.043 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.169e-05/0.1481, allocations: 89 kB / 0.5697 GB, free: 7.938 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.276e-05/0.1482, allocations: 4 kB / 0.5697 GB, free: 7.934 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000201/0.1484, allocations: 11.98 kB / 0.5697 GB, free: 7.922 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.722e-05/0.1484, allocations: 11.97 kB / 0.5697 GB, free: 7.91 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.14e-05/0.1484, allocations: 11.98 kB / 0.5697 GB, free: 7.898 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001339/0.1486, allocations: 144.9 kB / 0.5698 GB, free: 7.758 MB / 430.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1486, allocations: 0 / 0.5698 GB, free: 7.758 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000367/0.1489, allocations: 63.81 kB / 0.5699 GB, free: 7.695 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.000249/0.1492, allocations: 131.1 kB / 0.57 GB, free: 7.559 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0008746/0.1501, allocations: 231.6 kB / 0.5702 GB, free: 7.332 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.1501, allocations: 0 / 0.5702 GB, free: 7.332 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004657/0.1505, allocations: 128.3 kB / 0.5704 GB, free: 7.207 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000264/0.1508, allocations: 19.94 kB / 0.5704 GB, free: 7.188 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007865/0.1516, allocations: 400.9 kB / 0.5708 GB, free: 6.766 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000366/0.1519, allocations: 0.7397 MB / 0.5715 GB, free: 5.996 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001274/0.1521, allocations: 35.39 kB / 0.5715 GB, free: 5.965 MB / 430.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1521, allocations: 0 / 0.5715 GB, free: 5.965 MB / 430.1 MB Notification: Performance of Templates: time 0.007902/0.16, allocations: 4.956 MB / 0.5764 GB, free: 1.008 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_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-beta.om_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.40166534500895]