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.001475/0.001475, allocations: 118.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.001761/0.001761, allocations: 198 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.345/1.345, 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.2205/0.2205, allocations: 46.11 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001434/0.001434, allocations: 75.88 kB / 480.8 MB, free: 4.555 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3351/0.3365, 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.003277/0.3398, allocations: 1.836 MB / 0.5323 GB, free: 12 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004119/0.344, allocations: 2.957 MB / 0.5352 GB, free: 9.656 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000118/0.3441, allocations: 1.375 kB / 0.5352 GB, free: 9.656 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002496/0.3444, allocations: 46.69 kB / 0.5353 GB, free: 9.621 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002879/0.3447, allocations: 81.45 kB / 0.5353 GB, free: 9.559 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001638/0.3464, allocations: 0.7369 MB / 0.5361 GB, free: 9.137 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002754/0.3467, allocations: 239.2 kB / 0.5363 GB, free: 9.004 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.612e-05/0.3467, allocations: 29.77 kB / 0.5363 GB, free: 8.992 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002152/0.347, allocations: 111 kB / 0.5364 GB, free: 8.93 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001557/0.3471, allocations: 119.3 kB / 0.5365 GB, free: 8.855 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.366e-05/0.3472, allocations: 8.781 kB / 0.5366 GB, free: 8.855 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001688/0.3488, allocations: 1.226 MB / 0.5377 GB, free: 8.086 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.838e-05/0.3489, allocations: 77.17 kB / 0.5378 GB, free: 8.035 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001088/0.3491, allocations: 113.1 kB / 0.5379 GB, free: 7.961 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001257/0.3503, allocations: 0.9302 MB / 0.5388 GB, free: 7.379 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.3503, allocations: 1.719 kB / 0.5388 GB, free: 7.379 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.746e-06/0.3503, allocations: 0 / 0.5388 GB, free: 7.379 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.879e-06/0.3504, allocations: 3.938 kB / 0.5388 GB, free: 7.375 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.0009832/0.3514, allocations: 0.6903 MB / 0.5395 GB, free: 6.75 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.316e-05/0.3514, allocations: 10.16 kB / 0.5395 GB, free: 6.75 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001149/0.3515, allocations: 77.39 kB / 0.5396 GB, free: 6.68 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.428e-05/0.3516, allocations: 28.72 kB / 0.5396 GB, free: 6.664 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002863/0.3519, allocations: 243.6 kB / 0.5399 GB, free: 6.418 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.341e-05/0.3519, allocations: 18.72 kB / 0.5399 GB, free: 6.41 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.734e-05/0.352, allocations: 24.7 kB / 0.5399 GB, free: 6.402 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007061/0.3527, allocations: 467.6 kB / 0.5403 GB, free: 6.156 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.3527, allocations: 0 / 0.5403 GB, free: 6.156 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.064e-05/0.3528, allocations: 10.69 kB / 0.5404 GB, free: 6.148 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.159e-05/0.3528, allocations: 54.75 kB / 0.5404 GB, free: 6.125 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007987/0.3536, allocations: 0.5485 MB / 0.5409 GB, free: 5.891 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001743/0.3554, allocations: 1.305 MB / 0.5422 GB, free: 4.816 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005083/0.3559, allocations: 270.9 kB / 0.5425 GB, free: 4.691 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001949/0.3561, allocations: 101.9 kB / 0.5426 GB, free: 4.641 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.988e-05/0.3562, allocations: 15.72 kB / 0.5426 GB, free: 4.629 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.939e-05/0.3562, allocations: 36.72 kB / 0.5426 GB, free: 4.586 MB / 398.1 MB Notification: Performance of pre-optimization done (n=25): time 1.473e-06/0.3562, allocations: 0 / 0.5426 GB, free: 4.586 MB / 398.1 MB Notification: Performance of matching and sorting (n=25): time 0.0007489/0.357, allocations: 338.4 kB / 0.5429 GB, free: 4.422 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.623e-05/0.357, allocations: 53.44 kB / 0.543 GB, free: 4.359 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001186/0.3571, allocations: 146.7 kB / 0.5431 GB, free: 4.227 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.475e-05/0.3572, allocations: 30.8 kB / 0.5432 GB, free: 4.191 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001026/0.3573, allocations: 192 kB / 0.5434 GB, free: 4.016 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.695e-05/0.3574, allocations: 95.33 kB / 0.5434 GB, free: 3.934 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001006/0.3575, allocations: 66.09 kB / 0.5435 GB, free: 3.891 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001155/0.3576, allocations: 323.7 kB / 0.5438 GB, free: 3.57 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001935/0.3578, allocations: 91.2 kB / 0.5439 GB, free: 3.531 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002562/0.3581, allocations: 181.8 kB / 0.5441 GB, free: 3.379 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004719/0.3585, allocations: 287.2 kB / 0.5443 GB, free: 3.184 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.237e-06/0.3586, allocations: 5 kB / 0.5444 GB, free: 3.18 MB / 398.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005754/0.3591, allocations: 337 kB / 0.5447 GB, free: 2.922 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/0.3592, allocations: 11.94 kB / 0.5447 GB, free: 2.91 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.3592, allocations: 0 / 0.5447 GB, free: 2.91 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.761e-05/0.3592, allocations: 4 kB / 0.5447 GB, free: 2.906 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000474/0.3597, allocations: 119.9 kB / 0.5448 GB, free: 2.789 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001186/0.3609, allocations: 2.364 MB / 0.5471 GB, free: 340 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001637/0.3611, allocations: 36 kB / 0.5471 GB, free: 304 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.741e-05/0.3611, allocations: 23.98 kB / 0.5472 GB, free: 280 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.0001575/0.3613, allocations: 177.7 kB / 0.5473 GB, free: 92 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.365e-05/0.3613, allocations: 11.91 kB / 0.5474 GB, free: 80 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000715/0.362, allocations: 358.2 kB / 0.5477 GB, free: 15.72 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.578e-06/0.362, allocations: 4 kB / 0.5477 GB, free: 15.72 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.362, allocations: 0 / 0.5477 GB, free: 15.72 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.3621, allocations: 7.875 kB / 0.5477 GB, free: 15.71 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003556/0.3624, allocations: 345.3 kB / 0.548 GB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.3624, allocations: 4 kB / 0.548 GB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000393/0.3628, allocations: 103.9 kB / 0.5481 GB, free: 15.22 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/0.3628, allocations: 0 / 0.5481 GB, free: 15.22 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.169e-05/0.3629, allocations: 11.98 kB / 0.5481 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001166/0.364, allocations: 2.356 MB / 0.5504 GB, free: 12.76 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.3641, allocations: 4.031 kB / 0.5505 GB, free: 12.75 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005068/0.3646, allocations: 371.5 kB / 0.5508 GB, free: 12.38 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.871e-05/0.3646, allocations: 96.95 kB / 0.5509 GB, free: 12.26 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.037e-05/0.3647, allocations: 4 kB / 0.5509 GB, free: 12.26 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001437/0.3648, allocations: 11.98 kB / 0.5509 GB, free: 12.25 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.409e-05/0.3649, allocations: 19.98 kB / 0.5509 GB, free: 12.23 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.943e-05/0.3649, allocations: 15.98 kB / 0.5509 GB, free: 12.21 MB / 414.1 MB Notification: Performance of sorting global known variables: time 5.322e-05/0.365, allocations: 101.5 kB / 0.551 GB, free: 12.11 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.365, allocations: 0 / 0.551 GB, free: 12.11 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006896/0.3657, 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.001407/0.3671, allocations: 1.171 MB / 0.5524 GB, free: 10.67 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007307/0.3678, allocations: 292.3 kB / 0.5527 GB, free: 10.38 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.919e-06/0.3678, allocations: 8 kB / 0.5527 GB, free: 10.38 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004244/0.3683, allocations: 179.8 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.000359/0.3686, allocations: 16 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.002962/0.3716, allocations: 2.581 MB / 0.5554 GB, free: 7.457 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003237/0.3719, allocations: 0.8024 MB / 0.5562 GB, free: 6.629 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003134/0.3723, allocations: 101.7 kB / 0.5563 GB, free: 6.531 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001368/0.3724, allocations: 91.41 kB / 0.5564 GB, free: 6.441 MB / 414.1 MB Notification: Performance of SimCode: time 2.6e-07/0.3724, allocations: 3.938 kB / 0.5564 GB, free: 6.438 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02868/0.4011, allocations: 8.909 MB / 0.5651 GB, free: 13.74 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.39/11.79, allocations: 9.453 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