Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_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.001226/0.001226, allocations: 123.4 kB / 17.79 MB, free: 5.285 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.001348/0.001348, allocations: 208.2 kB / 20.75 MB, free: 2.336 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.508/1.508, 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.232/0.232, allocations: 46.92 MB / 357.1 MB, free: 10.33 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.StraightPipe.dp_laminar_DPMFLOW,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_laminar_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_laminar_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00191/0.00191, allocations: 67.89 kB / 0.491 GB, free: 7.965 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1202/0.1221, allocations: 65.99 MB / 0.5554 GB, free: 5.848 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW): time 0.003071/0.1252, allocations: 1.812 MB / 0.5572 GB, free: 4.02 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001356/0.1266, allocations: 0.8296 MB / 0.558 GB, free: 3.188 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.328e-05/0.1266, allocations: 3.938 kB / 0.558 GB, free: 3.184 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002052/0.1268, allocations: 47.81 kB / 0.558 GB, free: 3.137 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002523/0.1271, allocations: 79.56 kB / 0.5581 GB, free: 3.059 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001813/0.1272, allocations: 67.67 kB / 0.5582 GB, free: 2.992 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001907/0.1274, allocations: 139.4 kB / 0.5583 GB, free: 2.855 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.627e-05/0.1275, allocations: 11.98 kB / 0.5583 GB, free: 2.844 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001652/0.1276, allocations: 67.75 kB / 0.5584 GB, free: 2.777 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001593/0.1278, allocations: 95.69 kB / 0.5585 GB, free: 2.684 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.55e-05/0.1278, allocations: 4 kB / 0.5585 GB, free: 2.68 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001528/0.128, allocations: 71.89 kB / 0.5585 GB, free: 2.609 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.087e-05/0.128, allocations: 31.84 kB / 0.5586 GB, free: 2.578 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.814e-05/0.1281, allocations: 47.72 kB / 0.5586 GB, free: 2.531 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002469/0.1283, allocations: 139.4 kB / 0.5588 GB, free: 2.395 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.1283, allocations: 0 / 0.5588 GB, free: 2.395 MB / 414.1 MB Notification: Performance of FrontEnd: time 9.62e-07/0.1283, allocations: 0 / 0.5588 GB, free: 2.395 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.349e-06/0.1283, allocations: 0 / 0.5588 GB, free: 2.395 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.000592/0.1289, allocations: 411 kB / 0.5591 GB, free: 1.945 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.129, allocations: 8.031 kB / 0.5592 GB, free: 1.938 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.918e-05/0.129, allocations: 46.72 kB / 0.5592 GB, free: 1.883 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003045/0.1293, allocations: 44.81 kB / 0.5592 GB, free: 1.84 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001966/0.1295, allocations: 180.2 kB / 0.5594 GB, free: 1.625 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.423e-05/0.1295, allocations: 8.375 kB / 0.5594 GB, free: 1.617 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.373e-05/0.1296, allocations: 15.92 kB / 0.5594 GB, free: 1.602 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003867/0.13, allocations: 182.3 kB / 0.5596 GB, free: 1.41 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.13, allocations: 0 / 0.5596 GB, free: 1.41 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.737e-05/0.13, allocations: 3.984 kB / 0.5596 GB, free: 1.406 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.817e-05/0.13, allocations: 8 kB / 0.5596 GB, free: 1.398 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003459/0.1304, allocations: 135.9 kB / 0.5597 GB, free: 1.266 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009327/0.1313, allocations: 0.6483 MB / 0.5604 GB, free: 0.5469 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003515/0.1316, allocations: 102.7 kB / 0.5605 GB, free: 448 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001376/0.1318, allocations: 40.83 kB / 0.5605 GB, free: 404 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.308e-05/0.1318, allocations: 0 / 0.5605 GB, free: 404 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.68e-05/0.1318, allocations: 34.55 kB / 0.5606 GB, free: 360 kB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 8.31e-07/0.1318, allocations: 0 / 0.5606 GB, free: 360 kB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.000462/0.1323, allocations: 145.6 kB / 0.5607 GB, free: 208 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.686e-05/0.1323, allocations: 51.41 kB / 0.5607 GB, free: 144 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001138/0.1324, allocations: 130 kB / 0.5609 GB, free: 0 / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.159e-05/0.1325, allocations: 25.7 kB / 0.5609 GB, free: 15.97 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.412e-05/0.1326, allocations: 124.1 kB / 0.561 GB, free: 15.84 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.551e-05/0.1326, allocations: 23.8 kB / 0.561 GB, free: 15.82 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.833e-05/0.1326, allocations: 29.7 kB / 0.5611 GB, free: 15.78 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001598/0.1328, allocations: 326.8 kB / 0.5614 GB, free: 15.45 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001237/0.1329, allocations: 35.97 kB / 0.5614 GB, free: 15.42 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001609/0.1331, allocations: 95.62 kB / 0.5615 GB, free: 15.3 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002963/0.1334, allocations: 143.5 kB / 0.5616 GB, free: 15.13 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.1334, allocations: 7.938 kB / 0.5616 GB, free: 15.12 MB / 430.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003566/0.1337, allocations: 153.4 kB / 0.5618 GB, free: 14.96 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.1338, allocations: 4 kB / 0.5618 GB, free: 14.96 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.1338, allocations: 4 kB / 0.5618 GB, free: 14.96 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/0.1338, allocations: 256 / 0.5618 GB, free: 14.96 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001794/0.134, allocations: 47.97 kB / 0.5618 GB, free: 14.91 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.747e-06/0.134, allocations: 4 kB / 0.5618 GB, free: 14.91 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001036/0.1341, allocations: 19.88 kB / 0.5619 GB, free: 14.89 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.283e-05/0.1341, allocations: 4 kB / 0.5619 GB, free: 14.88 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 1 (roughness) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001163/0.1342, allocations: 133.7 kB / 0.562 GB, free: 14.74 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.099e-05/0.1342, allocations: 7.953 kB / 0.562 GB, free: 14.73 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003364/0.1346, allocations: 137.9 kB / 0.5621 GB, free: 14.59 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.1346, allocations: 0 / 0.5621 GB, free: 14.59 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.1346, allocations: 0 / 0.5621 GB, free: 14.59 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.1346, allocations: 0 / 0.5621 GB, free: 14.59 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002295/0.1348, allocations: 197.5 kB / 0.5623 GB, free: 14.35 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.1348, allocations: 0 / 0.5623 GB, free: 14.35 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001446/0.135, allocations: 27.97 kB / 0.5623 GB, free: 14.32 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.135, allocations: 4 kB / 0.5624 GB, free: 14.32 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.18e-05/0.135, allocations: 15.94 kB / 0.5624 GB, free: 14.3 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.135, allocations: 480 / 0.5624 GB, free: 14.3 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.135, allocations: 0 / 0.5624 GB, free: 14.3 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003364/0.1353, allocations: 219.3 kB / 0.5626 GB, free: 14.07 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.321e-05/0.1354, allocations: 85.06 kB / 0.5627 GB, free: 13.97 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.546e-05/0.1354, allocations: 0 / 0.5627 GB, free: 13.97 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000105/0.1355, allocations: 11.98 kB / 0.5627 GB, free: 13.96 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.928e-05/0.1355, allocations: 8 kB / 0.5627 GB, free: 13.95 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.029e-06/0.1355, allocations: 0 / 0.5627 GB, free: 13.95 MB / 430.1 MB Notification: Performance of sorting global known variables: time 6.46e-05/0.1356, allocations: 98.77 kB / 0.5628 GB, free: 13.86 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1356, allocations: 0 / 0.5628 GB, free: 13.86 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002707/0.1359, allocations: 27.95 kB / 0.5628 GB, free: 13.83 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 (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006839/0.1366, allocations: 0.7397 MB / 0.5635 GB, free: 13.06 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003068/0.1369, allocations: 108.3 kB / 0.5636 GB, free: 12.96 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.1369, allocations: 0 / 0.5636 GB, free: 12.96 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001207/0.137, allocations: 39.91 kB / 0.5637 GB, free: 12.92 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002625/0.1372, allocations: 17.8 kB / 0.5637 GB, free: 12.9 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002039/0.1393, allocations: 1.669 MB / 0.5653 GB, free: 11.1 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000349/0.1396, allocations: 0.7158 MB / 0.566 GB, free: 10.36 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 8.233e-05/0.1397, allocations: 20.53 kB / 0.566 GB, free: 10.34 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.102e-05/0.1398, allocations: 27.42 kB / 0.5661 GB, free: 10.32 MB / 430.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1398, allocations: 0 / 0.5661 GB, free: 10.32 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02304/0.1628, allocations: 2.322 MB / 0.5683 GB, free: 8.172 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.132/9.295, allocations: 21.84 kB / 0.5683 GB, free: 8.16 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_laminar_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --stepSize=0.0002 --timeout=50 --tolerance=1e-05 ModelicaTest_4_1_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_laminar_DPMFLOW.fmu > ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/StraightPipe/dp_laminar_DPMFLOW/dp_laminar_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_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: 12.38672224408947]