Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001258/0.001258, allocations: 119 kB / 18.5 MB, free: 4.434 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001295/0.001295, allocations: 190.9 kB / 21.44 MB, free: 1.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.444/1.444, allocations: 225.6 MB / 249.8 MB, free: 3.613 MB / 190.1 MB " [Timeout remaining time 178] 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.2117/0.2117, allocations: 44.92 MB / 349.6 MB, free: 1.73 MB / 270.1 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_overall_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_overall_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001904/0.001904, allocations: 68.11 kB / 491.8 MB, free: 30.4 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1093/0.1112, allocations: 64.26 MB / 0.543 GB, free: 4.23 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW): time 0.003599/0.1148, allocations: 1.824 MB / 0.5448 GB, free: 2.387 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004243/0.119, allocations: 2.89 MB / 0.5476 GB, free: 15.49 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.558e-05/0.1191, allocations: 0 / 0.5476 GB, free: 15.49 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002654/0.1194, allocations: 43.75 kB / 0.5477 GB, free: 15.45 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003215/0.1197, allocations: 87.56 kB / 0.5478 GB, free: 15.36 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001579/0.1213, allocations: 0.7161 MB / 0.5485 GB, free: 14.64 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003044/0.1216, allocations: 242.7 kB / 0.5487 GB, free: 14.4 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.565e-05/0.1216, allocations: 20.69 kB / 0.5487 GB, free: 14.38 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001602/0.1218, allocations: 103.4 kB / 0.5488 GB, free: 14.28 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001798/0.122, allocations: 127.4 kB / 0.5489 GB, free: 14.15 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.279e-05/0.122, allocations: 8 kB / 0.5489 GB, free: 14.14 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001661/0.1237, allocations: 1.209 MB / 0.5501 GB, free: 12.93 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.503e-05/0.1238, allocations: 71.67 kB / 0.5502 GB, free: 12.86 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001146/0.1239, allocations: 119.2 kB / 0.5503 GB, free: 12.75 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001269/0.1252, allocations: 0.9187 MB / 0.5512 GB, free: 11.82 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.1252, allocations: 0 / 0.5512 GB, free: 11.82 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.1252, allocations: 0 / 0.5512 GB, free: 11.82 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.292e-06/0.1252, allocations: 0 / 0.5512 GB, free: 11.82 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.0009868/0.1261, allocations: 0.6809 MB / 0.5519 GB, free: 11.09 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.911e-05/0.1262, allocations: 12.02 kB / 0.5519 GB, free: 11.08 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.281e-05/0.1263, allocations: 78.7 kB / 0.552 GB, free: 11 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.463e-05/0.1263, allocations: 32.7 kB / 0.552 GB, free: 10.96 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002933/0.1266, allocations: 239.1 kB / 0.5522 GB, free: 10.69 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.38e-05/0.1267, allocations: 24.56 kB / 0.5522 GB, free: 10.67 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.409e-05/0.1267, allocations: 31.92 kB / 0.5523 GB, free: 10.64 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007187/0.1274, allocations: 471.2 kB / 0.5527 GB, free: 10.17 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.1274, allocations: 0 / 0.5527 GB, free: 10.17 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.718e-05/0.1275, allocations: 12 kB / 0.5527 GB, free: 10.16 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.883e-05/0.1275, allocations: 40.97 kB / 0.5528 GB, free: 10.12 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008677/0.1284, allocations: 0.5504 MB / 0.5533 GB, free: 9.57 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001921/0.1303, allocations: 1.304 MB / 0.5546 GB, free: 8.145 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005052/0.1308, allocations: 262.5 kB / 0.5548 GB, free: 7.879 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001906/0.131, allocations: 88.8 kB / 0.5549 GB, free: 7.789 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.293e-05/0.131, allocations: 16.3 kB / 0.5549 GB, free: 7.773 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.002e-05/0.1311, allocations: 34.56 kB / 0.555 GB, free: 7.73 MB / 414.1 MB Notification: Performance of pre-optimization done (n=25): time 1.743e-06/0.1311, allocations: 4 kB / 0.555 GB, free: 7.727 MB / 414.1 MB Notification: Performance of matching and sorting (n=25): time 0.0007246/0.1318, allocations: 333.2 kB / 0.5553 GB, free: 7.395 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.736e-05/0.1318, allocations: 59.41 kB / 0.5553 GB, free: 7.324 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001315/0.132, allocations: 146.1 kB / 0.5555 GB, free: 7.168 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.393e-05/0.132, allocations: 29.7 kB / 0.5555 GB, free: 7.133 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001248/0.1321, allocations: 196.2 kB / 0.5557 GB, free: 6.938 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.877e-05/0.1322, allocations: 91.25 kB / 0.5558 GB, free: 6.848 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001025/0.1323, allocations: 73.64 kB / 0.5558 GB, free: 6.77 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001362/0.1324, allocations: 326.8 kB / 0.5562 GB, free: 6.441 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001946/0.1326, allocations: 95.86 kB / 0.5563 GB, free: 6.348 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002541/0.1329, allocations: 174.2 kB / 0.5564 GB, free: 6.141 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004774/0.1334, allocations: 286.9 kB / 0.5567 GB, free: 5.824 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.007e-06/0.1334, allocations: 7.984 kB / 0.5567 GB, free: 5.816 MB / 414.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005773/0.1339, allocations: 329 kB / 0.557 GB, free: 5.488 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/0.134, allocations: 4 kB / 0.557 GB, free: 5.484 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/0.134, allocations: 4.344 kB / 0.557 GB, free: 5.48 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.76e-05/0.134, allocations: 8 kB / 0.557 GB, free: 5.473 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004743/0.1345, allocations: 119.9 kB / 0.5571 GB, free: 5.355 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001516/0.136, allocations: 2.36 MB / 0.5594 GB, free: 2.902 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001722/0.1361, allocations: 35.77 kB / 0.5595 GB, free: 2.867 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.949e-05/0.1362, allocations: 16 kB / 0.5595 GB, free: 2.852 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (36): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * 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): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002005/0.1364, allocations: 177.8 kB / 0.5597 GB, free: 2.668 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.604e-05/0.1364, allocations: 11.95 kB / 0.5597 GB, free: 2.656 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007739/0.1372, allocations: 358.4 kB / 0.56 GB, free: 2.301 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.591e-06/0.1372, allocations: 4 kB / 0.56 GB, free: 2.297 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.1372, allocations: 0 / 0.56 GB, free: 2.297 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.644e-06/0.1372, allocations: 7.922 kB / 0.56 GB, free: 2.289 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003993/0.1376, allocations: 333.4 kB / 0.5603 GB, free: 1.914 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.1376, allocations: 3.938 kB / 0.5604 GB, free: 1.91 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000405/0.138, allocations: 107.9 kB / 0.5605 GB, free: 1.805 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.138, allocations: 4 kB / 0.5605 GB, free: 1.801 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.087e-05/0.138, allocations: 8 kB / 0.5605 GB, free: 1.793 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001333/0.1394, allocations: 2.364 MB / 0.5628 GB, free: 15.34 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1394, allocations: 0 / 0.5628 GB, free: 15.34 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005789/0.14, allocations: 377 kB / 0.5631 GB, free: 14.95 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.156e-05/0.14, allocations: 92.95 kB / 0.5632 GB, free: 14.84 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.134e-05/0.14, allocations: 11.94 kB / 0.5632 GB, free: 14.83 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001412/0.1402, allocations: 11.98 kB / 0.5632 GB, free: 14.82 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.188e-05/0.1403, allocations: 23.97 kB / 0.5633 GB, free: 14.8 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.975e-05/0.1403, allocations: 15.94 kB / 0.5633 GB, free: 14.78 MB / 430.1 MB Notification: Performance of sorting global known variables: time 7.672e-05/0.1403, allocations: 101.4 kB / 0.5634 GB, free: 14.68 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1403, allocations: 0 / 0.5634 GB, free: 14.68 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0006968/0.141, allocations: 254.6 kB / 0.5636 GB, free: 14.43 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 (29): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * 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): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001414/0.1425, allocations: 1.148 MB / 0.5647 GB, free: 13.26 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0007165/0.1432, allocations: 283.7 kB / 0.565 GB, free: 12.98 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.047e-06/0.1432, allocations: 4 kB / 0.565 GB, free: 12.98 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004256/0.1436, allocations: 172.5 kB / 0.5652 GB, free: 12.81 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003228/0.1439, allocations: 13.88 kB / 0.5652 GB, free: 12.8 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003301/0.1472, allocations: 2.578 MB / 0.5677 GB, free: 10.07 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004681/0.1477, allocations: 0.7987 MB / 0.5685 GB, free: 9.242 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002639/0.148, allocations: 105.7 kB / 0.5686 GB, free: 9.141 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001337/0.1481, allocations: 91.41 kB / 0.5687 GB, free: 9.051 MB / 430.1 MB Notification: Performance of SimCode: time 1.143e-06/0.1481, allocations: 0 / 0.5687 GB, free: 9.051 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0332/0.1813, allocations: 8.823 MB / 0.5773 GB, free: 464 kB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.95/12.14, allocations: 7.719 kB / 0.5773 GB, free: 456 kB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_overall_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --stepSize=0.0002 --timeout=50 --tolerance=1e-05 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_overall_DPMFLOW.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/StraightPipe/dp_overall_DPMFLOW/dp_overall_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_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: 15.451392920222133]