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.001194/0.001194, allocations: 104.1 kB / 16.4 MB, free: 6.508 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.001254/0.001254, allocations: 189.5 kB / 17.34 MB, free: 5.742 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.309/1.309, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.203/0.203, allocations: 43.51 MB / 314.1 MB, free: 452 kB / 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.001404/0.001404, allocations: 71.91 kB / 441.3 MB, free: 6.121 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1126/0.114, allocations: 57.79 MB / 499.1 MB, free: 12.25 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW): time 0.003585/0.1176, allocations: 2.196 MB / 0.4896 GB, free: 10.04 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005124/0.1228, allocations: 3.292 MB / 0.4928 GB, free: 6.734 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002274/0.123, allocations: 7.938 kB / 0.4928 GB, free: 6.727 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004605/0.1235, allocations: 87.48 kB / 0.4929 GB, free: 6.641 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005397/0.1241, allocations: 147.2 kB / 0.493 GB, free: 6.496 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002352/0.1265, allocations: 0.8797 MB / 0.4939 GB, free: 5.613 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000757/0.1272, allocations: 0.5631 MB / 0.4944 GB, free: 5.047 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001671/0.1274, allocations: 81.73 kB / 0.4945 GB, free: 4.961 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004924/0.1279, allocations: 246.5 kB / 0.4947 GB, free: 4.719 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005369/0.1285, allocations: 278.5 kB / 0.495 GB, free: 4.445 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.555e-05/0.1286, allocations: 20 kB / 0.495 GB, free: 4.426 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002933/0.1315, allocations: 1.942 MB / 0.4969 GB, free: 2.48 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001709/0.1317, allocations: 147.2 kB / 0.4971 GB, free: 2.336 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003969/0.1321, allocations: 274 kB / 0.4973 GB, free: 2.066 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002542/0.1347, allocations: 1.683 MB / 0.499 GB, free: 388 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.1347, allocations: 0 / 0.499 GB, free: 388 kB / 382.1 MB Notification: Performance of FrontEnd: time 2.385e-06/0.1347, allocations: 0 / 0.499 GB, free: 388 kB / 382.1 MB Notification: Performance of Transformations before backend: time 2.209e-05/0.1347, allocations: 0 / 0.499 GB, free: 388 kB / 382.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.001943/0.1367, allocations: 1.034 MB / 0.5 GB, free: 15.29 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/0.1367, allocations: 8.031 kB / 0.5 GB, free: 15.29 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001633/0.1369, allocations: 144.1 kB / 0.5001 GB, free: 15.14 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001576/0.137, allocations: 72 kB / 0.5002 GB, free: 15.07 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004767/0.1375, allocations: 358.5 kB / 0.5005 GB, free: 14.68 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.656e-05/0.1376, allocations: 61.92 kB / 0.5006 GB, free: 14.61 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001058/0.1377, allocations: 68 kB / 0.5007 GB, free: 14.55 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001716/0.1394, allocations: 1.225 MB / 0.5019 GB, free: 13.32 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.847e-05/0.1394, allocations: 0 / 0.5019 GB, free: 13.32 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.63e-05/0.1395, allocations: 36 kB / 0.5019 GB, free: 13.28 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001036/0.1396, allocations: 85.94 kB / 0.502 GB, free: 13.2 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002496/0.1421, allocations: 1.714 MB / 0.5037 GB, free: 11.48 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004382/0.1465, allocations: 2.919 MB / 0.5065 GB, free: 8.418 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008344/0.1474, allocations: 423.8 kB / 0.5069 GB, free: 7.996 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002456/0.1476, allocations: 145.3 kB / 0.507 GB, free: 7.852 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.18e-05/0.1477, allocations: 20.27 kB / 0.5071 GB, free: 7.832 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.105e-05/0.1477, allocations: 30.84 kB / 0.5071 GB, free: 7.793 MB / 398.1 MB Notification: Performance of pre-optimization done (n=34): time 1.673e-06/0.1477, allocations: 0 / 0.5071 GB, free: 7.793 MB / 398.1 MB Notification: Performance of matching and sorting (n=34): time 0.0009241/0.1487, allocations: 494.3 kB / 0.5076 GB, free: 7.305 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.095e-05/0.1487, allocations: 51.41 kB / 0.5076 GB, free: 7.242 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001945/0.1489, allocations: 210.4 kB / 0.5078 GB, free: 7.023 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.983e-05/0.149, allocations: 37.7 kB / 0.5079 GB, free: 6.98 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002172/0.1492, allocations: 386.2 kB / 0.5082 GB, free: 6.594 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.788e-05/0.1493, allocations: 122.3 kB / 0.5083 GB, free: 6.473 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001527/0.1494, allocations: 118.1 kB / 0.5084 GB, free: 6.352 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001201/0.1496, allocations: 334.8 kB / 0.5088 GB, free: 6.016 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002802/0.1499, allocations: 153 kB / 0.5089 GB, free: 5.863 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003767/0.1502, allocations: 346.3 kB / 0.5092 GB, free: 5.438 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006805/0.1509, allocations: 0.521 MB / 0.5098 GB, free: 4.828 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.476e-06/0.151, allocations: 7.984 kB / 0.5098 GB, free: 4.82 MB / 398.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0008675/0.1518, allocations: 0.5434 MB / 0.5103 GB, free: 4.27 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/0.1519, allocations: 15.92 kB / 0.5103 GB, free: 4.254 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.062e-05/0.1519, allocations: 8 kB / 0.5103 GB, free: 4.246 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.085e-05/0.1519, allocations: 8.812 kB / 0.5103 GB, free: 4.238 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006925/0.1526, allocations: 215.7 kB / 0.5105 GB, free: 4.027 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001413/0.154, allocations: 2.989 MB / 0.5134 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002652/0.1543, allocations: 55.41 kB / 0.5135 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.43e-05/0.1544, allocations: 36.27 kB / 0.5135 GB, free: 0.832 MB / 398.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.000326/0.1547, allocations: 285.2 kB / 0.5138 GB, free: 0.543 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.491e-05/0.1547, allocations: 19.72 kB / 0.5138 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001062/0.1558, allocations: 0.5464 MB / 0.5144 GB, free: 15.97 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.172e-06/0.1558, allocations: 4 kB / 0.5144 GB, free: 15.96 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.1558, allocations: 0 / 0.5144 GB, free: 15.96 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.232e-06/0.1559, allocations: 3.984 kB / 0.5144 GB, free: 15.96 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00168/0.1575, allocations: 1.181 MB / 0.5155 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.49e-06/0.1576, allocations: 4 kB / 0.5155 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005881/0.1582, allocations: 175.8 kB / 0.5157 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.975e-06/0.1582, allocations: 4 kB / 0.5157 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.235e-05/0.1582, allocations: 20 kB / 0.5157 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001587/0.1598, allocations: 2.962 MB / 0.5186 GB, free: 11.42 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.526e-06/0.1598, allocations: 3.984 kB / 0.5186 GB, free: 11.42 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006737/0.1605, allocations: 498.3 kB / 0.5191 GB, free: 10.89 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.946e-05/0.1606, allocations: 100.8 kB / 0.5192 GB, free: 10.77 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.633e-05/0.1606, allocations: 11.94 kB / 0.5192 GB, free: 10.76 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001881/0.1608, allocations: 15.98 kB / 0.5192 GB, free: 10.75 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.139e-05/0.1609, allocations: 43.91 kB / 0.5192 GB, free: 10.7 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.36e-05/0.161, allocations: 23.98 kB / 0.5193 GB, free: 10.68 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001462/0.1611, allocations: 127.2 kB / 0.5194 GB, free: 10.55 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1611, allocations: 0 / 0.5194 GB, free: 10.55 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0009494/0.1621, allocations: 350.8 kB / 0.5197 GB, free: 10.21 MB / 414.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.00163/0.1637, allocations: 1.278 MB / 0.521 GB, free: 8.883 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001126/0.1649, allocations: 479.8 kB / 0.5214 GB, free: 8.414 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.262e-06/0.1649, allocations: 0 / 0.5214 GB, free: 8.414 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005851/0.1655, allocations: 265.4 kB / 0.5217 GB, free: 8.156 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003938/0.1659, allocations: 28 kB / 0.5217 GB, free: 8.129 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00581/0.1717, allocations: 3.958 MB / 0.5256 GB, free: 3.871 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000834/0.1726, allocations: 0.9907 MB / 0.5265 GB, free: 2.852 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004898/0.1731, allocations: 170.5 kB / 0.5267 GB, free: 2.684 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002894/0.1734, allocations: 211.3 kB / 0.5269 GB, free: 2.477 MB / 414.1 MB Notification: Performance of SimCode: time 6.71e-07/0.1734, allocations: 0 / 0.5269 GB, free: 2.477 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2371/0.4105, allocations: 12.69 MB / 0.5393 GB, free: 39.43 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.17/11.58, allocations: 7.812 kB / 0.5393 GB, free: 39.43 MB / 414.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