Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_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_trunk_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 trunk/package.mo): time 0.001187/0.001187, allocations: 108.7 kB / 17.33 MB, free: 5.984 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001301/0.001301, allocations: 201.8 kB / 18.26 MB, free: 5.062 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.436/1.436, allocations: 227.4 MB / 246.4 MB, free: 9.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2202/0.2202, allocations: 46.09 MB / 343.8 MB, free: 11.55 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001548/0.001548, allocations: 72.7 kB / 417.2 MB, free: 19.94 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1086/0.1102, allocations: 62.44 MB / 479.6 MB, free: 5.48 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW): time 0.003738/0.114, allocations: 2.265 MB / 481.9 MB, free: 3.195 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004929/0.1189, allocations: 3.318 MB / 485.2 MB, free: 15.86 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001916/0.1192, allocations: 8 kB / 485.2 MB, free: 15.86 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004306/0.1196, allocations: 91.77 kB / 485.3 MB, free: 15.77 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004741/0.1201, allocations: 119.4 kB / 485.4 MB, free: 15.65 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002021/0.1222, allocations: 0.8098 MB / 486.2 MB, free: 14.84 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005869/0.1228, allocations: 0.5671 MB / 486.8 MB, free: 14.27 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001255/0.1229, allocations: 85.66 kB / 486.9 MB, free: 14.18 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004254/0.1233, allocations: 238.6 kB / 487.1 MB, free: 13.95 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003621/0.1237, allocations: 294.4 kB / 487.4 MB, free: 13.66 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.037e-05/0.1238, allocations: 20 kB / 487.4 MB, free: 13.64 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002439/0.1262, allocations: 1.984 MB / 489.4 MB, free: 11.65 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001425/0.1264, allocations: 143.2 kB / 489.5 MB, free: 11.51 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002538/0.1266, allocations: 278 kB / 489.8 MB, free: 11.24 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002019/0.1287, allocations: 1.683 MB / 491.5 MB, free: 9.551 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.1287, allocations: 4 kB / 491.5 MB, free: 9.547 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.1287, allocations: 0 / 491.5 MB, free: 9.547 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.51e-05/0.1287, allocations: 0 / 491.5 MB, free: 9.547 MB / 366.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.001871/0.1306, allocations: 1.033 MB / 492.5 MB, free: 8.465 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.1306, allocations: 12.03 kB / 492.5 MB, free: 8.453 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001603/0.1308, allocations: 144.1 kB / 492.7 MB, free: 8.305 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000151/0.131, allocations: 76 kB / 492.7 MB, free: 8.23 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004579/0.1314, allocations: 354.5 kB / 493.1 MB, free: 7.844 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.636e-05/0.1315, allocations: 61.98 kB / 493.2 MB, free: 7.785 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001052/0.1316, allocations: 75.94 kB / 493.2 MB, free: 7.711 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001666/0.1333, allocations: 1.221 MB / 494.4 MB, free: 6.48 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.792e-05/0.1333, allocations: 0 / 494.4 MB, free: 6.48 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.283e-05/0.1334, allocations: 31.98 kB / 494.5 MB, free: 6.449 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.838e-05/0.1335, allocations: 85.94 kB / 494.6 MB, free: 6.363 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002319/0.1358, allocations: 1.714 MB / 496.3 MB, free: 4.652 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004169/0.14, allocations: 2.95 MB / 499.2 MB, free: 1.551 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008267/0.1408, allocations: 433.2 kB / 499.6 MB, free: 1.125 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002568/0.1411, allocations: 145.3 kB / 499.8 MB, free: 0.9805 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.906e-05/0.1412, allocations: 16.25 kB / 499.8 MB, free: 0.9648 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.426e-05/0.1412, allocations: 34.84 kB / 499.8 MB, free: 0.9219 MB / 366.1 MB Notification: Performance of pre-optimization done (n=34): time 1.893e-06/0.1412, allocations: 0 / 499.8 MB, free: 0.9219 MB / 366.1 MB Notification: Performance of matching and sorting (n=34): time 0.000953/0.1422, allocations: 483.3 kB / 0.4886 GB, free: 456 kB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.413e-05/0.1422, allocations: 59.34 kB / 0.4886 GB, free: 384 kB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001954/0.1424, allocations: 218.8 kB / 0.4889 GB, free: 156 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.382e-05/0.1425, allocations: 37.7 kB / 0.4889 GB, free: 112 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002472/0.1427, allocations: 382.2 kB / 0.4893 GB, free: 15.73 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001111/0.1429, allocations: 126.3 kB / 0.4894 GB, free: 15.6 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001534/0.143, allocations: 118.1 kB / 0.4895 GB, free: 15.48 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001407/0.1432, allocations: 338.8 kB / 0.4898 GB, free: 15.14 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002832/0.1435, allocations: 145 kB / 0.4899 GB, free: 15 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004031/0.1439, allocations: 346.3 kB / 0.4903 GB, free: 14.57 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007479/0.1446, allocations: 0.5288 MB / 0.4908 GB, free: 13.96 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.022e-06/0.1446, allocations: 0 / 0.4908 GB, free: 13.96 MB / 382.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0009395/0.1456, allocations: 0.5436 MB / 0.4913 GB, free: 13.41 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.284e-05/0.1456, allocations: 8 kB / 0.4913 GB, free: 13.4 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.329e-05/0.1456, allocations: 11.98 kB / 0.4913 GB, free: 13.39 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.039e-05/0.1457, allocations: 8 kB / 0.4914 GB, free: 13.38 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007224/0.1464, allocations: 216.5 kB / 0.4916 GB, free: 13.17 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001458/0.1479, allocations: 2.996 MB / 0.4945 GB, free: 10.05 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003439/0.1482, allocations: 59.7 kB / 0.4945 GB, free: 9.996 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.896e-05/0.1483, allocations: 43.94 kB / 0.4946 GB, free: 9.953 MB / 382.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.000466/0.1488, allocations: 269.4 kB / 0.4948 GB, free: 9.68 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.09e-05/0.1488, allocations: 19.72 kB / 0.4949 GB, free: 9.66 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001253/0.1501, allocations: 0.55 MB / 0.4954 GB, free: 9.109 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.794e-06/0.1501, allocations: 4 kB / 0.4954 GB, free: 9.105 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.274e-06/0.1501, allocations: 4 kB / 0.4954 GB, free: 9.102 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.374e-06/0.1501, allocations: 7.922 kB / 0.4954 GB, free: 9.094 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001772/0.1519, allocations: 1.16 MB / 0.4965 GB, free: 7.852 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.1519, allocations: 0 / 0.4965 GB, free: 7.852 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006013/0.1525, allocations: 175.8 kB / 0.4967 GB, free: 7.68 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.157e-06/0.1526, allocations: 4 kB / 0.4967 GB, free: 7.676 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.184e-05/0.1526, allocations: 20 kB / 0.4967 GB, free: 7.656 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001372/0.154, allocations: 2.966 MB / 0.4996 GB, free: 4.574 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.154, allocations: 0 / 0.4996 GB, free: 4.574 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006824/0.1547, allocations: 0.4904 MB / 0.5001 GB, free: 4.043 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.72e-05/0.1548, allocations: 104.7 kB / 0.5002 GB, free: 3.922 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.093e-05/0.1548, allocations: 11.94 kB / 0.5002 GB, free: 3.91 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001973/0.155, allocations: 19.98 kB / 0.5002 GB, free: 3.891 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.604e-05/0.1551, allocations: 43.89 kB / 0.5003 GB, free: 3.848 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.953e-05/0.1552, allocations: 20 kB / 0.5003 GB, free: 3.828 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000101/0.1553, allocations: 132.5 kB / 0.5004 GB, free: 3.699 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.1553, allocations: 0 / 0.5004 GB, free: 3.699 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009641/0.1562, allocations: 350.8 kB / 0.5008 GB, free: 3.355 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.001742/0.158, allocations: 1.3 MB / 0.502 GB, free: 2.004 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001243/0.1593, allocations: 0.5328 MB / 0.5026 GB, free: 1.473 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.658e-06/0.1593, allocations: 0 / 0.5026 GB, free: 1.473 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006139/0.1599, allocations: 268.2 kB / 0.5028 GB, free: 1.211 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004067/0.1603, allocations: 23.98 kB / 0.5028 GB, free: 1.188 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1859/0.3462, allocations: 4.273 MB / 0.507 GB, free: 40.76 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005068/0.3468, allocations: 0.9896 MB / 0.508 GB, free: 40.06 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005582/0.3473, allocations: 172.7 kB / 0.5081 GB, free: 40.05 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002627/0.3476, allocations: 207.6 kB / 0.5083 GB, free: 40.05 MB / 382.1 MB Notification: Performance of SimCode: time 1.593e-06/0.3476, allocations: 0 / 0.5083 GB, free: 40.05 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02936/0.377, allocations: 12.36 MB / 0.5204 GB, free: 36.64 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001663/0.3772, allocations: 291.5 kB / 0.5207 GB, free: 36.27 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.241/2.618, allocations: 5.469 kB / 0.5207 GB, free: 36.27 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Channel_dp_internalFlowOverall_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Channel_dp_internalFlowOverall_DPMFLOW.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches