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.001413/0.001413, allocations: 122.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001448/0.001448, allocations: 202 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.41/1.41, allocations: 227.4 MB / 247 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.2318/0.2318, allocations: 46.12 MB / 344.4 MB, free: 11.45 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002184/0.002185, allocations: 75.88 kB / 480.9 MB, free: 4.488 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3289/0.3311, allocations: 62.45 MB / 0.5306 GB, free: 13.37 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW): time 0.00306/0.3342, allocations: 1.833 MB / 0.5324 GB, free: 11.95 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004319/0.3386, allocations: 2.952 MB / 0.5353 GB, free: 9.613 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.896e-05/0.3387, allocations: 1.375 kB / 0.5353 GB, free: 9.613 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002711/0.339, allocations: 52.06 kB / 0.5354 GB, free: 9.574 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003016/0.3393, allocations: 76.08 kB / 0.5354 GB, free: 9.516 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001676/0.341, allocations: 0.7349 MB / 0.5362 GB, free: 9.098 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003203/0.3413, allocations: 236.3 kB / 0.5364 GB, free: 8.969 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.45e-05/0.3414, allocations: 29.39 kB / 0.5364 GB, free: 8.957 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002195/0.3416, allocations: 111 kB / 0.5365 GB, free: 8.895 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001881/0.3418, allocations: 118.9 kB / 0.5366 GB, free: 8.82 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.802e-05/0.3418, allocations: 7.938 kB / 0.5366 GB, free: 8.82 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001959/0.3438, allocations: 1.235 MB / 0.5378 GB, free: 8.043 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001052/0.3439, allocations: 76.39 kB / 0.5379 GB, free: 7.992 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001295/0.3441, allocations: 109.1 kB / 0.538 GB, free: 7.922 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001567/0.3456, allocations: 0.9357 MB / 0.5389 GB, free: 7.336 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.3456, allocations: 0 / 0.5389 GB, free: 7.336 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.3457, allocations: 0 / 0.5389 GB, free: 7.336 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.424e-06/0.3457, allocations: 0 / 0.5389 GB, free: 7.336 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.001186/0.3469, allocations: 0.693 MB / 0.5396 GB, free: 6.711 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.853e-05/0.3469, allocations: 9.875 kB / 0.5396 GB, free: 6.711 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.693e-05/0.347, allocations: 77.17 kB / 0.5397 GB, free: 6.641 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.137e-05/0.3471, allocations: 29.59 kB / 0.5397 GB, free: 6.625 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002999/0.3474, allocations: 247 kB / 0.54 GB, free: 6.375 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.345e-05/0.3474, allocations: 19.19 kB / 0.54 GB, free: 6.367 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.468e-05/0.3475, allocations: 20.41 kB / 0.54 GB, free: 6.363 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008033/0.3483, allocations: 470.7 kB / 0.5404 GB, free: 6.113 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.248e-05/0.3483, allocations: 1.406 kB / 0.5405 GB, free: 6.113 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.99e-05/0.3484, allocations: 13.47 kB / 0.5405 GB, free: 6.102 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.081e-05/0.3484, allocations: 47.91 kB / 0.5405 GB, free: 6.086 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009443/0.3494, allocations: 0.548 MB / 0.541 GB, free: 5.852 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00193/0.3513, allocations: 1.309 MB / 0.5423 GB, free: 4.773 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000614/0.352, allocations: 271 kB / 0.5426 GB, free: 4.648 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002285/0.3522, allocations: 105.2 kB / 0.5427 GB, free: 4.594 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.072e-05/0.3523, allocations: 17.09 kB / 0.5427 GB, free: 4.582 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.777e-05/0.3523, allocations: 35.69 kB / 0.5427 GB, free: 4.539 MB / 398.1 MB Notification: Performance of pre-optimization done (n=25): time 1.603e-06/0.3523, allocations: 0 / 0.5427 GB, free: 4.539 MB / 398.1 MB Notification: Performance of matching and sorting (n=25): time 0.0009087/0.3532, allocations: 334.6 kB / 0.5431 GB, free: 4.379 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.454e-05/0.3533, allocations: 57.62 kB / 0.5431 GB, free: 4.312 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002859/0.3536, allocations: 141 kB / 0.5432 GB, free: 4.184 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.311e-05/0.3536, allocations: 30.7 kB / 0.5433 GB, free: 4.148 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001691/0.3538, allocations: 196.7 kB / 0.5435 GB, free: 3.969 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.509e-05/0.3539, allocations: 90.41 kB / 0.5435 GB, free: 3.891 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001192/0.354, allocations: 66.75 kB / 0.5436 GB, free: 3.848 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001905/0.3542, allocations: 327.3 kB / 0.5439 GB, free: 3.523 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002185/0.3545, allocations: 87.98 kB / 0.544 GB, free: 3.488 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002793/0.3548, allocations: 172.9 kB / 0.5442 GB, free: 3.344 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005368/0.3553, allocations: 292.1 kB / 0.5444 GB, free: 3.145 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.701e-06/0.3553, allocations: 5.375 kB / 0.5445 GB, free: 3.141 MB / 398.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006467/0.356, allocations: 331.7 kB / 0.5448 GB, free: 2.891 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2e-05/0.356, allocations: 8 kB / 0.5448 GB, free: 2.883 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.762e-06/0.356, allocations: 0 / 0.5448 GB, free: 2.883 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/0.356, allocations: 8 kB / 0.5448 GB, free: 2.875 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004765/0.3565, allocations: 115.9 kB / 0.5449 GB, free: 2.762 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001537/0.3581, allocations: 2.364 MB / 0.5472 GB, free: 312 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001782/0.3583, allocations: 44.03 kB / 0.5472 GB, free: 268 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.065e-05/0.3583, allocations: 19.98 kB / 0.5473 GB, free: 248 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.0002117/0.3585, allocations: 177.7 kB / 0.5474 GB, free: 60 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.495e-05/0.3586, allocations: 11.91 kB / 0.5474 GB, free: 48 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008043/0.3594, allocations: 362.2 kB / 0.5478 GB, free: 15.69 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.095e-06/0.3594, allocations: 4 kB / 0.5478 GB, free: 15.68 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.3594, allocations: 7.875 kB / 0.5478 GB, free: 15.68 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.853e-06/0.3594, allocations: 3.938 kB / 0.5478 GB, free: 15.67 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004378/0.3599, allocations: 353.3 kB / 0.5481 GB, free: 15.28 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.3599, allocations: 0 / 0.5481 GB, free: 15.28 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004029/0.3603, allocations: 103.9 kB / 0.5482 GB, free: 15.18 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.3603, allocations: 0 / 0.5482 GB, free: 15.18 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.371e-05/0.3603, allocations: 11.98 kB / 0.5483 GB, free: 15.16 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001469/0.3618, allocations: 2.356 MB / 0.5506 GB, free: 12.71 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.3618, allocations: 0 / 0.5506 GB, free: 12.71 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006103/0.3624, allocations: 375.5 kB / 0.5509 GB, free: 12.33 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.786e-05/0.3625, allocations: 100.9 kB / 0.551 GB, free: 12.21 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.938e-05/0.3625, allocations: 3.984 kB / 0.551 GB, free: 12.21 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001396/0.3627, allocations: 8 kB / 0.551 GB, free: 12.2 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.336e-05/0.3628, allocations: 23.97 kB / 0.551 GB, free: 12.18 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.292e-05/0.3628, allocations: 15.98 kB / 0.5511 GB, free: 12.16 MB / 414.1 MB Notification: Performance of sorting global known variables: time 8.085e-05/0.3629, allocations: 103.1 kB / 0.5512 GB, free: 12.07 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3629, allocations: 0 / 0.5512 GB, free: 12.07 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0008023/0.3637, allocations: 254.7 kB / 0.5514 GB, free: 11.82 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.001553/0.3653, allocations: 1.16 MB / 0.5525 GB, free: 10.63 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007606/0.366, allocations: 300.2 kB / 0.5528 GB, free: 10.34 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.366, allocations: 4 kB / 0.5528 GB, free: 10.34 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004533/0.3665, allocations: 179.8 kB / 0.553 GB, free: 10.16 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000338/0.3669, allocations: 15 kB / 0.553 GB, free: 10.15 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003509/0.3704, allocations: 2.581 MB / 0.5555 GB, free: 7.418 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004468/0.3708, allocations: 0.8063 MB / 0.5563 GB, free: 6.586 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002638/0.3711, allocations: 101.7 kB / 0.5564 GB, free: 6.488 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001403/0.3713, allocations: 91.41 kB / 0.5565 GB, free: 6.398 MB / 414.1 MB Notification: Performance of SimCode: time 6.11e-07/0.3713, allocations: 0 / 0.5565 GB, free: 6.398 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03416/0.4054, allocations: 8.911 MB / 0.5652 GB, free: 13.7 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.11/12.51, allocations: 2.266 kB / 0.5652 GB, free: 13.7 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