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.00116/0.00116, allocations: 96.14 kB / 15.87 MB, free: 16 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001203/0.001203, allocations: 206.3 kB / 16.79 MB, free: 6.84 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.235/1.235, allocations: 205.1 MB / 222.6 MB, free: 4.996 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3172/0.3172, allocations: 43.5 MB / 313.5 MB, free: 8.598 MB / 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.001265/0.001265, allocations: 67.91 kB / 382.2 MB, free: 8.91 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1137/0.115, allocations: 57.78 MB / 439.9 MB, free: 15.03 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW): time 0.003282/0.1184, allocations: 2.245 MB / 442.2 MB, free: 12.76 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004396/0.1228, allocations: 3.331 MB / 445.5 MB, free: 9.418 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.294e-05/0.1229, allocations: 0 / 445.5 MB, free: 9.418 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003265/0.1232, allocations: 91.47 kB / 445.6 MB, free: 9.328 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003391/0.1236, allocations: 135.3 kB / 445.7 MB, free: 9.195 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001378/0.1249, allocations: 0.7907 MB / 446.5 MB, free: 8.402 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005679/0.1255, allocations: 0.6528 MB / 447.2 MB, free: 7.746 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001093/0.1256, allocations: 77.73 kB / 447.3 MB, free: 7.664 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002368/0.1259, allocations: 226.6 kB / 447.5 MB, free: 7.441 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002942/0.1262, allocations: 286.5 kB / 447.8 MB, free: 7.16 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.109e-05/0.1262, allocations: 16 kB / 447.8 MB, free: 7.145 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002178/0.1284, allocations: 1.938 MB / 449.7 MB, free: 5.203 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000132/0.1286, allocations: 139.2 kB / 449.8 MB, free: 5.066 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002238/0.1288, allocations: 274 kB / 450.1 MB, free: 4.797 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001817/0.1306, allocations: 1.659 MB / 451.8 MB, free: 3.133 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/0.1306, allocations: 0 / 451.8 MB, free: 3.133 MB / 382.1 MB Notification: Performance of FrontEnd: time 7.92e-07/0.1306, allocations: 0 / 451.8 MB, free: 3.133 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.703e-06/0.1306, allocations: 0 / 451.8 MB, free: 3.133 MB / 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.001614/0.1323, allocations: 1.034 MB / 452.8 MB, free: 2.051 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.124e-05/0.1323, allocations: 12.03 kB / 452.8 MB, free: 2.039 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001563/0.1325, allocations: 144.1 kB / 453 MB, free: 1.891 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001246/0.1326, allocations: 72 kB / 453 MB, free: 1.82 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004334/0.133, allocations: 362.4 kB / 453.4 MB, free: 1.426 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.29e-05/0.1331, allocations: 57.98 kB / 453.4 MB, free: 1.367 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001073/0.1332, allocations: 72 kB / 453.5 MB, free: 1.297 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001609/0.1348, allocations: 1.218 MB / 454.7 MB, free: 76 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.646e-05/0.1349, allocations: 0 / 454.7 MB, free: 76 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.785e-05/0.1349, allocations: 39.92 kB / 454.8 MB, free: 36 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.2188/0.3538, allocations: 82.83 kB / 454.8 MB, free: 49.98 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002387/0.3562, allocations: 1.719 MB / 456.6 MB, free: 49.98 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003525/0.3597, allocations: 2.93 MB / 459.5 MB, free: 49 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007467/0.3605, allocations: 426.5 kB / 459.9 MB, free: 48.86 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002241/0.3607, allocations: 146.3 kB / 460.1 MB, free: 48.82 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.233e-05/0.3608, allocations: 15.17 kB / 460.1 MB, free: 48.82 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.887e-05/0.3608, allocations: 36.16 kB / 460.1 MB, free: 48.78 MB / 382.1 MB Notification: Performance of pre-optimization done (n=34): time 2.094e-06/0.3608, allocations: 0 / 460.1 MB, free: 48.78 MB / 382.1 MB Notification: Performance of matching and sorting (n=34): time 0.0008585/0.3616, allocations: 486.2 kB / 460.6 MB, free: 48.63 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.766e-05/0.3617, allocations: 61.91 kB / 460.6 MB, free: 48.57 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001489/0.3618, allocations: 206 kB / 460.8 MB, free: 48.42 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.417e-05/0.3619, allocations: 38.05 kB / 460.9 MB, free: 48.39 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001545/0.362, allocations: 389.2 kB / 461.3 MB, free: 48.09 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.486e-05/0.3621, allocations: 119.8 kB / 461.4 MB, free: 48 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001202/0.3622, allocations: 128.5 kB / 461.5 MB, free: 47.94 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.79e-05/0.3623, allocations: 331 kB / 461.8 MB, free: 47.62 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002329/0.3625, allocations: 144 kB / 462 MB, free: 47.59 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003005/0.3629, allocations: 347.9 kB / 462.3 MB, free: 47.32 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007153/0.3636, allocations: 0.5356 MB / 462.8 MB, free: 46.98 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/0.3636, allocations: 0 / 462.8 MB, free: 46.98 MB / 382.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0008533/0.3645, allocations: 0.5401 MB / 463.4 MB, free: 46.83 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.979e-05/0.3645, allocations: 11.22 kB / 463.4 MB, free: 46.83 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.668e-06/0.3645, allocations: 6.438 kB / 463.4 MB, free: 46.83 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.907e-05/0.3645, allocations: 9.094 kB / 463.4 MB, free: 46.83 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006111/0.3651, allocations: 210.9 kB / 463.6 MB, free: 46.81 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008998/0.366, allocations: 2.996 MB / 466.6 MB, free: 43.86 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002522/0.3663, allocations: 64.7 kB / 466.7 MB, free: 43.82 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.778e-05/0.3664, allocations: 34.56 kB / 466.7 MB, free: 43.81 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.0002495/0.3666, allocations: 276.1 kB / 467 MB, free: 43.66 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.422e-05/0.3667, allocations: 19.72 kB / 467 MB, free: 43.65 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001012/0.3677, allocations: 0.5566 MB / 467.6 MB, free: 43.45 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.933e-06/0.3677, allocations: 3.281 kB / 467.6 MB, free: 43.45 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.3677, allocations: 3.844 kB / 467.6 MB, free: 43.45 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.3677, allocations: 3.328 kB / 467.6 MB, free: 43.45 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001317/0.3691, allocations: 1.159 MB / 468.7 MB, free: 42.88 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.3691, allocations: 3.062 kB / 468.7 MB, free: 42.88 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000507/0.3696, allocations: 175 kB / 468.9 MB, free: 42.86 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.581e-06/0.3696, allocations: 3.969 kB / 468.9 MB, free: 42.86 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.681e-05/0.3696, allocations: 25.02 kB / 468.9 MB, free: 42.85 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008206/0.3705, allocations: 2.966 MB / 471.9 MB, free: 39.9 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.3705, allocations: 5.156 kB / 471.9 MB, free: 39.9 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005572/0.371, allocations: 0.4973 MB / 472.4 MB, free: 39.61 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.812e-05/0.3711, allocations: 105.7 kB / 472.5 MB, free: 39.49 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.186e-05/0.3711, allocations: 9.812 kB / 472.5 MB, free: 39.49 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001782/0.3713, allocations: 13.23 kB / 472.5 MB, free: 39.48 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.625e-05/0.3714, allocations: 37.2 kB / 472.6 MB, free: 39.48 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.089e-05/0.3715, allocations: 26.12 kB / 472.6 MB, free: 39.47 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.608e-05/0.3715, allocations: 133.1 kB / 472.7 MB, free: 39.38 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3715, allocations: 4 kB / 472.7 MB, free: 39.38 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008921/0.3724, allocations: 353.7 kB / 473.1 MB, free: 39.3 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.001348/0.3738, allocations: 1.284 MB / 474.3 MB, free: 38.45 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008665/0.3747, allocations: 473.4 kB / 474.8 MB, free: 38.36 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.3747, allocations: 0 / 474.8 MB, free: 38.36 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005066/0.3752, allocations: 258.2 kB / 475.1 MB, free: 38.31 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003669/0.3756, allocations: 34.73 kB / 475.1 MB, free: 38.29 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003789/0.3794, allocations: 4.278 MB / 479.4 MB, free: 35.38 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003637/0.3798, allocations: 0.9884 MB / 480.4 MB, free: 34.65 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004374/0.3802, allocations: 173.5 kB / 480.5 MB, free: 34.61 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001986/0.3804, allocations: 206.3 kB / 480.7 MB, free: 34.45 MB / 382.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3804, allocations: 5.688 kB / 480.7 MB, free: 34.45 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02709/0.4075, allocations: 12.08 MB / 492.8 MB, free: 33.25 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002158/0.4078, allocations: 297.5 kB / 493.1 MB, free: 32.87 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.076/2.484, allocations: 1.156 kB / 493.1 MB, free: 32.87 MB / 382.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","../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