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.001082/0.001083, allocations: 118.8 kB / 17.78 MB, free: 5.246 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001192/0.001192, allocations: 201.2 kB / 18.73 MB, free: 4.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.359/1.359, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2147/0.2147, allocations: 46.09 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001464/0.001464, allocations: 75.88 kB / 480.8 MB, free: 4.555 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3339/0.3354, allocations: 62.44 MB / 0.5305 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW): time 0.003525/0.3389, allocations: 2.211 MB / 0.5327 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004476/0.3434, allocations: 3.323 MB / 0.5359 GB, free: 9.027 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001417/0.3436, allocations: 1.375 kB / 0.536 GB, free: 9.027 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003961/0.344, allocations: 101.7 kB / 0.536 GB, free: 8.953 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004164/0.3444, allocations: 136.8 kB / 0.5362 GB, free: 8.844 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001752/0.3462, allocations: 0.8882 MB / 0.537 GB, free: 8.359 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006186/0.3468, allocations: 0.5633 MB / 0.5376 GB, free: 8.027 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001401/0.347, allocations: 88.09 kB / 0.5377 GB, free: 7.984 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003804/0.3474, allocations: 243.4 kB / 0.5379 GB, free: 7.844 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003602/0.3477, allocations: 278.2 kB / 0.5382 GB, free: 7.664 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.307e-05/0.3478, allocations: 18.06 kB / 0.5382 GB, free: 7.664 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002762/0.3506, allocations: 1.975 MB / 0.5401 GB, free: 6.359 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000223/0.3508, allocations: 142.3 kB / 0.5403 GB, free: 6.258 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002429/0.3511, allocations: 277.4 kB / 0.5405 GB, free: 6.074 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0021/0.3532, allocations: 1.697 MB / 0.5422 GB, free: 4.988 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.3532, allocations: 1.062 kB / 0.5422 GB, free: 4.988 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.3532, allocations: 0 / 0.5422 GB, free: 4.988 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.006e-05/0.3532, allocations: 0 / 0.5422 GB, free: 4.988 MB / 398.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.001723/0.3549, allocations: 1.036 MB / 0.5432 GB, free: 4.156 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.549e-05/0.355, allocations: 13.41 kB / 0.5432 GB, free: 4.152 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001571/0.3552, allocations: 148.2 kB / 0.5433 GB, free: 4.035 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001364/0.3553, allocations: 72.81 kB / 0.5434 GB, free: 3.996 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005528/0.3559, allocations: 359.5 kB / 0.5438 GB, free: 3.684 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.989e-05/0.3559, allocations: 60.23 kB / 0.5438 GB, free: 3.652 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001076/0.356, allocations: 71.84 kB / 0.5439 GB, free: 3.629 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001668/0.3577, allocations: 1.229 MB / 0.5451 GB, free: 2.75 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.001e-05/0.3577, allocations: 0 / 0.5451 GB, free: 2.75 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.571e-05/0.3578, allocations: 31.94 kB / 0.5451 GB, free: 2.719 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.75e-05/0.3579, allocations: 85.95 kB / 0.5452 GB, free: 2.637 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002352/0.3603, allocations: 1.714 MB / 0.5469 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00424/0.3645, allocations: 2.923 MB / 0.5497 GB, free: 13.84 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008244/0.3654, allocations: 428.6 kB / 0.5501 GB, free: 13.42 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002737/0.3656, allocations: 153.3 kB / 0.5503 GB, free: 13.27 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.569e-05/0.3657, allocations: 8.266 kB / 0.5503 GB, free: 13.26 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.318e-05/0.3657, allocations: 38.84 kB / 0.5503 GB, free: 13.21 MB / 414.1 MB Notification: Performance of pre-optimization done (n=34): time 1.974e-06/0.3657, allocations: 0 / 0.5503 GB, free: 13.21 MB / 414.1 MB Notification: Performance of matching and sorting (n=34): time 0.0009692/0.3667, allocations: 483.3 kB / 0.5508 GB, free: 12.73 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.45e-05/0.3668, allocations: 59.34 kB / 0.5508 GB, free: 12.66 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000178/0.3669, allocations: 206.4 kB / 0.551 GB, free: 12.45 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.185e-05/0.367, allocations: 29.7 kB / 0.5511 GB, free: 12.41 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002054/0.3672, allocations: 402.1 kB / 0.5515 GB, free: 12.01 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.07e-05/0.3673, allocations: 118.3 kB / 0.5516 GB, free: 11.89 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001303/0.3674, allocations: 114.2 kB / 0.5517 GB, free: 11.77 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001233/0.3676, allocations: 338.8 kB / 0.552 GB, free: 11.43 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002645/0.3678, allocations: 152.9 kB / 0.5521 GB, free: 11.29 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003997/0.3682, allocations: 346.4 kB / 0.5525 GB, free: 10.86 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007556/0.369, allocations: 0.5326 MB / 0.553 GB, free: 10.23 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.369, allocations: 0 / 0.553 GB, free: 10.23 MB / 414.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0008642/0.3699, allocations: 0.5397 MB / 0.5535 GB, free: 9.688 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.15e-05/0.3699, allocations: 8 kB / 0.5535 GB, free: 9.68 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.428e-05/0.37, allocations: 8 kB / 0.5535 GB, free: 9.672 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.725e-05/0.37, allocations: 8 kB / 0.5535 GB, free: 9.664 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007649/0.3708, allocations: 212.5 kB / 0.5537 GB, free: 9.457 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001471/0.3722, allocations: 2.996 MB / 0.5567 GB, free: 6.344 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002627/0.3725, allocations: 59.42 kB / 0.5567 GB, free: 6.285 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.952e-05/0.3726, allocations: 28 kB / 0.5568 GB, free: 6.258 MB / 414.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.0002991/0.3729, allocations: 277.7 kB / 0.557 GB, free: 5.977 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.413e-05/0.3729, allocations: 23.72 kB / 0.557 GB, free: 5.953 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001041/0.374, allocations: 0.5426 MB / 0.5576 GB, free: 5.414 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.771e-06/0.374, allocations: 4 kB / 0.5576 GB, free: 5.41 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.374, allocations: 0 / 0.5576 GB, free: 5.41 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.093e-06/0.374, allocations: 3.984 kB / 0.5576 GB, free: 5.406 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001676/0.3757, allocations: 1.174 MB / 0.5587 GB, free: 4.152 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.3757, allocations: 4 kB / 0.5587 GB, free: 4.148 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000632/0.3764, allocations: 180 kB / 0.5589 GB, free: 3.973 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.28e-06/0.3764, allocations: 0 / 0.5589 GB, free: 3.973 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.95e-05/0.3764, allocations: 23.98 kB / 0.5589 GB, free: 3.949 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001285/0.3777, allocations: 2.961 MB / 0.5618 GB, free: 0.8711 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/0.3777, allocations: 4.312 kB / 0.5618 GB, free: 0.8672 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000678/0.3784, allocations: 0.4979 MB / 0.5623 GB, free: 336 kB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.486e-05/0.3785, allocations: 104.8 kB / 0.5624 GB, free: 212 kB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.572e-05/0.3785, allocations: 15.92 kB / 0.5624 GB, free: 196 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000185/0.3787, allocations: 16 kB / 0.5624 GB, free: 180 kB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.676e-05/0.3788, allocations: 31.95 kB / 0.5625 GB, free: 148 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.013e-05/0.3788, allocations: 24 kB / 0.5625 GB, free: 124 kB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001038/0.379, allocations: 135.5 kB / 0.5626 GB, free: 15.99 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.379, allocations: 0 / 0.5626 GB, free: 15.99 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.00105/0.38, allocations: 350.8 kB / 0.563 GB, free: 15.64 MB / 430.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.0015/0.3815, allocations: 1.296 MB / 0.5642 GB, free: 14.3 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001005/0.3825, allocations: 485.5 kB / 0.5647 GB, free: 13.82 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/0.3826, allocations: 4 kB / 0.5647 GB, free: 13.82 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000567/0.3831, allocations: 252.5 kB / 0.5649 GB, free: 13.57 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003462/0.3835, allocations: 32.62 kB / 0.565 GB, free: 13.54 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004502/0.388, allocations: 3.968 MB / 0.5688 GB, free: 9.273 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004796/0.3885, allocations: 0.9868 MB / 0.5698 GB, free: 8.262 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0003904/0.3889, allocations: 170.6 kB / 0.57 GB, free: 8.094 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002343/0.3891, allocations: 211.3 kB / 0.5702 GB, free: 7.887 MB / 430.1 MB Notification: Performance of SimCode: time 2.9e-07/0.3891, allocations: 0 / 0.5702 GB, free: 7.887 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03328/0.4224, allocations: 12.8 MB / 0.5827 GB, free: 11.33 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.4/11.82, allocations: 5.953 kB / 0.5827 GB, free: 11.32 MB / 446.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