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.001713/0.001713, allocations: 124.4 kB / 17.79 MB, free: 5.266 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.002197/0.002197, allocations: 199.3 kB / 20.74 MB, free: 2.32 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.493/1.493, allocations: 230.6 MB / 254.1 MB, free: 15.09 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.2241/0.2241, allocations: 46.92 MB / 357.1 MB, free: 10.32 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: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_volumeFlowRate_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_volumeFlowRate_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001962/0.001962, allocations: 63.91 kB / 0.491 GB, free: 7.969 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1363/0.1382, allocations: 65.99 MB / 0.5554 GB, free: 5.852 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW): time 0.003225/0.1414, allocations: 1.673 MB / 0.557 GB, free: 4.168 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001762/0.1432, allocations: 0.9113 MB / 0.5579 GB, free: 3.25 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.025e-05/0.1433, allocations: 8 kB / 0.5579 GB, free: 3.242 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002841/0.1436, allocations: 31.78 kB / 0.558 GB, free: 3.211 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002252/0.1438, allocations: 55.73 kB / 0.558 GB, free: 3.156 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000486/0.1443, allocations: 127.5 kB / 0.5581 GB, free: 3.031 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002294/0.1445, allocations: 143.3 kB / 0.5583 GB, free: 2.891 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.761e-05/0.1446, allocations: 13.45 kB / 0.5583 GB, free: 2.875 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.567e-05/0.1447, allocations: 55.77 kB / 0.5583 GB, free: 2.82 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001466/0.1448, allocations: 75.61 kB / 0.5584 GB, free: 2.746 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.069e-05/0.1448, allocations: 4 kB / 0.5584 GB, free: 2.742 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004137/0.1452, allocations: 211.7 kB / 0.5586 GB, free: 2.535 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.46e-05/0.1453, allocations: 39.88 kB / 0.5586 GB, free: 2.496 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 8.742e-05/0.1454, allocations: 63.55 kB / 0.5587 GB, free: 2.434 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004188/0.1458, allocations: 243 kB / 0.5589 GB, free: 2.195 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.1458, allocations: 4 kB / 0.5589 GB, free: 2.191 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.1458, allocations: 0 / 0.5589 GB, free: 2.191 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.096e-05/0.1458, allocations: 0 / 0.5589 GB, free: 2.191 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.0007626/0.1466, allocations: 478.5 kB / 0.5594 GB, free: 1.676 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.527e-05/0.1467, allocations: 8.031 kB / 0.5594 GB, free: 1.668 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.576e-05/0.1467, allocations: 50.73 kB / 0.5595 GB, free: 1.609 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001163/0.1479, allocations: 120.6 kB / 0.5596 GB, free: 1.492 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002887/0.1482, allocations: 228.1 kB / 0.5598 GB, free: 1.23 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.554e-05/0.1482, allocations: 12.38 kB / 0.5598 GB, free: 1.219 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.961e-05/0.1482, allocations: 12.38 kB / 0.5598 GB, free: 1.207 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007178/0.149, allocations: 322.5 kB / 0.5601 GB, free: 0.8867 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.149, allocations: 0 / 0.5601 GB, free: 0.8867 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.73e-05/0.149, allocations: 4 kB / 0.5601 GB, free: 0.8828 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.681e-05/0.149, allocations: 23.92 kB / 0.5601 GB, free: 0.8594 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008256/0.1499, allocations: 323.6 kB / 0.5605 GB, free: 0.543 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001616/0.1515, allocations: 0.8414 MB / 0.5613 GB, free: 15.61 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007684/0.1522, allocations: 214.3 kB / 0.5615 GB, free: 15.39 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003008/0.1526, allocations: 80.81 kB / 0.5616 GB, free: 15.31 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.304e-05/0.1526, allocations: 8 kB / 0.5616 GB, free: 15.3 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.792e-05/0.1526, allocations: 34.55 kB / 0.5616 GB, free: 15.26 MB / 430.1 MB Notification: Performance of pre-optimization done (n=10): time 1.082e-06/0.1526, allocations: 0 / 0.5616 GB, free: 15.26 MB / 430.1 MB Notification: Performance of matching and sorting (n=10): time 0.001069/0.1537, allocations: 293.3 kB / 0.5619 GB, free: 14.96 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.955e-05/0.1537, allocations: 51.41 kB / 0.5619 GB, free: 14.9 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000199/0.1539, allocations: 189.7 kB / 0.5621 GB, free: 14.7 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.809e-05/0.1539, allocations: 29.7 kB / 0.5621 GB, free: 14.67 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000105/0.1541, allocations: 143.7 kB / 0.5623 GB, free: 14.52 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.139e-05/0.1541, allocations: 35.73 kB / 0.5623 GB, free: 14.49 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001023/0.1542, allocations: 53.62 kB / 0.5624 GB, free: 14.43 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000141/0.1543, allocations: 322.8 kB / 0.5627 GB, free: 14.11 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003147/0.1547, allocations: 79.91 kB / 0.5627 GB, free: 14.03 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003565/0.155, allocations: 150.7 kB / 0.5629 GB, free: 13.86 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006417/0.1556, allocations: 219 kB / 0.5631 GB, free: 13.62 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.1557, allocations: 3.938 kB / 0.5631 GB, free: 13.61 MB / 430.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0007805/0.1564, allocations: 273.2 kB / 0.5634 GB, free: 13.34 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.362e-05/0.1565, allocations: 8 kB / 0.5634 GB, free: 13.33 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/0.1565, allocations: 3.938 kB / 0.5634 GB, free: 13.33 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.751e-05/0.1565, allocations: 4 kB / 0.5634 GB, free: 13.32 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004702/0.157, allocations: 79.86 kB / 0.5635 GB, free: 13.25 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001187/0.1581, allocations: 1.786 MB / 0.5652 GB, free: 11.39 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002134/0.1584, allocations: 27.81 kB / 0.5652 GB, free: 11.36 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.371e-05/0.1584, allocations: 19.91 kB / 0.5652 GB, free: 11.34 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.0002077/0.1586, allocations: 148.1 kB / 0.5654 GB, free: 11.19 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.362e-05/0.1587, allocations: 15.89 kB / 0.5654 GB, free: 11.18 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008453/0.1595, allocations: 266.8 kB / 0.5657 GB, free: 10.9 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.1595, allocations: 7.938 kB / 0.5657 GB, free: 10.89 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.1595, allocations: 0 / 0.5657 GB, free: 10.89 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.63e-06/0.1595, allocations: 3.984 kB / 0.5657 GB, free: 10.89 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003283/0.1599, allocations: 249.5 kB / 0.5659 GB, free: 10.6 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.1599, allocations: 0 / 0.5659 GB, free: 10.6 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003625/0.1602, allocations: 71.86 kB / 0.566 GB, free: 10.53 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.1602, allocations: 0 / 0.566 GB, free: 10.53 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.988e-05/0.1603, allocations: 11.98 kB / 0.566 GB, free: 10.52 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001071/0.1613, allocations: 1.781 MB / 0.5677 GB, free: 8.664 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.1613, allocations: 0 / 0.5677 GB, free: 8.664 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007673/0.1621, allocations: 327.5 kB / 0.568 GB, free: 8.328 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.48e-05/0.1622, allocations: 89 kB / 0.5681 GB, free: 8.223 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.415e-05/0.1622, allocations: 0 / 0.5681 GB, free: 8.223 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002323/0.1625, allocations: 15.98 kB / 0.5681 GB, free: 8.207 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.537e-05/0.1625, allocations: 11.97 kB / 0.5681 GB, free: 8.195 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.36e-05/0.1625, allocations: 7.984 kB / 0.5682 GB, free: 8.188 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001357/0.1627, allocations: 141.8 kB / 0.5683 GB, free: 8.051 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1627, allocations: 4 kB / 0.5683 GB, free: 8.047 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003933/0.1631, allocations: 63.83 kB / 0.5684 GB, free: 7.984 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.001331/0.1644, allocations: 0.8838 MB / 0.5692 GB, free: 7.074 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0009325/0.1653, allocations: 223.7 kB / 0.5694 GB, free: 6.855 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.367e-06/0.1653, allocations: 448 / 0.5694 GB, free: 6.855 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004911/0.1658, allocations: 139.7 kB / 0.5696 GB, free: 6.719 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002951/0.1661, allocations: 12.56 kB / 0.5696 GB, free: 6.707 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004106/0.1702, allocations: 2.339 MB / 0.5719 GB, free: 4.25 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004372/0.1707, allocations: 0.7397 MB / 0.5726 GB, free: 3.484 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001911/0.1709, allocations: 61.05 kB / 0.5726 GB, free: 3.426 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001345/0.171, allocations: 55.38 kB / 0.5727 GB, free: 3.371 MB / 430.1 MB Notification: Performance of SimCode: time 7.42e-07/0.171, allocations: 4 kB / 0.5727 GB, free: 3.367 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02863/0.1996, allocations: 4.904 MB / 0.5775 GB, free: 14.69 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.19/13.39, allocations: 6.562 kB / 0.5775 GB, free: 14.68 MB / 446.1 MB " [Timeout remaining time 647] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_volumeFlowRate_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --stepSize=0.0002 --timeout=50 --tolerance=1e-05 ModelicaTest_4_1_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_volumeFlowRate_DPMFLOW.fmu > ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe 2>&1) [Timeout 52.5] 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: 16.672749959863722]