Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_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.StraightPipe.dp_overall_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_overall_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_overall_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.001292/0.001292, allocations: 121.7 kB / 17.79 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00145/0.00145, allocations: 199.8 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.394/1.394, allocations: 227.4 MB / 246.9 MB, free: 10.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2139/0.2139, allocations: 46.1 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001588/0.001588, allocations: 83.86 kB / 480.8 MB, free: 4.559 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3388/0.3404, allocations: 62.44 MB / 0.5305 GB, free: 13.43 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW): time 0.003423/0.3439, allocations: 1.83 MB / 0.5323 GB, free: 12.01 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004581/0.3485, allocations: 2.946 MB / 0.5352 GB, free: 9.68 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001648/0.3487, allocations: 1.062 kB / 0.5352 GB, free: 9.68 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002936/0.349, allocations: 43.31 kB / 0.5352 GB, free: 9.648 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003438/0.3494, allocations: 87.56 kB / 0.5353 GB, free: 9.578 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001968/0.3513, allocations: 0.7291 MB / 0.536 GB, free: 9.164 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003743/0.3517, allocations: 243.8 kB / 0.5363 GB, free: 9.027 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.28e-05/0.3518, allocations: 33.36 kB / 0.5363 GB, free: 9.012 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003222/0.3522, allocations: 106 kB / 0.5364 GB, free: 8.953 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002411/0.3524, allocations: 120 kB / 0.5365 GB, free: 8.879 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.918e-05/0.3525, allocations: 7.594 kB / 0.5365 GB, free: 8.879 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001984/0.3544, allocations: 1.235 MB / 0.5377 GB, free: 8.102 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000108/0.3546, allocations: 68.88 kB / 0.5378 GB, free: 8.059 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001504/0.3547, allocations: 117.4 kB / 0.5379 GB, free: 7.98 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001608/0.3563, allocations: 0.9259 MB / 0.5388 GB, free: 7.402 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.3564, allocations: 0 / 0.5388 GB, free: 7.402 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.3564, allocations: 0 / 0.5388 GB, free: 7.402 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.153e-05/0.3564, allocations: 0 / 0.5388 GB, free: 7.402 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001233/0.3576, allocations: 0.6802 MB / 0.5395 GB, free: 6.793 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.086e-05/0.3577, allocations: 8.875 kB / 0.5395 GB, free: 6.793 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001003/0.3578, allocations: 81.06 kB / 0.5396 GB, free: 6.719 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.71e-05/0.3579, allocations: 30.47 kB / 0.5396 GB, free: 6.703 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002869/0.3582, allocations: 242 kB / 0.5398 GB, free: 6.457 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.383e-05/0.3582, allocations: 19.09 kB / 0.5398 GB, free: 6.449 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.609e-05/0.3582, allocations: 29.78 kB / 0.5399 GB, free: 6.438 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007526/0.359, allocations: 470 kB / 0.5403 GB, free: 6.188 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.359, allocations: 0 / 0.5403 GB, free: 6.188 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.953e-05/0.3591, allocations: 14.94 kB / 0.5403 GB, free: 6.176 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.606e-05/0.3591, allocations: 46.81 kB / 0.5404 GB, free: 6.16 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008918/0.36, allocations: 0.5446 MB / 0.5409 GB, free: 5.93 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00203/0.3621, allocations: 1.301 MB / 0.5422 GB, free: 4.859 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000531/0.3626, allocations: 275.2 kB / 0.5424 GB, free: 4.73 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001974/0.3628, allocations: 97.52 kB / 0.5425 GB, free: 4.684 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.277e-05/0.3629, allocations: 15.72 kB / 0.5426 GB, free: 4.672 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.76e-05/0.3629, allocations: 40.89 kB / 0.5426 GB, free: 4.625 MB / 398.1 MB Notification: Performance of pre-optimization done (n=25): time 1.844e-06/0.3629, allocations: 3.938 kB / 0.5426 GB, free: 4.621 MB / 398.1 MB Notification: Performance of matching and sorting (n=25): time 0.0007426/0.3637, allocations: 326.2 kB / 0.5429 GB, free: 4.469 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.482e-05/0.3637, allocations: 57.34 kB / 0.543 GB, free: 4.402 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001313/0.3639, allocations: 146 kB / 0.5431 GB, free: 4.27 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.394e-05/0.3639, allocations: 31.14 kB / 0.5431 GB, free: 4.234 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001084/0.364, allocations: 191.5 kB / 0.5433 GB, free: 4.059 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.582e-05/0.3641, allocations: 89.14 kB / 0.5434 GB, free: 3.98 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.509e-05/0.3642, allocations: 66.89 kB / 0.5435 GB, free: 3.938 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000113/0.3643, allocations: 331 kB / 0.5438 GB, free: 3.609 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000199/0.3645, allocations: 87.27 kB / 0.5439 GB, free: 3.574 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002798/0.3648, allocations: 174.5 kB / 0.544 GB, free: 3.43 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000464/0.3653, allocations: 291.4 kB / 0.5443 GB, free: 3.23 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.3653, allocations: 5.312 kB / 0.5443 GB, free: 3.227 MB / 398.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005789/0.3659, allocations: 328.2 kB / 0.5446 GB, free: 2.98 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/0.3659, allocations: 8 kB / 0.5446 GB, free: 2.973 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.3659, allocations: 0 / 0.5446 GB, free: 2.973 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.744e-05/0.3659, allocations: 4 kB / 0.5446 GB, free: 2.969 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004689/0.3664, allocations: 119.9 kB / 0.5447 GB, free: 2.852 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001101/0.3675, allocations: 2.36 MB / 0.5471 GB, free: 408 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000191/0.3677, allocations: 47.95 kB / 0.5471 GB, free: 360 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.719e-05/0.3678, allocations: 16 kB / 0.5471 GB, free: 344 kB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 1 (roughness) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * 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): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001756/0.3679, allocations: 177.7 kB / 0.5473 GB, free: 156 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.833e-05/0.368, allocations: 7.906 kB / 0.5473 GB, free: 148 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007493/0.3688, allocations: 370.2 kB / 0.5476 GB, free: 15.77 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/0.3688, allocations: 7.938 kB / 0.5477 GB, free: 15.77 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.083e-06/0.3688, allocations: 0 / 0.5477 GB, free: 15.77 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.105e-05/0.3688, allocations: 11.86 kB / 0.5477 GB, free: 15.75 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003956/0.3692, allocations: 341.3 kB / 0.548 GB, free: 15.38 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.3692, allocations: 0 / 0.548 GB, free: 15.38 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003952/0.3696, allocations: 103.9 kB / 0.5481 GB, free: 15.27 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.3696, allocations: 0 / 0.5481 GB, free: 15.27 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.146e-05/0.3697, allocations: 8 kB / 0.5481 GB, free: 15.27 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001114/0.3708, allocations: 2.363 MB / 0.5504 GB, free: 12.81 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.3708, allocations: 4.031 kB / 0.5504 GB, free: 12.8 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005572/0.3714, allocations: 371.4 kB / 0.5508 GB, free: 12.43 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.363e-05/0.3714, allocations: 96.86 kB / 0.5509 GB, free: 12.31 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.114e-05/0.3715, allocations: 0 / 0.5509 GB, free: 12.31 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001437/0.3716, allocations: 15.92 kB / 0.5509 GB, free: 12.3 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.553e-05/0.3717, allocations: 23.97 kB / 0.5509 GB, free: 12.27 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.105e-05/0.3717, allocations: 12 kB / 0.5509 GB, free: 12.26 MB / 414.1 MB Notification: Performance of sorting global known variables: time 6.492e-05/0.3718, allocations: 104.5 kB / 0.551 GB, free: 12.16 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3718, allocations: 0 / 0.551 GB, free: 12.16 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0008438/0.3726, allocations: 247.5 kB / 0.5512 GB, free: 11.92 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (29): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * 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): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001599/0.3743, allocations: 1.154 MB / 0.5524 GB, free: 10.74 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007349/0.375, allocations: 296.3 kB / 0.5526 GB, free: 10.45 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.375, allocations: 8 kB / 0.5527 GB, free: 10.44 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004138/0.3754, allocations: 175.8 kB / 0.5528 GB, free: 10.27 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003907/0.3758, allocations: 16 kB / 0.5528 GB, free: 10.25 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003335/0.3792, allocations: 2.575 MB / 0.5554 GB, free: 7.535 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003603/0.3796, allocations: 0.8024 MB / 0.5561 GB, free: 6.707 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002491/0.3798, allocations: 97.73 kB / 0.5562 GB, free: 6.613 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001431/0.38, allocations: 95.39 kB / 0.5563 GB, free: 6.52 MB / 414.1 MB Notification: Performance of SimCode: time 3.21e-07/0.38, allocations: 0 / 0.5563 GB, free: 6.52 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03055/0.4105, allocations: 8.983 MB / 0.5651 GB, free: 13.75 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.32/11.73, allocations: 9.516 kB / 0.5651 GB, free: 13.74 MB / 430.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_overall_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_overall_DPMFLOW.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/StraightPipe/dp_overall_DPMFLOW/dp_overall_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches