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.001189/0.001189, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001229/0.001229, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.319/1.319, allocations: 227.4 MB / 246.8 MB, free: 10.62 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2065/0.2065, allocations: 46.1 MB / 344.1 MB, free: 11.62 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001318/0.001318, allocations: 76.23 kB / 417.7 MB, free: 19.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.105/0.1064, allocations: 62.44 MB / 480.1 MB, free: 5.188 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW): time 0.004347/0.1108, allocations: 2.203 MB / 482.4 MB, free: 2.969 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005735/0.1165, allocations: 3.333 MB / 485.7 MB, free: 15.62 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001825/0.1167, allocations: 4 kB / 485.7 MB, free: 15.62 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004267/0.1172, allocations: 95.7 kB / 485.8 MB, free: 15.52 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005743/0.1178, allocations: 139.2 kB / 485.9 MB, free: 15.39 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00238/0.1202, allocations: 0.8947 MB / 486.8 MB, free: 14.49 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006113/0.1208, allocations: 0.5593 MB / 487.4 MB, free: 13.93 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001413/0.121, allocations: 77.75 kB / 487.4 MB, free: 13.85 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003957/0.1214, allocations: 246.5 kB / 487.7 MB, free: 13.61 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003677/0.1218, allocations: 282.4 kB / 488 MB, free: 13.33 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.49e-05/0.1218, allocations: 16 kB / 488 MB, free: 13.32 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002778/0.1246, allocations: 1.984 MB / 490 MB, free: 11.33 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001454/0.1248, allocations: 139.2 kB / 490.1 MB, free: 11.19 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002989/0.1251, allocations: 274 kB / 490.4 MB, free: 10.92 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002274/0.1274, allocations: 1.687 MB / 492.1 MB, free: 9.23 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.1274, allocations: 3.984 kB / 492.1 MB, free: 9.227 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.1274, allocations: 0 / 492.1 MB, free: 9.227 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.923e-05/0.1274, allocations: 4 kB / 492.1 MB, free: 9.223 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.001822/0.1293, allocations: 1.029 MB / 493.1 MB, free: 8.145 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.872e-05/0.1293, allocations: 12.03 kB / 493.1 MB, free: 8.133 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001663/0.1295, allocations: 152.1 kB / 493.3 MB, free: 7.977 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001364/0.1296, allocations: 72 kB / 493.3 MB, free: 7.906 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004316/0.1301, allocations: 358.5 kB / 493.7 MB, free: 7.516 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.055e-05/0.1301, allocations: 57.92 kB / 493.7 MB, free: 7.461 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.947e-05/0.1302, allocations: 72 kB / 493.8 MB, free: 7.391 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00169/0.1319, allocations: 1.225 MB / 495 MB, free: 6.156 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.528e-05/0.132, allocations: 3.938 kB / 495 MB, free: 6.152 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.114e-05/0.132, allocations: 35.98 kB / 495.1 MB, free: 6.117 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.666e-05/0.1321, allocations: 85.95 kB / 495.1 MB, free: 6.031 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002417/0.1346, allocations: 1.718 MB / 496.9 MB, free: 4.316 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004142/0.1387, allocations: 2.943 MB / 499.8 MB, free: 1.223 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008325/0.1396, allocations: 432.6 kB / 0.4885 GB, free: 0.793 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002528/0.1398, allocations: 145.3 kB / 0.4886 GB, free: 0.6484 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.046e-05/0.1399, allocations: 8.266 kB / 0.4887 GB, free: 0.6406 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.02e-05/0.1399, allocations: 34.84 kB / 0.4887 GB, free: 0.5977 MB / 366.1 MB Notification: Performance of pre-optimization done (n=34): time 2.965e-06/0.1399, allocations: 3.984 kB / 0.4887 GB, free: 0.5938 MB / 366.1 MB Notification: Performance of matching and sorting (n=34): time 0.0008947/0.1408, allocations: 487.3 kB / 0.4892 GB, free: 116 kB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.564e-05/0.1409, allocations: 59.34 kB / 0.4892 GB, free: 44 kB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000183/0.141, allocations: 210.3 kB / 0.4894 GB, free: 15.83 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.586e-05/0.1411, allocations: 33.69 kB / 0.4894 GB, free: 15.79 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002001/0.1413, allocations: 386.2 kB / 0.4898 GB, free: 15.4 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.118e-05/0.1414, allocations: 122.3 kB / 0.4899 GB, free: 15.28 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001325/0.1415, allocations: 114.2 kB / 0.49 GB, free: 15.16 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001103/0.1416, allocations: 342.8 kB / 0.4904 GB, free: 14.82 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002713/0.1419, allocations: 152.9 kB / 0.4905 GB, free: 14.67 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003855/0.1423, allocations: 342.4 kB / 0.4908 GB, free: 14.25 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007134/0.143, allocations: 0.5326 MB / 0.4914 GB, free: 13.62 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.987e-06/0.1431, allocations: 0 / 0.4914 GB, free: 13.62 MB / 382.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.000883/0.1439, allocations: 0.5403 MB / 0.4919 GB, free: 13.08 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.897e-05/0.144, allocations: 8 kB / 0.4919 GB, free: 13.07 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.166e-05/0.144, allocations: 8 kB / 0.4919 GB, free: 13.06 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.84e-05/0.144, allocations: 8 kB / 0.4919 GB, free: 13.05 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006911/0.1447, allocations: 211.7 kB / 0.4921 GB, free: 12.85 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001452/0.1462, allocations: 2.997 MB / 0.495 GB, free: 9.734 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002715/0.1465, allocations: 55.42 kB / 0.4951 GB, free: 9.68 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.156e-05/0.1465, allocations: 32 kB / 0.4951 GB, free: 9.648 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.0003193/0.1468, allocations: 277.4 kB / 0.4954 GB, free: 9.367 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.817e-05/0.1469, allocations: 19.72 kB / 0.4954 GB, free: 9.348 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001117/0.148, allocations: 0.5501 MB / 0.4959 GB, free: 8.797 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.462e-06/0.148, allocations: 7.984 kB / 0.4959 GB, free: 8.789 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.1481, allocations: 0 / 0.4959 GB, free: 8.789 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.379e-06/0.1481, allocations: 0 / 0.4959 GB, free: 8.789 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001601/0.1497, allocations: 1.162 MB / 0.4971 GB, free: 7.547 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.059e-06/0.1497, allocations: 4 kB / 0.4971 GB, free: 7.543 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005671/0.1503, allocations: 179.8 kB / 0.4973 GB, free: 7.367 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.075e-06/0.1503, allocations: 8.25 kB / 0.4973 GB, free: 7.359 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.473e-05/0.1503, allocations: 19.98 kB / 0.4973 GB, free: 7.34 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001268/0.1516, allocations: 2.961 MB / 0.5002 GB, free: 4.262 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.656e-06/0.1516, allocations: 4 kB / 0.5002 GB, free: 4.258 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006581/0.1523, allocations: 0.4944 MB / 0.5007 GB, free: 3.723 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.247e-05/0.1523, allocations: 112.6 kB / 0.5008 GB, free: 3.594 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.542e-05/0.1524, allocations: 19.92 kB / 0.5008 GB, free: 3.574 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001851/0.1526, allocations: 8 kB / 0.5008 GB, free: 3.566 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.379e-05/0.1527, allocations: 35.95 kB / 0.5008 GB, free: 3.531 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.878e-05/0.1527, allocations: 20 kB / 0.5008 GB, free: 3.512 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.522e-05/0.1528, allocations: 135.5 kB / 0.501 GB, free: 3.379 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1528, allocations: 0 / 0.501 GB, free: 3.379 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009163/0.1537, allocations: 354.8 kB / 0.5013 GB, free: 3.031 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.001652/0.1554, allocations: 1.292 MB / 0.5026 GB, free: 1.688 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001162/0.1566, allocations: 0.5366 MB / 0.5031 GB, free: 1.152 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.1566, allocations: 0 / 0.5031 GB, free: 1.152 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006011/0.1572, allocations: 256.5 kB / 0.5033 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003585/0.1576, allocations: 31.98 kB / 0.5034 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1806/0.3382, allocations: 3.945 MB / 0.5072 GB, free: 40.62 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004722/0.3387, allocations: 0.9879 MB / 0.5082 GB, free: 39.92 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005714/0.3393, allocations: 171.6 kB / 0.5084 GB, free: 39.91 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002749/0.3396, allocations: 208.7 kB / 0.5086 GB, free: 39.91 MB / 382.1 MB Notification: Performance of SimCode: time 1.663e-06/0.3396, allocations: 3.094 kB / 0.5086 GB, free: 39.91 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03445/0.374, allocations: 12.49 MB / 0.5208 GB, free: 36.38 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.76/11.13, allocations: 7.656 kB / 0.5208 GB, free: 36.37 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