Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.0008652/0.0008652, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 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.001022/0.001022, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 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 0.9109/0.9109, allocations: 177.1 MB / 204.3 MB, free: 5.711 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2398/0.2398, allocations: 32.8 MB / 293.5 MB, free: 1.219 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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_0_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_0_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 1.533e-06/1.533e-06, allocations: 0 / 439.6 MB, free: 4.219 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.072e-05/2.225e-05, allocations: 2.281 kB / 439.6 MB, free: 4.215 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW): time 0.002414/0.002436, allocations: 1.659 MB / 441.3 MB, free: 2.543 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001071/0.003507, allocations: 0.8411 MB / 442.1 MB, free: 1.695 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.665e-05/0.003564, allocations: 0 / 442.1 MB, free: 1.695 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001999/0.003764, allocations: 31.83 kB / 442.1 MB, free: 1.664 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001532/0.003917, allocations: 47.69 kB / 442.2 MB, free: 1.617 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000394/0.004311, allocations: 148.4 kB / 442.3 MB, free: 1.473 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001635/0.004474, allocations: 143.2 kB / 442.5 MB, free: 1.332 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.216e-05/0.004516, allocations: 5.641 kB / 442.5 MB, free: 1.324 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.89e-05/0.004605, allocations: 75.73 kB / 442.6 MB, free: 1.25 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.618e-05/0.004701, allocations: 63.8 kB / 442.6 MB, free: 1.188 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.709e-05/0.004719, allocations: 7.984 kB / 442.6 MB, free: 1.18 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002384/0.004957, allocations: 159.7 kB / 442.8 MB, free: 1.023 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.38e-05/0.005031, allocations: 43.83 kB / 442.8 MB, free: 0.9805 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.768e-05/0.005078, allocations: 35.88 kB / 442.9 MB, free: 0.9453 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003155/0.005394, allocations: 255.1 kB / 443.1 MB, free: 0.6953 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.846e-06/0.005397, allocations: 0 / 443.1 MB, free: 0.6953 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.005398, allocations: 0 / 443.1 MB, free: 0.6953 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.188e-06/0.005402, allocations: 0 / 443.1 MB, free: 0.6953 MB / 410.7 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.0004726/0.005875, allocations: 405.3 kB / 443.5 MB, free: 276 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.883e-05/0.005914, allocations: 8.031 kB / 443.5 MB, free: 268 kB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.074e-05/0.005954, allocations: 50.73 kB / 443.6 MB, free: 208 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006523/0.006607, allocations: 112.7 kB / 443.7 MB, free: 96 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1572/0.1638, allocations: 172.5 kB / 443.8 MB, free: 46.43 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.449e-05/0.1638, allocations: 9.5 kB / 443.9 MB, free: 46.43 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.43e-05/0.1638, allocations: 15.22 kB / 443.9 MB, free: 46.43 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004546/0.1643, allocations: 318.2 kB / 444.2 MB, free: 46.39 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.1643, allocations: 192 / 444.2 MB, free: 46.39 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.779e-05/0.1643, allocations: 7.438 kB / 444.2 MB, free: 46.39 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.507e-05/0.1643, allocations: 18.36 kB / 444.2 MB, free: 46.39 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004093/0.1647, allocations: 320.5 kB / 444.5 MB, free: 46.39 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008304/0.1655, allocations: 0.6235 MB / 445.1 MB, free: 46.12 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004098/0.166, allocations: 217.2 kB / 445.4 MB, free: 46.08 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001476/0.1661, allocations: 82.53 kB / 445.4 MB, free: 46.06 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.681e-05/0.1661, allocations: 0 / 445.4 MB, free: 46.06 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.587e-05/0.1661, allocations: 40.89 kB / 445.5 MB, free: 46.02 MB / 410.7 MB Notification: Performance of pre-optimization done (n=10): time 1.272e-06/0.1661, allocations: 0 / 445.5 MB, free: 46.02 MB / 410.7 MB Notification: Performance of matching and sorting (n=10): time 0.0005771/0.1667, allocations: 290.2 kB / 445.8 MB, free: 45.95 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.111e-05/0.1667, allocations: 55.42 kB / 445.8 MB, free: 45.88 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.726e-05/0.1668, allocations: 190.3 kB / 446 MB, free: 45.75 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.129e-05/0.1669, allocations: 25.7 kB / 446 MB, free: 45.72 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.341e-05/0.1669, allocations: 148.6 kB / 446.2 MB, free: 45.6 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.751e-05/0.1669, allocations: 36.16 kB / 446.2 MB, free: 45.58 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.371e-05/0.167, allocations: 51.62 kB / 446.3 MB, free: 45.55 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.467e-05/0.167, allocations: 327.9 kB / 446.6 MB, free: 45.23 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001635/0.1672, allocations: 92.12 kB / 446.7 MB, free: 45.21 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000164/0.1673, allocations: 134 kB / 446.8 MB, free: 45.14 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003128/0.1676, allocations: 229.7 kB / 447 MB, free: 45.04 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.1676, allocations: 0 / 447 MB, free: 45.04 MB / 410.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003883/0.168, allocations: 267.8 kB / 447.3 MB, free: 44.96 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/0.168, allocations: 5.969 kB / 447.3 MB, free: 44.96 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.1681, allocations: 2.969 kB / 447.3 MB, free: 44.96 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.662e-05/0.1681, allocations: 3.125 kB / 447.3 MB, free: 44.96 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002464/0.1683, allocations: 90.55 kB / 447.4 MB, free: 44.94 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003302/0.1686, allocations: 1.78 MB / 449.2 MB, free: 43.17 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001017/0.1687, allocations: 26.94 kB / 449.2 MB, free: 43.16 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.843e-05/0.1688, allocations: 20.05 kB / 449.2 MB, free: 43.15 MB / 410.7 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 8.003e-05/0.1688, allocations: 146.4 kB / 449.3 MB, free: 43.02 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.717e-05/0.1689, allocations: 13.66 kB / 449.4 MB, free: 43.02 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004416/0.1693, allocations: 260.3 kB / 449.6 MB, free: 42.94 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.1693, allocations: 12.88 kB / 449.6 MB, free: 42.94 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.1693, allocations: 2.438 kB / 449.6 MB, free: 42.94 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.1693, allocations: 0 / 449.6 MB, free: 42.94 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001586/0.1695, allocations: 216.6 kB / 449.8 MB, free: 42.77 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.1695, allocations: 0 / 449.8 MB, free: 42.77 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001645/0.1697, allocations: 70.94 kB / 449.9 MB, free: 42.75 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.1697, allocations: 0 / 449.9 MB, free: 42.75 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.393e-05/0.1697, allocations: 12.05 kB / 449.9 MB, free: 42.75 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002613/0.1699, allocations: 1.782 MB / 451.7 MB, free: 40.98 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.1699, allocations: 0 / 451.7 MB, free: 40.98 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003608/0.1703, allocations: 319.8 kB / 452 MB, free: 40.81 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.943e-05/0.1703, allocations: 18.09 kB / 452 MB, free: 40.8 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.086e-05/0.1703, allocations: 0 / 452 MB, free: 40.8 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.243e-05/0.1704, allocations: 18.59 kB / 452.1 MB, free: 40.79 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.78e-05/0.1705, allocations: 13.14 kB / 452.1 MB, free: 40.79 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.368e-05/0.1705, allocations: 11.92 kB / 452.1 MB, free: 40.79 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.723e-05/0.1705, allocations: 142.2 kB / 452.2 MB, free: 40.7 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1705, allocations: 2.297 kB / 452.2 MB, free: 40.7 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002471/0.1708, allocations: 57.62 kB / 452.3 MB, free: 40.69 MB / 410.7 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.0005976/0.1714, allocations: 0.8799 MB / 453.2 MB, free: 39.98 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004573/0.1718, allocations: 231 kB / 453.4 MB, free: 39.94 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.1718, allocations: 4 kB / 453.4 MB, free: 39.94 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002195/0.1721, allocations: 127.4 kB / 453.5 MB, free: 39.92 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000221/0.1723, allocations: 16.36 kB / 453.5 MB, free: 39.91 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001992/0.1743, allocations: 2.344 MB / 455.9 MB, free: 38.35 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.911e-05/0.1743, allocations: 124.2 kB / 456 MB, free: 38.28 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001187/0.1745, allocations: 70.52 kB / 456.1 MB, free: 38.26 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.899e-05/0.1745, allocations: 59.16 kB / 456.1 MB, free: 38.23 MB / 410.7 MB Notification: Performance of SimCode: time 1.031e-06/0.1745, allocations: 3.156 kB / 456.1 MB, free: 38.23 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01547/0.19, allocations: 5.593 MB / 461.7 MB, free: 37.09 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.761/7.951, allocations: 4 kB / 461.7 MB, free: 37.09 MB / 410.7 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_4_0_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_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_volumeFlowRate_DPMFLOW.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/General/dp_volumeFlowRate_DPMFLOW/dp_volumeFlowRate_DPMFLOW.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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: 10.025772997178137]