Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.Channel.dp_internalFlowOverall_DPMFLOW,fileNamePrefix="ModelicaTest_4_0_0_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_4_0_0_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.0007686/0.0007685, allocations: 95.34 kB / 17.35 MB, free: 6.375 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.0007877/0.0007878, allocations: 180.2 kB / 18.26 MB, free: 5.52 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.336/1.336, allocations: 223.3 MB / 242.3 MB, free: 232 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2039/0.2039, allocations: 44.26 MB / 337.7 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003303/0.0003303, allocations: 9.719 kB / 410.5 MB, free: 27.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1089/0.1092, allocations: 61.91 MB / 472.4 MB, free: 13.23 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW): time 0.002384/0.1116, allocations: 1.898 MB / 474.3 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004346/0.116, allocations: 3.237 MB / 477.5 MB, free: 8.07 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001697/0.1162, allocations: 0 / 477.5 MB, free: 8.07 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003603/0.1166, allocations: 83.84 kB / 477.6 MB, free: 7.988 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003824/0.117, allocations: 131.3 kB / 477.7 MB, free: 7.859 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001593/0.1186, allocations: 0.7868 MB / 478.5 MB, free: 7.07 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005431/0.1191, allocations: 0.6451 MB / 479.1 MB, free: 6.422 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001141/0.1192, allocations: 81.73 kB / 479.2 MB, free: 6.336 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000245/0.1195, allocations: 230.5 kB / 479.5 MB, free: 6.109 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003138/0.1198, allocations: 282.5 kB / 479.7 MB, free: 5.832 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.18e-05/0.1199, allocations: 16 kB / 479.7 MB, free: 5.816 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00218/0.1221, allocations: 1.938 MB / 481.7 MB, free: 3.875 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001361/0.1222, allocations: 147.1 kB / 481.8 MB, free: 3.73 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002493/0.1225, allocations: 299.7 kB / 482.1 MB, free: 3.43 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001913/0.1244, allocations: 1.651 MB / 483.8 MB, free: 1.773 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.563e-06/0.1244, allocations: 4 kB / 483.8 MB, free: 1.77 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.1244, allocations: 0 / 483.8 MB, free: 1.77 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.214e-06/0.1244, allocations: 4 kB / 483.8 MB, free: 1.766 MB / 350.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.00145/0.1259, allocations: 0.9113 MB / 484.7 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.876e-05/0.1259, allocations: 8.031 kB / 484.7 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001459/0.1261, allocations: 148.1 kB / 484.8 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001095/0.1262, allocations: 76 kB / 484.9 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004087/0.1266, allocations: 354.5 kB / 485.3 MB, free: 188 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.936e-05/0.1267, allocations: 54 kB / 485.3 MB, free: 136 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001059/0.1268, allocations: 72 kB / 485.4 MB, free: 64 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001669/0.1284, allocations: 1.233 MB / 486.6 MB, free: 14.82 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.86e-05/0.1285, allocations: 0 / 486.6 MB, free: 14.82 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.193e-05/0.1286, allocations: 28 kB / 486.6 MB, free: 14.8 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.604e-05/0.1286, allocations: 81.95 kB / 486.7 MB, free: 14.71 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002339/0.131, allocations: 1.737 MB / 488.5 MB, free: 12.98 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004004/0.135, allocations: 2.935 MB / 491.4 MB, free: 9.887 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008056/0.1358, allocations: 435.7 kB / 491.8 MB, free: 9.453 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002582/0.1361, allocations: 149.3 kB / 492 MB, free: 9.305 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.566e-05/0.1362, allocations: 16.27 kB / 492 MB, free: 9.289 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.064e-05/0.1362, allocations: 30.84 kB / 492 MB, free: 9.25 MB / 366.1 MB Notification: Performance of pre-optimization done (n=34): time 2.504e-06/0.1362, allocations: 4 kB / 492 MB, free: 9.246 MB / 366.1 MB Notification: Performance of matching and sorting (n=34): time 0.00092/0.1371, allocations: 491.4 kB / 492.5 MB, free: 8.762 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.481e-05/0.1372, allocations: 63.34 kB / 492.6 MB, free: 8.688 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000177/0.1374, allocations: 214.9 kB / 492.8 MB, free: 8.465 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.093e-05/0.1374, allocations: 29.7 kB / 492.8 MB, free: 8.43 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002035/0.1376, allocations: 394.1 kB / 493.2 MB, free: 8.035 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.766e-05/0.1377, allocations: 118.4 kB / 493.3 MB, free: 7.918 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.985e-05/0.1378, allocations: 57.69 kB / 493.4 MB, free: 7.855 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001147/0.1379, allocations: 338.8 kB / 493.7 MB, free: 7.516 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002754/0.1382, allocations: 157 kB / 493.8 MB, free: 7.363 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003893/0.1386, allocations: 354.3 kB / 494.2 MB, free: 6.926 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006912/0.1393, allocations: 0.5404 MB / 494.7 MB, free: 6.297 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.1393, allocations: 0 / 494.7 MB, free: 6.297 MB / 366.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0008643/0.1402, allocations: 0.5551 MB / 495.3 MB, free: 5.734 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.001e-05/0.1402, allocations: 10.5 kB / 495.3 MB, free: 5.727 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.142e-05/0.1402, allocations: 8.844 kB / 495.3 MB, free: 5.719 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.064e-05/0.1403, allocations: 11.98 kB / 495.3 MB, free: 5.707 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006689/0.1409, allocations: 211.8 kB / 495.5 MB, free: 5.5 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001381/0.1423, allocations: 3 MB / 498.5 MB, free: 2.383 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002898/0.1426, allocations: 67.7 kB / 498.6 MB, free: 2.316 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.083e-05/0.1427, allocations: 28 kB / 498.6 MB, free: 2.289 MB / 366.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.0003094/0.143, allocations: 273.4 kB / 498.9 MB, free: 2.012 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.998e-05/0.1431, allocations: 19.81 kB / 498.9 MB, free: 1.992 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001154/0.1442, allocations: 0.5581 MB / 499.5 MB, free: 1.434 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.522e-06/0.1442, allocations: 4 kB / 499.5 MB, free: 1.43 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.1442, allocations: 3.984 kB / 499.5 MB, free: 1.426 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.1442, allocations: 0 / 499.5 MB, free: 1.426 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001561/0.1458, allocations: 1.168 MB / 0.4889 GB, free: 180 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.357e-06/0.1458, allocations: 0 / 0.4889 GB, free: 180 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000584/0.1464, allocations: 183.8 kB / 0.4891 GB, free: 15.99 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.973e-06/0.1464, allocations: 4 kB / 0.4891 GB, free: 15.99 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.625e-05/0.1465, allocations: 15.94 kB / 0.4891 GB, free: 15.98 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001264/0.1477, allocations: 2.966 MB / 0.492 GB, free: 12.89 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-06/0.1478, allocations: 4 kB / 0.492 GB, free: 12.89 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006544/0.1484, allocations: 0.5074 MB / 0.4925 GB, free: 12.34 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6e-05/0.1485, allocations: 96.86 kB / 0.4926 GB, free: 12.23 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.527e-05/0.1485, allocations: 23.92 kB / 0.4926 GB, free: 12.21 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001796/0.1487, allocations: 12 kB / 0.4926 GB, free: 12.2 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.273e-05/0.1488, allocations: 47.88 kB / 0.4927 GB, free: 12.15 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.969e-05/0.1489, allocations: 20 kB / 0.4927 GB, free: 12.13 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.778e-05/0.1489, allocations: 131.2 kB / 0.4928 GB, free: 12 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.149, allocations: 3.938 kB / 0.4928 GB, free: 12 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008797/0.1498, allocations: 358.6 kB / 0.4932 GB, free: 11.64 MB / 382.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.001756/0.1516, allocations: 1.292 MB / 0.4944 GB, free: 10.3 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001103/0.1527, allocations: 489.7 kB / 0.4949 GB, free: 9.824 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/0.1527, allocations: 4 kB / 0.4949 GB, free: 9.82 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005727/0.1533, allocations: 259.7 kB / 0.4951 GB, free: 9.566 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004025/0.1537, allocations: 32.55 kB / 0.4952 GB, free: 9.535 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005142/0.1589, allocations: 4.324 MB / 0.4994 GB, free: 4.91 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000511/0.1594, allocations: 0.9868 MB / 0.5003 GB, free: 3.898 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000494/0.1599, allocations: 166.6 kB / 0.5005 GB, free: 3.738 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002485/0.1602, allocations: 207.4 kB / 0.5007 GB, free: 3.535 MB / 382.1 MB Notification: Performance of SimCode: time 6.82e-07/0.1602, allocations: 3.938 kB / 0.5007 GB, free: 3.531 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2184/0.3786, allocations: 11.92 MB / 0.5124 GB, free: 45.64 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001774/0.3788, allocations: 292.7 kB / 0.5126 GB, free: 45.26 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.029/2.407, allocations: 4 kB / 0.5126 GB, free: 45.26 MB / 382.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Channel_dp_internalFlowOverall_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Channel_dp_internalFlowOverall_DPMFLOW.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/Channel/dp_internalFlowOverall_DPMFLOW/dp_internalFlowOverall_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches