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.0008128/0.0008129, allocations: 95.84 kB / 17.35 MB, free: 5.996 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009194/0.0009194, allocations: 211.4 kB / 18.29 MB, free: 5.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.161/1.161, allocations: 227.7 MB / 246.8 MB, free: 9.445 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1728/0.1728, allocations: 46.19 MB / 345.2 MB, free: 11.13 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002095/0.0002096, allocations: 7.984 kB / 419.6 MB, free: 19.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08437/0.0846, allocations: 63.56 MB / 483.2 MB, free: 3.996 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW): time 0.001918/0.08655, allocations: 1.911 MB / 485.1 MB, free: 2.07 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00379/0.09035, allocations: 3.311 MB / 488.4 MB, free: 14.75 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.919e-05/0.09042, allocations: 4 kB / 488.4 MB, free: 14.74 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002598/0.09069, allocations: 91.77 kB / 488.5 MB, free: 14.65 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002858/0.09098, allocations: 127.4 kB / 488.6 MB, free: 14.53 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00122/0.09221, allocations: 0.7945 MB / 489.4 MB, free: 13.73 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005134/0.09273, allocations: 0.649 MB / 490.1 MB, free: 13.08 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.873e-05/0.09284, allocations: 77.73 kB / 490.2 MB, free: 13 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002527/0.0931, allocations: 230.5 kB / 490.4 MB, free: 12.78 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002817/0.09339, allocations: 294.4 kB / 490.7 MB, free: 12.49 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.139e-05/0.09343, allocations: 16 kB / 490.7 MB, free: 12.47 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002014/0.09545, allocations: 1.961 MB / 492.6 MB, free: 10.51 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001109/0.09557, allocations: 143.2 kB / 492.8 MB, free: 10.37 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002149/0.09579, allocations: 303.7 kB / 493.1 MB, free: 10.06 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001601/0.0974, allocations: 1.659 MB / 494.7 MB, free: 8.398 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.09741, allocations: 0 / 494.7 MB, free: 8.398 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.146e-06/0.09742, allocations: 4 kB / 494.7 MB, free: 8.395 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.21e-06/0.09743, allocations: 0 / 494.7 MB, free: 8.395 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.001302/0.09874, allocations: 0.9131 MB / 495.7 MB, free: 7.43 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.675e-05/0.09878, allocations: 12.88 kB / 495.7 MB, free: 7.418 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001466/0.09893, allocations: 148.1 kB / 495.8 MB, free: 7.266 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001061/0.09905, allocations: 72 kB / 495.9 MB, free: 7.195 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003934/0.09945, allocations: 346.6 kB / 496.2 MB, free: 6.816 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.677e-05/0.09949, allocations: 61.98 kB / 496.3 MB, free: 6.758 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001023/0.0996, allocations: 72 kB / 496.4 MB, free: 6.688 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001508/0.1011, allocations: 1.225 MB / 497.6 MB, free: 5.453 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.701e-05/0.1011, allocations: 0 / 497.6 MB, free: 5.453 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.942e-05/0.1012, allocations: 39.92 kB / 497.6 MB, free: 5.414 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.909e-05/0.1013, allocations: 85.94 kB / 497.7 MB, free: 5.328 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002163/0.1035, allocations: 1.726 MB / 499.4 MB, free: 3.605 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003501/0.107, allocations: 2.939 MB / 0.4906 GB, free: 0.5156 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007304/0.1077, allocations: 437.6 kB / 0.491 GB, free: 84 kB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002545/0.108, allocations: 149.3 kB / 0.4912 GB, free: 15.93 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.34e-05/0.108, allocations: 12.25 kB / 0.4912 GB, free: 15.92 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.121e-05/0.1081, allocations: 38.84 kB / 0.4912 GB, free: 15.88 MB / 382.1 MB Notification: Performance of pre-optimization done (n=34): time 1.443e-06/0.1081, allocations: 4 kB / 0.4912 GB, free: 15.87 MB / 382.1 MB Notification: Performance of matching and sorting (n=34): time 0.0008456/0.1089, allocations: 495.3 kB / 0.4917 GB, free: 15.38 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.554e-05/0.109, allocations: 59.33 kB / 0.4917 GB, free: 15.31 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001516/0.1091, allocations: 214.9 kB / 0.4919 GB, free: 15.09 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.46e-05/0.1092, allocations: 33.7 kB / 0.492 GB, free: 15.05 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001761/0.1093, allocations: 386.2 kB / 0.4923 GB, free: 14.66 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.239e-05/0.1094, allocations: 122.3 kB / 0.4925 GB, free: 14.54 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.05e-05/0.1095, allocations: 53.69 kB / 0.4925 GB, free: 14.48 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001048/0.1096, allocations: 342.8 kB / 0.4928 GB, free: 14.14 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002525/0.1099, allocations: 153 kB / 0.493 GB, free: 13.99 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003567/0.1102, allocations: 346.3 kB / 0.4933 GB, free: 13.57 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006594/0.1109, allocations: 0.5404 MB / 0.4938 GB, free: 12.94 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.538e-06/0.1109, allocations: 7.938 kB / 0.4938 GB, free: 12.93 MB / 382.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0007999/0.1117, allocations: 0.5551 MB / 0.4944 GB, free: 12.37 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/0.1117, allocations: 8 kB / 0.4944 GB, free: 12.36 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.807e-06/0.1117, allocations: 8 kB / 0.4944 GB, free: 12.35 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.1118, allocations: 8.812 kB / 0.4944 GB, free: 12.34 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006349/0.1124, allocations: 215.8 kB / 0.4946 GB, free: 12.13 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001298/0.1137, allocations: 2.996 MB / 0.4975 GB, free: 9.02 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002528/0.114, allocations: 67.7 kB / 0.4976 GB, free: 8.953 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.764e-05/0.114, allocations: 32 kB / 0.4976 GB, free: 8.922 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.0002467/0.1143, allocations: 273.4 kB / 0.4979 GB, free: 8.645 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.754e-05/0.1143, allocations: 19.8 kB / 0.4979 GB, free: 8.625 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001081/0.1154, allocations: 0.5697 MB / 0.4985 GB, free: 8.055 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.912e-06/0.1154, allocations: 4 kB / 0.4985 GB, free: 8.051 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.1154, allocations: 3.938 kB / 0.4985 GB, free: 8.047 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.177e-06/0.1154, allocations: 0 / 0.4985 GB, free: 8.047 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00143/0.1169, allocations: 1.164 MB / 0.4996 GB, free: 6.801 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/0.1169, allocations: 4 kB / 0.4996 GB, free: 6.797 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005312/0.1174, allocations: 179.8 kB / 0.4998 GB, free: 6.621 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.49e-06/0.1174, allocations: 4 kB / 0.4998 GB, free: 6.617 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.589e-05/0.1175, allocations: 19.98 kB / 0.4998 GB, free: 6.598 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001205/0.1187, allocations: 2.965 MB / 0.5027 GB, free: 3.516 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.1187, allocations: 4.031 kB / 0.5027 GB, free: 3.512 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006115/0.1193, allocations: 0.5022 MB / 0.5032 GB, free: 2.969 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.451e-05/0.1194, allocations: 104.8 kB / 0.5033 GB, free: 2.848 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.744e-05/0.1194, allocations: 19.94 kB / 0.5033 GB, free: 2.828 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001759/0.1196, allocations: 15.98 kB / 0.5033 GB, free: 2.812 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.779e-05/0.1197, allocations: 35.91 kB / 0.5034 GB, free: 2.777 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.634e-05/0.1197, allocations: 19.98 kB / 0.5034 GB, free: 2.758 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.794e-05/0.1198, allocations: 140.5 kB / 0.5035 GB, free: 2.621 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1198, allocations: 0 / 0.5035 GB, free: 2.621 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000689/0.1205, allocations: 358.7 kB / 0.5039 GB, free: 2.27 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.001345/0.1219, allocations: 1.288 MB / 0.5051 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009108/0.1228, allocations: 485.6 kB / 0.5056 GB, free: 468 kB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1228, allocations: 0 / 0.5056 GB, free: 468 kB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005295/0.1233, allocations: 267.7 kB / 0.5058 GB, free: 200 kB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003299/0.1237, allocations: 31.98 kB / 0.5059 GB, free: 168 kB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1538/0.2774, allocations: 4.324 MB / 0.5101 GB, free: 38.8 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000366/0.2778, allocations: 0.9957 MB / 0.5111 GB, free: 38.1 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004448/0.2783, allocations: 165.3 kB / 0.5112 GB, free: 38.1 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002194/0.2785, allocations: 205 kB / 0.5114 GB, free: 38.09 MB / 382.1 MB Notification: Performance of SimCode: time 3.71e-07/0.2785, allocations: 7.688 kB / 0.5114 GB, free: 38.09 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02194/0.3005, allocations: 12.05 MB / 0.5232 GB, free: 34.79 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001606/0.3006, allocations: 296.7 kB / 0.5235 GB, free: 34.4 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.839/2.14, allocations: 0 / 0.5235 GB, free: 34.4 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