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.001542/0.001543, allocations: 121.8 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002229/0.002229, allocations: 203.8 kB / 18.74 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.324/1.324, allocations: 227.4 MB / 246.9 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2001/0.2001, allocations: 46.1 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001506/0.001506, allocations: 76.06 kB / 480.8 MB, free: 4.543 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3383/0.3398, allocations: 62.43 MB / 0.5305 GB, free: 13.42 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW): time 0.003089/0.3429, allocations: 2.212 MB / 0.5327 GB, free: 11.69 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004456/0.3474, allocations: 3.334 MB / 0.536 GB, free: 9.027 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001776/0.3476, allocations: 2.281 kB / 0.536 GB, free: 9.027 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003901/0.348, allocations: 101.4 kB / 0.5361 GB, free: 8.953 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003971/0.3484, allocations: 132.1 kB / 0.5362 GB, free: 8.848 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001812/0.3503, allocations: 0.8921 MB / 0.537 GB, free: 8.363 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006016/0.3509, allocations: 0.5636 MB / 0.5376 GB, free: 8.031 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001146/0.351, allocations: 80.27 kB / 0.5377 GB, free: 7.996 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003478/0.3514, allocations: 246.7 kB / 0.5379 GB, free: 7.852 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003281/0.3517, allocations: 282.6 kB / 0.5382 GB, free: 7.668 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.212e-05/0.3517, allocations: 25.92 kB / 0.5382 GB, free: 7.66 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002591/0.3543, allocations: 1.976 MB / 0.5401 GB, free: 6.355 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001516/0.3545, allocations: 137.5 kB / 0.5403 GB, free: 6.258 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003028/0.3548, allocations: 277.3 kB / 0.5405 GB, free: 6.074 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002091/0.3569, allocations: 1.702 MB / 0.5422 GB, free: 4.984 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.3569, allocations: 0 / 0.5422 GB, free: 4.984 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.963e-06/0.3569, allocations: 0 / 0.5422 GB, free: 4.984 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.003e-05/0.357, allocations: 1.094 kB / 0.5422 GB, free: 4.984 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.001755/0.3587, allocations: 1.032 MB / 0.5432 GB, free: 4.156 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.855e-05/0.3588, allocations: 10.28 kB / 0.5432 GB, free: 4.156 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001597/0.3589, allocations: 144.2 kB / 0.5433 GB, free: 4.043 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001446/0.3591, allocations: 77.06 kB / 0.5434 GB, free: 4 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004759/0.3596, allocations: 358.7 kB / 0.5438 GB, free: 3.688 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.753e-05/0.3596, allocations: 65.17 kB / 0.5438 GB, free: 3.652 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001032/0.3597, allocations: 68 kB / 0.5439 GB, free: 3.633 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001638/0.3614, allocations: 1.229 MB / 0.5451 GB, free: 2.742 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.787e-05/0.3614, allocations: 3.938 kB / 0.5451 GB, free: 2.738 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.024e-05/0.3615, allocations: 24 kB / 0.5451 GB, free: 2.715 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.271e-05/0.3616, allocations: 85.94 kB / 0.5452 GB, free: 2.633 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0023/0.3639, allocations: 1.718 MB / 0.5469 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004093/0.368, allocations: 2.923 MB / 0.5497 GB, free: 13.84 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008115/0.3688, allocations: 428.6 kB / 0.5501 GB, free: 13.41 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002487/0.3691, allocations: 149.3 kB / 0.5503 GB, free: 13.26 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.222e-05/0.3691, allocations: 8.266 kB / 0.5503 GB, free: 13.25 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.339e-05/0.3691, allocations: 34.84 kB / 0.5503 GB, free: 13.21 MB / 414.1 MB Notification: Performance of pre-optimization done (n=34): time 1.683e-06/0.3691, allocations: 0 / 0.5503 GB, free: 13.21 MB / 414.1 MB Notification: Performance of matching and sorting (n=34): time 0.0008982/0.3701, allocations: 487.3 kB / 0.5508 GB, free: 12.73 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.071e-05/0.3701, allocations: 59.34 kB / 0.5508 GB, free: 12.66 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001783/0.3703, allocations: 206.4 kB / 0.551 GB, free: 12.44 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.748e-05/0.3703, allocations: 29.7 kB / 0.5511 GB, free: 12.41 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002324/0.3706, allocations: 398.1 kB / 0.5515 GB, free: 12.01 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001061/0.3707, allocations: 114.3 kB / 0.5516 GB, free: 11.89 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001407/0.3708, allocations: 126.1 kB / 0.5517 GB, free: 11.77 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001404/0.371, allocations: 338.8 kB / 0.552 GB, free: 11.43 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002708/0.3712, allocations: 152.9 kB / 0.5521 GB, free: 11.28 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003984/0.3717, allocations: 334.4 kB / 0.5525 GB, free: 10.86 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007209/0.3724, allocations: 0.5326 MB / 0.553 GB, free: 10.24 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/0.3724, allocations: 0 / 0.553 GB, free: 10.24 MB / 414.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0008969/0.3733, allocations: 0.544 MB / 0.5535 GB, free: 9.688 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.007e-05/0.3733, allocations: 9.562 kB / 0.5535 GB, free: 9.68 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.372e-05/0.3734, allocations: 8 kB / 0.5535 GB, free: 9.672 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.277e-05/0.3734, allocations: 15.88 kB / 0.5536 GB, free: 9.656 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006794/0.3741, allocations: 211.7 kB / 0.5538 GB, free: 9.449 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001602/0.3757, allocations: 2.993 MB / 0.5567 GB, free: 6.34 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002741/0.376, allocations: 55.42 kB / 0.5567 GB, free: 6.285 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.14e-05/0.376, allocations: 36 kB / 0.5568 GB, free: 6.25 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.0003352/0.3764, allocations: 276.5 kB / 0.557 GB, free: 5.973 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.565e-05/0.3764, allocations: 19.91 kB / 0.557 GB, free: 5.953 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001031/0.3775, allocations: 0.5504 MB / 0.5576 GB, free: 5.406 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.875e-06/0.3775, allocations: 4 kB / 0.5576 GB, free: 5.402 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.062e-06/0.3775, allocations: 0 / 0.5576 GB, free: 5.402 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.051e-06/0.3775, allocations: 3.984 kB / 0.5576 GB, free: 5.398 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001649/0.3792, allocations: 1.17 MB / 0.5587 GB, free: 4.148 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.075e-06/0.3792, allocations: 8 kB / 0.5587 GB, free: 4.141 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006483/0.3798, allocations: 175.8 kB / 0.5589 GB, free: 3.969 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.098e-06/0.3799, allocations: 4 kB / 0.5589 GB, free: 3.965 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.732e-05/0.3799, allocations: 20.25 kB / 0.5589 GB, free: 3.945 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001578/0.3815, allocations: 2.965 MB / 0.5618 GB, free: 0.8633 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.42e-06/0.3815, allocations: 4 kB / 0.5618 GB, free: 0.8594 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007548/0.3823, allocations: 0.4981 MB / 0.5623 GB, free: 328 kB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.434e-05/0.3824, allocations: 104.8 kB / 0.5624 GB, free: 204 kB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.985e-05/0.3824, allocations: 11.94 kB / 0.5624 GB, free: 192 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002043/0.3826, allocations: 11.98 kB / 0.5624 GB, free: 180 kB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.718e-05/0.3827, allocations: 39.95 kB / 0.5625 GB, free: 140 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.08e-05/0.3828, allocations: 20 kB / 0.5625 GB, free: 120 kB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001235/0.3829, allocations: 131.5 kB / 0.5626 GB, free: 15.99 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3829, allocations: 0 / 0.5626 GB, free: 15.99 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001205/0.3841, allocations: 358.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.002018/0.3862, allocations: 1.296 MB / 0.5642 GB, free: 14.29 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001106/0.3873, allocations: 477.6 kB / 0.5647 GB, free: 13.82 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.3873, allocations: 4.062 kB / 0.5647 GB, free: 13.82 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005871/0.3879, allocations: 260.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.000391/0.3883, allocations: 27.94 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.005242/0.3935, allocations: 3.966 MB / 0.5688 GB, free: 9.273 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005974/0.3942, allocations: 0.9907 MB / 0.5698 GB, free: 8.258 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0004057/0.3946, allocations: 166.5 kB / 0.57 GB, free: 8.094 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002644/0.3948, allocations: 207.4 kB / 0.5702 GB, free: 7.891 MB / 430.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3948, allocations: 4 kB / 0.5702 GB, free: 7.887 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03469/0.4295, allocations: 12.81 MB / 0.5827 GB, free: 11.32 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.31/11.74, allocations: 10.02 kB / 0.5827 GB, free: 11.31 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