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.001142/0.001142, allocations: 118.8 kB / 17.78 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.001315/0.001315, allocations: 201.2 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.337/1.337, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2168/0.2168, allocations: 46.1 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00196/0.00196, allocations: 79.86 kB / 480.8 MB, free: 4.535 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3361/0.3381, allocations: 62.44 MB / 0.5305 GB, free: 13.42 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW): time 0.002881/0.341, allocations: 1.831 MB / 0.5323 GB, free: 12 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003845/0.3449, allocations: 2.961 MB / 0.5352 GB, free: 9.652 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001008/0.345, allocations: 1.375 kB / 0.5352 GB, free: 9.652 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002569/0.3453, allocations: 38.75 kB / 0.5353 GB, free: 9.625 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003002/0.3456, allocations: 85.39 kB / 0.5353 GB, free: 9.559 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001684/0.3473, allocations: 0.7404 MB / 0.5361 GB, free: 9.133 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003078/0.3476, allocations: 243.6 kB / 0.5363 GB, free: 8.996 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.101e-05/0.3477, allocations: 29.89 kB / 0.5363 GB, free: 8.984 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002298/0.348, allocations: 106.9 kB / 0.5364 GB, free: 8.926 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001883/0.3482, allocations: 123 kB / 0.5365 GB, free: 8.848 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.873e-05/0.3482, allocations: 7.938 kB / 0.5366 GB, free: 8.848 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001835/0.35, allocations: 1.227 MB / 0.5377 GB, free: 8.078 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.863e-05/0.3501, allocations: 72.48 kB / 0.5378 GB, free: 8.031 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001193/0.3503, allocations: 109 kB / 0.5379 GB, free: 7.961 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001311/0.3516, allocations: 0.9386 MB / 0.5388 GB, free: 7.371 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.3516, allocations: 1.875 kB / 0.5388 GB, free: 7.371 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.3516, allocations: 0 / 0.5388 GB, free: 7.371 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.274e-06/0.3516, allocations: 0 / 0.5388 GB, free: 7.371 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.0009334/0.3526, allocations: 0.6932 MB / 0.5395 GB, free: 6.746 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.214e-05/0.3526, allocations: 9.344 kB / 0.5395 GB, free: 6.746 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.978e-05/0.3527, allocations: 73.22 kB / 0.5396 GB, free: 6.68 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.204e-05/0.3528, allocations: 29.22 kB / 0.5396 GB, free: 6.664 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002709/0.353, allocations: 246.2 kB / 0.5399 GB, free: 6.414 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.075e-05/0.3531, allocations: 20.14 kB / 0.5399 GB, free: 6.406 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.634e-05/0.3531, allocations: 24.38 kB / 0.5399 GB, free: 6.398 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006988/0.3538, allocations: 467.2 kB / 0.5403 GB, free: 6.152 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.3539, allocations: 0 / 0.5403 GB, free: 6.152 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.992e-05/0.3539, allocations: 14.58 kB / 0.5404 GB, free: 6.141 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.487e-05/0.354, allocations: 50.53 kB / 0.5404 GB, free: 6.121 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008977/0.3549, allocations: 0.549 MB / 0.5409 GB, free: 5.887 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00182/0.3567, allocations: 1.301 MB / 0.5422 GB, free: 4.816 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005345/0.3572, allocations: 279.2 kB / 0.5425 GB, free: 4.684 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002028/0.3575, allocations: 93.86 kB / 0.5426 GB, free: 4.641 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.307e-05/0.3575, allocations: 11.52 kB / 0.5426 GB, free: 4.633 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.754e-05/0.3576, allocations: 44.78 kB / 0.5426 GB, free: 4.582 MB / 398.1 MB Notification: Performance of pre-optimization done (n=25): time 1.944e-06/0.3576, allocations: 0 / 0.5426 GB, free: 4.582 MB / 398.1 MB Notification: Performance of matching and sorting (n=25): time 0.0008042/0.3584, allocations: 333.8 kB / 0.5429 GB, free: 4.422 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.495e-05/0.3584, allocations: 53.75 kB / 0.543 GB, free: 4.359 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001317/0.3586, allocations: 147.5 kB / 0.5431 GB, free: 4.227 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.399e-05/0.3586, allocations: 30.77 kB / 0.5432 GB, free: 4.191 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001161/0.3587, allocations: 192.5 kB / 0.5433 GB, free: 4.016 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.642e-05/0.3588, allocations: 98.42 kB / 0.5434 GB, free: 3.93 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000105/0.3589, allocations: 66.88 kB / 0.5435 GB, free: 3.887 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001182/0.359, allocations: 323.3 kB / 0.5438 GB, free: 3.566 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001905/0.3592, allocations: 86.83 kB / 0.5439 GB, free: 3.531 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002609/0.3595, allocations: 185.9 kB / 0.5441 GB, free: 3.375 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004744/0.36, allocations: 284.6 kB / 0.5443 GB, free: 3.184 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.36, allocations: 5.188 kB / 0.5444 GB, free: 3.18 MB / 398.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006092/0.3606, allocations: 328.8 kB / 0.5447 GB, free: 2.938 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.227e-05/0.3606, allocations: 4 kB / 0.5447 GB, free: 2.934 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.344e-05/0.3607, allocations: 12.28 kB / 0.5447 GB, free: 2.922 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.141e-05/0.3607, allocations: 8 kB / 0.5447 GB, free: 2.914 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004863/0.3612, allocations: 119.9 kB / 0.5448 GB, free: 2.797 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001416/0.3626, allocations: 2.364 MB / 0.5471 GB, free: 348 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001799/0.3628, allocations: 35.72 kB / 0.5471 GB, free: 312 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.038e-05/0.3628, allocations: 19.98 kB / 0.5472 GB, free: 292 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.000196/0.363, allocations: 173.9 kB / 0.5473 GB, free: 108 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.729e-05/0.3631, allocations: 23.88 kB / 0.5474 GB, free: 84 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007396/0.3638, allocations: 354.2 kB / 0.5477 GB, free: 15.73 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.602e-06/0.3639, allocations: 11.92 kB / 0.5477 GB, free: 15.72 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.3639, allocations: 0 / 0.5477 GB, free: 15.72 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.915e-06/0.3639, allocations: 3.938 kB / 0.5477 GB, free: 15.71 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000402/0.3643, allocations: 345.3 kB / 0.548 GB, free: 15.33 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/0.3643, allocations: 3.984 kB / 0.548 GB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003865/0.3647, allocations: 103.9 kB / 0.5481 GB, free: 15.22 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5e-06/0.3647, allocations: 4 kB / 0.5481 GB, free: 15.22 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.079e-05/0.3647, allocations: 15.98 kB / 0.5482 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001053/0.3658, allocations: 2.356 MB / 0.5505 GB, free: 12.75 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.3658, allocations: 0 / 0.5505 GB, free: 12.75 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005324/0.3663, allocations: 367.3 kB / 0.5508 GB, free: 12.38 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.998e-05/0.3664, allocations: 101.1 kB / 0.5509 GB, free: 12.26 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.983e-05/0.3664, allocations: 8 kB / 0.5509 GB, free: 12.25 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001338/0.3666, allocations: 8 kB / 0.5509 GB, free: 12.25 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.686e-05/0.3667, allocations: 23.97 kB / 0.5509 GB, free: 12.22 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.341e-05/0.3667, allocations: 12 kB / 0.551 GB, free: 12.21 MB / 414.1 MB Notification: Performance of sorting global known variables: time 6.263e-05/0.3668, allocations: 99.25 kB / 0.551 GB, free: 12.11 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3668, allocations: 0 / 0.551 GB, free: 12.11 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000782/0.3675, allocations: 254.7 kB / 0.5513 GB, free: 11.86 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.001292/0.3688, allocations: 1.167 MB / 0.5524 GB, free: 10.67 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007016/0.3696, allocations: 295.6 kB / 0.5527 GB, free: 10.38 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.3696, allocations: 0 / 0.5527 GB, free: 10.38 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004198/0.37, allocations: 184.4 kB / 0.5529 GB, free: 10.2 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003651/0.3704, allocations: 19.94 kB / 0.5529 GB, free: 10.18 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003002/0.3734, allocations: 2.584 MB / 0.5554 GB, free: 7.453 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003476/0.3737, allocations: 0.8024 MB / 0.5562 GB, free: 6.625 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002334/0.374, allocations: 97.72 kB / 0.5563 GB, free: 6.531 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001511/0.3741, allocations: 95.39 kB / 0.5564 GB, free: 6.438 MB / 414.1 MB Notification: Performance of SimCode: time 1.873e-06/0.3742, allocations: 4 kB / 0.5564 GB, free: 6.434 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02833/0.4025, allocations: 8.905 MB / 0.5651 GB, free: 13.74 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.44/11.84, allocations: 5.578 kB / 0.5651 GB, free: 13.73 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 & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-05 --interface-type ModelExchange --solver CVode --output-interval 0.0002 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.csv","/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