Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Channel.dp_internalFlowOverall_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Channel_dp_internalFlowOverall_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Channel_dp_internalFlowOverall_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001798/0.001798, allocations: 105.2 kB / 16.27 MB, free: 5.965 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001994/0.001994, allocations: 191.6 kB / 17.19 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.396/1.396, allocations: 205.1 MB / 223.1 MB, free: 12.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2488/0.2488, allocations: 43.53 MB / 313.9 MB, free: 0.5352 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001438/0.001438, allocations: 64.58 kB / 382.9 MB, free: 56.71 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1084/0.1099, allocations: 57.79 MB / 440.6 MB, free: 6.805 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW): time 0.003081/0.113, allocations: 2.178 MB / 442.8 MB, free: 4.602 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003409/0.1165, allocations: 3.311 MB / 446.1 MB, free: 1.277 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001113/0.1166, allocations: 0 / 446.1 MB, free: 1.277 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003038/0.1169, allocations: 91.47 kB / 446.2 MB, free: 1.188 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003614/0.1173, allocations: 143.2 kB / 446.4 MB, free: 1.047 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001343/0.1186, allocations: 0.8758 MB / 447.2 MB, free: 172 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004559/0.1191, allocations: 0.567 MB / 447.8 MB, free: 15.6 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001022/0.1192, allocations: 81.73 kB / 447.9 MB, free: 15.52 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002514/0.1195, allocations: 234.6 kB / 448.1 MB, free: 15.29 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002939/0.1198, allocations: 278.4 kB / 448.4 MB, free: 15.01 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.179e-05/0.1198, allocations: 20 kB / 448.4 MB, free: 14.99 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002438/0.1223, allocations: 1.949 MB / 450.4 MB, free: 13.04 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001352/0.1224, allocations: 139.2 kB / 450.5 MB, free: 12.9 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002368/0.1227, allocations: 281.9 kB / 450.8 MB, free: 12.62 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001954/0.1246, allocations: 1.675 MB / 452.4 MB, free: 10.95 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.1246, allocations: 0 / 452.4 MB, free: 10.95 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.635e-06/0.1247, allocations: 0 / 452.4 MB, free: 10.95 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.374e-05/0.1247, allocations: 3.938 kB / 452.4 MB, free: 10.94 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.00161/0.1263, allocations: 1.026 MB / 453.5 MB, free: 9.863 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.944e-05/0.1263, allocations: 12.03 kB / 453.5 MB, free: 9.852 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001529/0.1265, allocations: 148.1 kB / 453.6 MB, free: 9.699 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001325/0.1266, allocations: 72 kB / 453.7 MB, free: 9.629 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004489/0.1271, allocations: 358.5 kB / 454 MB, free: 9.238 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.055e-05/0.1271, allocations: 50 kB / 454.1 MB, free: 9.191 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000106/0.1273, allocations: 75.98 kB / 454.2 MB, free: 9.117 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001686/0.129, allocations: 1.221 MB / 455.4 MB, free: 7.891 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.871e-05/0.129, allocations: 0 / 455.4 MB, free: 7.891 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.852e-05/0.1291, allocations: 31.98 kB / 455.4 MB, free: 7.859 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.351e-05/0.1292, allocations: 89.94 kB / 455.5 MB, free: 7.77 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002463/0.1316, allocations: 1.722 MB / 457.2 MB, free: 6.047 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004101/0.1358, allocations: 2.951 MB / 460.2 MB, free: 2.949 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008503/0.1366, allocations: 434.3 kB / 460.6 MB, free: 2.52 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002711/0.1369, allocations: 145.3 kB / 460.7 MB, free: 2.375 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.068e-05/0.137, allocations: 4.281 kB / 460.8 MB, free: 2.371 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.075e-05/0.137, allocations: 34.84 kB / 460.8 MB, free: 2.328 MB / 334.1 MB Notification: Performance of pre-optimization done (n=34): time 1.924e-06/0.137, allocations: 0 / 460.8 MB, free: 2.328 MB / 334.1 MB Notification: Performance of matching and sorting (n=34): time 0.0009646/0.138, allocations: 498.3 kB / 461.3 MB, free: 1.836 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.707e-05/0.138, allocations: 55.41 kB / 461.3 MB, free: 1.77 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001867/0.1382, allocations: 202.4 kB / 461.5 MB, free: 1.562 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.809e-05/0.1383, allocations: 29.7 kB / 461.6 MB, free: 1.527 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002213/0.1385, allocations: 394.2 kB / 461.9 MB, free: 1.133 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.92e-05/0.1386, allocations: 118.3 kB / 462.1 MB, free: 1.016 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001395/0.1387, allocations: 118.1 kB / 462.2 MB, free: 0.8945 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001286/0.1389, allocations: 346.8 kB / 462.5 MB, free: 0.5469 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002668/0.1391, allocations: 145 kB / 462.7 MB, free: 412 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004247/0.1396, allocations: 342.4 kB / 463 MB, free: 15.98 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007518/0.1403, allocations: 0.5287 MB / 463.5 MB, free: 15.36 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.599e-06/0.1404, allocations: 4 kB / 463.5 MB, free: 15.36 MB / 350.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0009526/0.1413, allocations: 0.5518 MB / 464.1 MB, free: 14.8 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.714e-05/0.1414, allocations: 8 kB / 464.1 MB, free: 14.79 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.641e-05/0.1414, allocations: 8 kB / 464.1 MB, free: 14.79 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.018e-05/0.1414, allocations: 8 kB / 464.1 MB, free: 14.78 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007202/0.1421, allocations: 203.8 kB / 464.3 MB, free: 14.58 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001585/0.1437, allocations: 3.005 MB / 467.3 MB, free: 11.46 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002929/0.144, allocations: 51.52 kB / 467.3 MB, free: 11.41 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.383e-05/0.1441, allocations: 32 kB / 467.4 MB, free: 11.38 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 6 (geometry[5],roughness,geometry[4],geometry[3],geometry[2],geometry[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 5 * 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): 5 systems {1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003658/0.1445, allocations: 281.3 kB / 467.7 MB, free: 11.09 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.756e-05/0.1445, allocations: 19.72 kB / 467.7 MB, free: 11.07 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001186/0.1457, allocations: 0.554 MB / 468.2 MB, free: 10.51 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/0.1457, allocations: 4 kB / 468.2 MB, free: 10.51 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.1458, allocations: 0 / 468.2 MB, free: 10.51 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.061e-06/0.1458, allocations: 7.922 kB / 468.2 MB, free: 10.5 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001747/0.1475, allocations: 1.165 MB / 469.4 MB, free: 9.254 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.1475, allocations: 0 / 469.4 MB, free: 9.254 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006094/0.1482, allocations: 184 kB / 469.6 MB, free: 9.074 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.622e-06/0.1482, allocations: 4 kB / 469.6 MB, free: 9.07 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.036e-05/0.1482, allocations: 16 kB / 469.6 MB, free: 9.055 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001422/0.1496, allocations: 2.961 MB / 472.6 MB, free: 5.977 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.037e-06/0.1497, allocations: 4.281 kB / 472.6 MB, free: 5.973 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006707/0.1503, allocations: 0.4902 MB / 473.1 MB, free: 5.441 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.933e-05/0.1504, allocations: 112.7 kB / 473.2 MB, free: 5.312 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.544e-05/0.1505, allocations: 11.94 kB / 473.2 MB, free: 5.301 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001855/0.1507, allocations: 11.98 kB / 473.2 MB, free: 5.289 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.326e-05/0.1508, allocations: 39.89 kB / 473.2 MB, free: 5.25 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.056e-05/0.1508, allocations: 24 kB / 473.3 MB, free: 5.227 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.373e-05/0.1509, allocations: 127.2 kB / 473.4 MB, free: 5.102 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1509, allocations: 3.938 kB / 473.4 MB, free: 5.098 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001012/0.1519, allocations: 350.8 kB / 473.7 MB, free: 4.754 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (39): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 5 * 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): 5 systems {1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001555/0.1535, allocations: 1.286 MB / 475 MB, free: 3.418 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001247/0.1548, allocations: 0.5243 MB / 475.5 MB, free: 2.895 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.1548, allocations: 4 kB / 475.5 MB, free: 2.891 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006247/0.1554, allocations: 259.6 kB / 475.8 MB, free: 2.637 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003694/0.1558, allocations: 35.73 kB / 475.8 MB, free: 2.605 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005206/0.161, allocations: 3.961 MB / 479.8 MB, free: 14.34 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005387/0.1616, allocations: 0.9867 MB / 480.8 MB, free: 13.33 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0005156/0.1621, allocations: 166.6 kB / 480.9 MB, free: 13.17 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002622/0.1624, allocations: 207.4 kB / 481.1 MB, free: 12.97 MB / 366.1 MB Notification: Performance of SimCode: time 1.062e-06/0.1624, allocations: 0 / 481.1 MB, free: 12.97 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03697/0.1993, allocations: 12.39 MB / 493.5 MB, free: 0.6133 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.99/12.19, allocations: 8.828 kB / 493.5 MB, free: 0.6055 MB / 366.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Channel_dp_internalFlowOverall_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Channel_dp_internalFlowOverall_DPMFLOW.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/Channel/dp_internalFlowOverall_DPMFLOW/dp_internalFlowOverall_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches